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:
13
13
file (GLOB srcs "*.cpp" )
14
14
file (GLOB uis "*.ui" )
15
15
file (GLOB tss "*.ts" )
16
- QT_WRAP_UI (uis_hdrs ${uis} )
17
16
QT_ADD_RESOURCES(resources "gui.qrc" )
18
17
# TODO: passing "-no-obsolete" here breaks the translations
19
18
QT_CREATE_TRANSLATION(qms ${CMAKE_CURRENT_SOURCE_DIR} ${tss} )
@@ -33,6 +32,7 @@ CheckOptions:
33
32
34
33
add_executable (cppcheck-gui ${cppcheck-gui-deps} ${cppcheck-gui_SOURCES})
35
34
set_target_properties (cppcheck-gui PROPERTIES AUTOMOC ON )
35
+ set_target_properties (cppcheck-gui PROPERTIES AUTOUIC ON )
36
36
set_target_properties (cppcheck-gui PROPERTIES WIN32_EXECUTABLE ON )
37
37
target_include_directories (cppcheck-gui PRIVATE ${PROJECT_SOURCE_DIR} /lib/ ${PROJECT_SOURCE_DIR} /frontend/)
38
38
if (USE_BUNDLED_TINYXML2)
Original file line number Diff line number Diff line change @@ -11,7 +11,6 @@ CheckOptions:
11
11
file (GLOB hdrs "*.h" )
12
12
file (GLOB srcs "*.cpp" )
13
13
file (GLOB uis "*.ui" )
14
- qt_wrap_ui (uis_hdrs ${uis} )
15
14
16
15
add_custom_target (triage-build -ui-deps SOURCES ${hdrs} ${uis_hdrs} )
17
16
add_executable (
@@ -22,6 +21,7 @@ CheckOptions:
22
21
${PROJECT_SOURCE_DIR} /gui/codeeditorstyle.cpp
23
22
${PROJECT_SOURCE_DIR} /gui/codeeditor.cpp)
24
23
set_target_properties (triage PROPERTIES AUTOMOC ON )
24
+ set_target_properties (triage PROPERTIES AUTOUIC ON )
25
25
set_target_properties (triage PROPERTIES WIN32_EXECUTABLE ON )
26
26
target_include_directories (triage PRIVATE ${PROJECT_SOURCE_DIR} /lib/ ${PROJECT_SOURCE_DIR} /gui/)
27
27
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