aboutsummaryrefslogtreecommitdiffstats
path: root/CMakeOptions.txt
diff options
context:
space:
mode:
authorGerald Combs <gerald@wireshark.org>2022-05-20 15:23:50 -0700
committerGerald Combs <gerald@wireshark.org>2022-05-20 15:27:49 -0700
commitc552665fd332543f7e6175c4d6a213ad2c6266df (patch)
tree8d2847b0271d11fc75fbedb5fa73e94c3efca1e7 /CMakeOptions.txt
parentaad47c8438ed245b3f8c31e89e721cb5645443b3 (diff)
CMake: Enable Qt6 if WIRESHARK_QT6_PREFIX_PATH is set.
Remove the "developers only" admonition.
Diffstat (limited to 'CMakeOptions.txt')
-rw-r--r--CMakeOptions.txt6
1 files changed, 5 insertions, 1 deletions
diff --git a/CMakeOptions.txt b/CMakeOptions.txt
index 4a117f88ee..a27b9f090e 100644
--- a/CMakeOptions.txt
+++ b/CMakeOptions.txt
@@ -3,7 +3,11 @@
option(BUILD_wireshark "Build Wireshark" ON)
option(BUILD_logwolf "Build Logwolf" OFF)
if(BUILD_wireshark OR BUILD_logwolf)
- option(USE_qt6 "Use Qt6 instead of Qt5 - WIP, GUI developers only!" OFF)
+ if(DEFINED ENV{WIRESHARK_QT6_PREFIX_PATH})
+ option(USE_qt6 "Use Qt6 instead of Qt5" ON)
+ else()
+ option(USE_qt6 "Use Qt6 instead of Qt5" OFF)
+ endif()
endif()
option(BUILD_tshark "Build tshark" ON)
option(BUILD_tfshark "Build tfshark" OFF)