View Single Post
Posts: 301 | Thanked: 531 times | Joined on Aug 2010 @ The Netherlands
#48
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:
 void loadImage();
already gives an error in the IDE. So... maybe not the best start. Any ideas?
__________________
Palm Treo -> N900 -> N9 -> Jolla -> SailfishX -> XA2
Developer mode novice, and enjoying it
 

The Following 2 Users Say Thank You to rob_kouw For This Useful Post: