Warning, /education/marble/src/plugins/designer/CMakeLists.txt is written in an unsupported language. File is not indexed.

0001 if (WITH_DESIGNER_PLUGIN)
0002 
0003   # TODO: find why this is not listed in the feature_summary (same with Qt5UiPlugin)
0004   find_package(Qt5 ${REQUIRED_QT_VERSION} QUIET COMPONENTS Designer)
0005   marble_set_package_properties( Qt5Designer PROPERTIES TYPE OPTIONAL PURPOSE "Required to build Qt Designer plugins" )
0006 
0007 if(NOT Qt5Designer_VERSION VERSION_LESS 5.5.0)
0008     find_package(Qt5 ${REQUIRED_QT_VERSION} CONFIG QUIET COMPONENTS UiPlugin)
0009     set_package_properties(Qt5UiPlugin PROPERTIES TYPE OPTIONAL
0010         PURPOSE "Required to build Qt Designer plugins"
0011     )
0012     if (Qt5UiPlugin_FOUND)
0013         # for some reason, Qt5UiPlugin does not set its _INCLUDE_DIRS variable. Fill it manually
0014         get_target_property(Qt5UiPlugin_INCLUDE_DIRS Qt5::UiPlugin INTERFACE_INCLUDE_DIRECTORIES)
0015     endif()
0016     set(DesignerPluginDeps_FOUND ${Qt5UiPlugin_FOUND})
0017 else()
0018     set(DesignerPluginDeps_FOUND ${Qt5Designer_FOUND})
0019 endif()
0020 
0021   if (DesignerPluginDeps_FOUND)
0022     add_subdirectory( marblewidget )
0023     add_subdirectory( latloneditwidget )
0024     add_subdirectory( navigator )
0025   endif()
0026 endif (WITH_DESIGNER_PLUGIN)