April 2018
Beginner
714 pages
18h 21m
English
Locate the qml.qrc file in Qt Creator's project tree and invoke the Add New... option in its context menu. From Qt section, select the QtQuick UI File template. Input Calculator in the Component name field. The Component form name field will be automatically set to CalculatorForm. Finish the wizard.
Two new files will appear in our project. The CalculatorForm.ui.qml file is the form file that can be edited in the form editor. The Calculator.qml file is a regular QML file that can be edited manually to implement the behavior of the form. Each of these files introduces a new QML type. The CalculatorForm QML type is immediately used in the generated Calculator.qml file:
import QtQuick 2.4CalculatorForm ...
Read now
Unlock full access