[Interest] CMake - List Sources: qt_add_executable vs qt_add_qml_module

ekke ekke at ekkes-corner.org
Tue Jan 30 14:36:57 CET 2024


Am 30.01.24 um 14:18 schrieb Ulf Hermann via Interest:
>> I can list all my other cpp SOURCES in qt_add_executable or in 
>> 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 all 
> other C++ files in qt_add_executable.

thx

...makes sense

ekke

>
> best regards,
> Ulf
> _______________________________________________
> Interest mailing list
> Interest at qt-project.org
> https://lists.qt-project.org/listinfo/interest



More information about the Interest mailing list