qt_add_qml_module causes recompile without any changes
Unsolved
QML and Qt Quick
-
Using
qt_add_qml_module
causes a recompile even if no changes have been made if it contains C++ files.
You can try it here:cmake -S /opt/Qt/Examples/Qt-6.5.1/bluetooth/heartrate-game -B build cmake --build build cmake --build build
Remove
qt_add_qml_module
and it doesn't run (obviously), but it doesn't recompile every QML file even when no changes have been made.
Does anyone know a workaround? This is making it hard to develop large applications.