![]() It will also depend on whether this is a desktop or touchscreen application. You may want to use the Qt Quick Controls to develop your UX if you are using QML. Displaying the information is a different issue. There are some third party libraries you could use to parse HTML that might help if the web pages are very complex. ![]() You could use Qt's XML support to parse the HTML, but only if you are sure that that the web pages are always valid XML/HTML, which might not be the case. I don't think you would want to use QtWebKit or QtWebEngine. You might want to look at the Qt "Network Download Example". Then parse the received HTML using string and/or regular expression classes to get the information you need. I would look at using the Qt Network module, to pull the relevant web pages from the server. What is the easiest way to do this? Are there Qt Quick controls that can assist? I would like to develop a simple app to open up a URL to a website and then get information from the website that will populate some fields in my app. We haven't had a lot of experience with it yet as Qt Creator 4.0 has only been out for a short time, but some of our developers are now starting to use it rather than hand writing all QML code as they did in the past. Should I use the QML Designer in Qt Creator? I heard it was not ready for production use.Įarly versions of the QML Designer were pretty rough, but as of Qt Creator 4.0 it seems to be a lot more powerful and stable. Is the database on the same machine or remote? Hard to say what the issue could be without seeing the code and getting access to their database. I would start with one of the Qt database demos. I can connect directly using pgAdmin3, Valentina Studio, MS-Visual Studio, SQL Studio for PSQL, LibreOffice. I looked at forums, followed their recommendations and still get "Not Loaded".There's a Russian and a Spanish step-by-step guide, is there something similar in English? I'm using Windows 7 圆4 and MingW. I am having difficulty connecting to PostgreSQL from Qt. For a Surface Pro, I would imagine most people would develop natively on it (probably with a keyboard and mouse) so it would work like any desktop and Qt Creator should work mostly out of the box. We'll see if we can write a blog post that steps through how to configure Qt Creator for the Raspberry Pi, as that is a common and inexpensive platform. ![]() That is a good suggestion but it could easily be the topic of an entire webinar in itself. ![]() To demonstrate the concept you could use any device, but I have a particular interest in a Raspberry Pi running Linux, and a Surface Pro running Windows 10. Would it be possible to go into more detail with kit configuration for cross-platform development and remote deployment? Preferably with device configuration and deployment demonstration. Please refer to slide 3 of the presentation deck for some sample code that you can try. You need to set the width of the Text element, either directly using the width: property or by using anchors. In QML, I have a Text item with wrapMode: Text.Wrap but the text isn't wrapping. ![]()
0 Comments
Leave a Reply. |