Move Qt version from configure.py to CMakeLists.txt

This commit is contained in:
Ilya Fedin 2022-08-27 01:45:07 +04:00 committed by John Preston
parent 630e73fa23
commit 5f53dfda0e
2 changed files with 7 additions and 1 deletions

View File

@ -48,6 +48,13 @@ include(cmake/target_prepare_qrc.cmake)
include(cmake/options.cmake)
if (NOT DESKTOP_APP_USE_PACKAGED)
if (WIN32)
set(qt_version 5.15.4)
else()
set(qt_version 6.3.1)
endif()
endif()
include(cmake/external/qt/package.cmake)
set(desktop_app_skip_libs

View File

@ -60,5 +60,4 @@ if officialTarget != '':
if arch != '':
arguments.append(arch)
os.environ["QT"] = "5.15.4" if sys.platform == 'win32' else "6.3.1"
finish(run_cmake.run(scriptName, arguments))