File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -25,12 +25,13 @@ CheckOptions:
2525 endif ()
2626
2727 add_executable (cppcheck-gui ${cppcheck-gui-deps} ${cppcheck-gui_SOURCES} )
28+ qt_add_ui (cppcheck-gui SOURCES ${uis} )
2829 # the GUI include is needed so the includes are found from the generated headers - TODO: is it possible to get rid of this?
2930 target_include_directories (cppcheck-gui PRIVATE ${PROJECT_SOURCE_DIR} /gui/ )
3031 target_link_libraries (cppcheck-gui cppcheck-core simplecpp tinyxml2 picojson frontend )
3132
3233 set_target_properties (cppcheck-gui PROPERTIES AUTOMOC ON )
33- set_target_properties (cppcheck-gui PROPERTIES AUTOUIC ON )
34+ # set_target_properties(cppcheck-gui PROPERTIES AUTOUIC ON)
3435 set_target_properties (cppcheck-gui PROPERTIES WIN32_EXECUTABLE ON )
3536 if (NOT CMAKE_DISABLE_PRECOMPILE_HEADERS)
3637 target_precompile_headers (cppcheck-gui PRIVATE precompiled.h )
You can’t perform that action at this time.
0 commit comments