Skip to content

Commit

Permalink
macOS: Use Qt 6 by default
Browse files Browse the repository at this point in the history
  • Loading branch information
nadiaholmquist committed Mar 6, 2022
1 parent b1565ec commit 088d49b
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/frontend/qt_sdl/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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 "<CMAKE_RC_COMPILER> -i <SOURCE> -o <OBJECT>")
Expand Down

0 comments on commit 088d49b

Please sign in to comment.