From 088d49b9cbb86f9943dbc4520ce57777a08282e3 Mon Sep 17 00:00:00 2001 From: Nadia Holmquist Pedersen Date: Sun, 6 Mar 2022 20:07:23 +0100 Subject: [PATCH] macOS: Use Qt 6 by default --- src/frontend/qt_sdl/CMakeLists.txt | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/frontend/qt_sdl/CMakeLists.txt b/src/frontend/qt_sdl/CMakeLists.txt index 57f6d786..4b5cb126 100644 --- a/src/frontend/qt_sdl/CMakeLists.txt +++ b/src/frontend/qt_sdl/CMakeLists.txt @@ -39,7 +39,12 @@ SET(SOURCES_QT_SDL ${CMAKE_SOURCE_DIR}/res/melon.qrc ) -option(USE_QT6 "Build using Qt 6 instead of 5" OFF) +if (APPLE) + option(USE_QT6 "Build using Qt 6 instead of 5" ON) +else() + option(USE_QT6 "Build using Qt 6 instead of 5" OFF) +endif() + if (WIN32) set(CMAKE_RC_COMPILE_OBJECT " -i -o ")