mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-13 04:37:11 +02:00
Move Qt version from configure.py to CMakeLists.txt
This commit is contained in:
parent
630e73fa23
commit
5f53dfda0e
2 changed files with 7 additions and 1 deletions
|
@ -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
|
||||
|
|
|
@ -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))
|
||||
|
|
Loading…
Add table
Reference in a new issue