Export project to CMake Files fails
-
Hello,
I am pretty new to the Qt Framework, and I am trying to learn things.I created a project using QT Design Studio, and I am quite happy about the overall result.
I'd like to start moving towards the implementation of business logic, hence I wanted to export the the project using the "File->Export->Generate CMake Build Files..." menu entry.But it fails with the following message:
I am using QT Design Studio 4.4.40 and I am trying to exprto a project created for Qt 5.5 using a community license.
What am I doing wrong?
-
Well... it ended up that apparently I was not doing anything wrong...
unfortuntely what I wanted to achieve cant be achieved when using Qt 5.x, but only for Qt 6.x -
-
The cmake export only works for Qt 6 based projects, since Qt 5 does not support the CMake API used.
For Qt 5 you can export a .qrc file and follow those instructions (Converting into qmake Projects):
https://doc.qt.io/qtdesignstudio/quick-converting-ui-projects.html