Creating a Qt Quick application
We already covered how to create a Qt (C++) application. How about giving the newly introduced Qt Quick application development a try? Qt Quick was introduced in Qt 4.8 and it is now becoming mature in Qt 5. Because the QML file is usually platform-independent, it enables you to develop an application for multiple targets, including mobile operating systems with the same code.
In this chapter, I'll show you how to create a simple Qt Quick application based on Qt Quick Controls 1.2, as follows:
- Create a new project named
HelloQML
. - Select Qt Quick Application instead of Qt Widgets Application, which we chose previously.
- Select Qt Quick Controls 1.2 when the wizard navigates you to Select Qt Quick Components Set.
Qt Quick ...
Get Qt 5 Blueprints now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.