File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -13,7 +13,6 @@ CheckOptions:
1313 file (GLOB srcs "*.cpp" )
1414 file (GLOB uis "*.ui" )
1515 file (GLOB tss "*.ts" )
16- QT_WRAP_UI (uis_hdrs ${uis} )
1716 QT_ADD_RESOURCES(resources "gui.qrc" )
1817 # TODO: passing "-no-obsolete" here breaks the translations
1918 QT_CREATE_TRANSLATION(qms ${CMAKE_CURRENT_SOURCE_DIR} ${tss} )
@@ -33,6 +32,7 @@ CheckOptions:
3332
3433 add_executable (cppcheck-gui ${cppcheck-gui-deps} ${cppcheck-gui_SOURCES})
3534 set_target_properties (cppcheck-gui PROPERTIES AUTOMOC ON )
35+ set_target_properties (cppcheck-gui PROPERTIES AUTOUIC ON )
3636 set_target_properties (cppcheck-gui PROPERTIES WIN32_EXECUTABLE ON )
3737 target_include_directories (cppcheck-gui PRIVATE ${PROJECT_SOURCE_DIR} /lib/ ${PROJECT_SOURCE_DIR} /frontend/)
3838 if (USE_BUNDLED_TINYXML2)
Original file line number Diff line number Diff line change @@ -11,7 +11,6 @@ CheckOptions:
1111 file (GLOB hdrs "*.h" )
1212 file (GLOB srcs "*.cpp" )
1313 file (GLOB uis "*.ui" )
14- qt_wrap_ui (uis_hdrs ${uis} )
1514
1615 add_custom_target (triage-build -ui-deps SOURCES ${hdrs} ${uis_hdrs} )
1716 add_executable (
@@ -22,6 +21,7 @@ CheckOptions:
2221 ${PROJECT_SOURCE_DIR} /gui/codeeditorstyle.cpp
2322 ${PROJECT_SOURCE_DIR} /gui/codeeditor.cpp)
2423 set_target_properties (triage PROPERTIES AUTOMOC ON )
24+ set_target_properties (triage PROPERTIES AUTOUIC ON )
2525 set_target_properties (triage PROPERTIES WIN32_EXECUTABLE ON )
2626 target_include_directories (triage PRIVATE ${PROJECT_SOURCE_DIR} /lib/ ${PROJECT_SOURCE_DIR} /gui/)
2727 target_link_libraries (triage ${QT_CORE_LIB} ${QT_GUI_LIB} ${QT_WIDGETS_LIB} )
You can’t perform that action at this time.
0 commit comments