Skip to content

Commit

Permalink
Add cmake switch to indicate that a Qt5 build is using KDE's Qt 5.15 …
Browse files Browse the repository at this point in the history
…fork

There's no easy way to detect this automatically, so a manual switch is required
  • Loading branch information
nyalldawson committed Nov 4, 2021
1 parent 6d3cec6 commit 1495cd5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions CMakeLists.txt
Expand Up @@ -425,6 +425,7 @@ if(WITH_CORE)
else()
set(QT_MIN_VERSION 5.12.0)
set(QT_VERSION_BASE "Qt5")
set(WITH_QT5_KDE_FORK FALSE CACHE BOOL "Using KDE's Qt 5.15 fork")
endif()

# Use Qt5SerialPort optionally for GPS
Expand Down
2 changes: 2 additions & 0 deletions cmake_templates/qgsconfig.h.in
Expand Up @@ -104,5 +104,7 @@

#cmakedefine ENABLE_TESTS

#cmakedefine WITH_QT5_KDE_FORK

#endif

0 comments on commit 1495cd5

Please sign in to comment.