make a separate QML module called "Main_Module.qml" insidethe subdirectory. You don't have to move your QML files. You only haveto add another CMakeLists.txt file with another qt_add_qml_module nextto them. Then, at least their implicit import will be the same as themodule. ...
qt_add_qml_module, what is recommended in this case ? It doesn't really matter. My recommendation is to list all the C++files that produce types exposed to QML in the QML module and allother C++ files in qt_add_executable. thx ...makes sense ekke best regards, Ulf ___ Interest mail...