![]() |
Re: Help me to code for Sailfish OS
Quote:
Thanks very much! Regards, |
Re: Help me to code for Sailfish OS
I hardly dare to ask... Today I decided to try and create an app. But first: install the SDK on Windows 10. It refuses to even start. The installer says:
Git not installed: Please ensure Git is installed and in PATH... GitHub Desktop was already installed, maybe as an app (as I cannot find it under C:\Programs). So I downloaded and installed Git from https://git-scm.com/download/win and this did not help at all. Is there a secret Git to be downloaded? Thanks! Rob |
Re: Help me to code for Sailfish OS
looks like a thread for TJC
|
How to create "advanced" GUI?
How do you create "advanced" GUI for SFOS apps?
Simple (text centered) designs can be created via IDE in text mode, but how do you create apps which are more "graphical" oriented? As design mode isn't available in Sailfish IDE, is there another way to create QML-page designs in a more graphic way? |
Re: Help me to code for Sailfish OS
if you not aware of qml you can practice with desktop qt creator to learn qml basics
|
Re: Help me to code for Sailfish OS
Quote:
The latter I'm looking for... :) |
Re: Help me to code for Sailfish OS
Quote:
|
Re: Help me to code for Sailfish OS
All right coderus, the SDK is up and running. I started with a new QtQuick/Sailfish project. It contains an empty Cover Page and two empty Pages.
I find working with a new environment not easy: where to start? What examples to use? More or less similar would be Daily Comics, but they use python code. I've done some python, but incorporating it into QtQuick seems another hurdle to me. Now, what I want to do: 1. download the webpage of https://nos.nl/ as a text file 2. zoom in on the <section class="news-in-pictures"> 3. take the details from all the (10) <figure>: url, caption, text 4. download the images (each 100 kB, write the files or keep in memory?) 5. display them, optionally with caption and text I found filedownloader https://wiki.qt.io/Download_Data_from_URL#Usage but the first instruction Code:
private slots: |
Re: Help me to code for Sailfish OS
You can always start with component gallery example project, not with dummy one.
|
Re: Help me to code for Sailfish OS
Quote:
The QtQuick examples I found on web pages are aiming to show the url directly in a browser. Do you know a way to download that url as a text? Maybe QWebDownloadItem? Maybe QNetworkAccessManager with a get method? It's so hard finding an example... |
All times are GMT. The time now is 15:00. |
vBulletin® Version 3.8.8