Details
-
Task
-
Status: Closed
-
P3: Somewhat important
-
Resolution: Done
-
6.2.2, 6.2.3, 6.3.0 Alpha
-
None
-
c4999abff6 (qt/qtinterfaceframework/dev) d363b99044 (qt/qtinterfaceframework/6.3)
Description
For smaller projects only a single CMakeLists.txt is used. Right now it is not possible to generate code using multiple templates e.g. the following:
qt_add_library(lib SHARED) qt_ifcodegen_extend_target(lib IDL_FILES example.qface TEMPLATE frontend ) target_link_libraries(lib PRIVATE Qt6::Core Qt6::Quick Qt6::QuickControls2 Qt6::InterfaceFramework Qt6::InterfaceFrameworkPrivate ) qt_add_plugin(backend) qt_ifcodegen_extend_target(backend IDL_FILES example.qface TEMPLATE backend_simulator ) target_link_libraries(backend PRIVATE Qt6::Core Qt6::Quick Qt6::QuickControls2 Qt6::InterfaceFramework Qt6::InterfaceFrameworkPrivate lib )