Skip to content

Commit

Permalink
Fixed #12187 (Windows build GUI with latest Qt)
Browse files Browse the repository at this point in the history
  • Loading branch information
danmar committed Nov 15, 2023
1 parent 3bd5a03 commit 0182d3c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions gui/gui.pro
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
lessThan(QT_MAJOR_VERSION, 5): error(requires >= Qt 5 (You used: $$QT_VERSION))
greaterThan(QT_MAJOR_VERSION, 5): error(Qt 6 is not supported via qmake - please use CMake instead)
# CMAKE does not work when qt 6.x is used. A command window is shown when cppcheck-gui.exe is executed.
#greaterThan(QT_MAJOR_VERSION, 5): error(Qt 6 is not supported via qmake - please use CMake instead)

message("Building the GUI via qmake is deprecated and will be removed in a future release. Please use CMake instead.")
message("Building the GUI via qmake will be removed in a future release. Please use CMake instead.")

TEMPLATE = app
TARGET = cppcheck-gui
Expand Down

0 comments on commit 0182d3c

Please sign in to comment.