This project is not created in the usual "Qt-executable" format. Rather, it is a plug-in project. Thus, you cannot manage it directly, like other projects.
[If you open the project files, you will not find the main ()! Function, which should be the entry point, usually for a C ++ application. All you have are C ++ class pairs. Take it as a hint]
In this example, they gave full information here . And I quote:
We need to compile the dialog box of the C ++ file dialog before the text editor can run. To compile, enter the gsQml directory, then run qmake and compile using make or nmake, depending on your platform. To run, run qmlviewer and open the texteditor.qml file.
Else:
- You create your own project.
- Add these class files and the corresponding qml files to this project.
- Add the main one and create the corresponding objects.
- Create an application viewer and specify the path "texteditor.qml" as the source.
source share