Skip to content
Permalink
Browse files
Add cmake switch to indicate that a Qt5 build is using KDE's Qt 5.15 …
…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 1495cd5785fed043f3f55d24474887d1727c321f
Showing with 3 additions and 0 deletions.
  1. +1 −0 CMakeLists.txt
  2. +2 −0 cmake_templates/qgsconfig.h.in
@@ -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
@@ -104,5 +104,7 @@

#cmakedefine ENABLE_TESTS

#cmakedefine WITH_QT5_KDE_FORK

#endif

0 comments on commit 1495cd5

Please sign in to comment.