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 ")