QmlElement is not recognized in QDS
Unsolved
Qt Design Studio
-
I declared a QML element using @QmlElement, but it is not recognized by Qt Design Studio, even though the program runs fine and the functionality seems to be working correctly, but it cannot be recognized by QDS.
What else can I do? Or can the official provide a complete small example of how pyhton and QDS work together? Looking forward to reply
-
Nobody here even reply man. As far as I know, you can read more about how QDS works with CMake, Qmake, python and C++. There is a way to know what project structure does QDS expects, I think. Make a project in QDS, click on
Files -> Export Project -> Enable Python Generation
orEnable CMake Generation
. You can learn a bit faster that way.