diff --git a/CMakeLists.txt b/CMakeLists.txt index 9694f98ccb..5d170fe480 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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 diff --git a/Telegram/configure.py b/Telegram/configure.py index 22c7d15d72..fe24b92737 100644 --- a/Telegram/configure.py +++ b/Telegram/configure.py @@ -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))