diff --git a/telegram-desktop.changes b/telegram-desktop.changes index 1f444a7..313402f 100644 --- a/telegram-desktop.changes +++ b/telegram-desktop.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Sep 20 15:44:53 UTC 2022 - Dominique Leuenberger + +- Pass -DQT_VERSION_MAJOR=6 to cmake when building Qt6 flavor: make + build stable even if some Qt5 libs are benig found. + ------------------------------------------------------------------- Sun Aug 28 04:50:11 UTC 2022 - Xu Zhao diff --git a/telegram-desktop.spec b/telegram-desktop.spec index 181c3a0..e017d82 100644 --- a/telegram-desktop.spec +++ b/telegram-desktop.spec @@ -257,6 +257,7 @@ cd %{_builddir}/tdesktop-%{version}-full -DCMAKE_BUILD_TYPE=Release \ %if %{qt_major_version} == 6 -DDESKTOP_APP_QT6=ON \ + -DQT_VERSION_MAJOR=6 \ %else -DDESKTOP_APP_QT6=OFF \ -DDESKTOP_APP_DISABLE_WAYLAND_INTEGRATION=ON \