kconfig_add_kcfg_files + qt_add_qml_module
In utilities/telly-skout!86 (merged), I'm implementing declarative type registration. To achieve that, I use qt_add_qml_module
.
kconfig_add_kcfg_files(telly-skout TellySkoutSettings.kcfgc GENERATE_MOC)
creates TellySkoutSettings.h
for the static telly-skout
backing library of telly-skoutplugin
.
However, there is a problem with dependencies somewhere: "kconfigskeleton.h: No such file or directory".
Workaround:
target_link_libraries(telly-skoutplugin PUBLIC telly-skout)
While the workaround functions, I still feel that it should not be required. I'm not sure where the problem is exactly (might be a Qt issue): I can see in build.ninja
that telly-skoutplugin
links the target_link_libraries
of telly-skout
already so what's the difference to the workaround?
Edited by Plata Hill