Details
-
Task
-
Resolution: Fixed
-
P4: Low
-
None
-
cabd37e7b (dev)
Description
Right now the code needs to be written like this:
qt_ifcodegen_extend_target(libIc_ch3 IDL_FILES ../instrument-cluster.qface PREFIX CLUSTER TEMPLATE frontend ) qt_add_qml_module(libIc_ch3 OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/../imports/${CLUSTER_URI_PATH}" URI ${CLUSTER_URI} VERSION ${CLUSTER_VERSION} RESOURCE_PREFIX "/" IMPORTS QtInterfaceFramework/auto )
Instead a convenient cmake function could be added which does most of the things automatically:
qt_ifcodegen_extend_qml_module(libIc_ch3
IDL_FILES ../instrument-cluster.qface
PREFIX CLUSTER
TEMPLATE frontend
)
which does the same as above automatically but also allows to change qt_add_qml_module options
Attachments
Issue Links
- mentioned in
-
Page Loading...