CMAKE QML files addition Questions
-
Hello I need some claification arround adding QML files to my executable project in CMAKE:
Q . What is the difference (Pos and Cons ) between :
qt_add_resources(RESOURCES example.qrc) add_executable(myapp ${SRC_LIST} ${RESOURCES})
and
qt_add_qml_module(myapp URI MyCo.Frames RESOURCE_PREFIX /my.company.com/imports QML_FILES path/to/somewhere/MyFrame.qml AnotherFrame.qml )
thank you.