tokodon, more Qt build fix (#12786)

This commit is contained in:
Schrijvers Luc
2025-08-18 16:42:11 +02:00
committed by GitHub
parent cdb00f9b03
commit f783cebdf1
2 changed files with 26 additions and 35 deletions

View File

@@ -1,32 +0,0 @@
From 65d0634c32a9e55c1f4f3cc2ecbdc8bc753e9e59 Mon Sep 17 00:00:00 2001
From: Luc Schrijvers <begasus@gmail.com>
Date: Fri, 18 Apr 2025 16:24:35 +0200
Subject: Revert requirement for Qt version from 6.8.0
This works for now, but will fail in the future
diff --git a/CMakeLists.txt b/CMakeLists.txt
index cfab9dc..b61641d 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -14,7 +14,7 @@ project(tokodon VERSION ${RELEASE_SERVICE_VERSION})
option(SAILFISHOS "Build for sailfishOS" OFF)
set(KF_MIN_VERSION "6.11.0")
-set(QT_MIN_VERSION "6.8.0")
+set(QT_MIN_VERSION "6.7.0")
include(FeatureSummary)
@@ -150,8 +150,6 @@ if (ANDROID)
include(ECMAddAndroidApk)
endif ()
-qt_policy(SET QTP0004 NEW)
-
ecm_setup_version(${PROJECT_VERSION}
VARIABLE_PREFIX TOKODON
VERSION_HEADER ${CMAKE_CURRENT_BINARY_DIR}/tokodon-version.h
--
2.48.1

View File

@@ -1,4 +1,4 @@
From 65d0634c32a9e55c1f4f3cc2ecbdc8bc753e9e59 Mon Sep 17 00:00:00 2001
From 5efd215f78b594c75141a5d4924388331bdf4f00 Mon Sep 17 00:00:00 2001
From: Luc Schrijvers <begasus@gmail.com>
Date: Fri, 18 Apr 2025 16:24:35 +0200
Subject: Revert requirement for Qt version from 6.8.0
@@ -6,7 +6,7 @@ Subject: Revert requirement for Qt version from 6.8.0
This works for now, but will fail in the future
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 85b08a2..ef5a335 100644
index 533eccd..21abdae 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -14,7 +14,7 @@ project(tokodon VERSION ${RELEASE_SERVICE_VERSION})
@@ -19,5 +19,28 @@ index 85b08a2..ef5a335 100644
include(FeatureSummary)
--
2.48.1
2.50.1
From 9e027888bb59f6fcf4c373508e5ee96bbd7af873 Mon Sep 17 00:00:00 2001
From: Luc Schrijvers <begasus@gmail.com>
Date: Mon, 18 Aug 2025 16:38:11 +0200
Subject: Reset qt_policy
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 21abdae..e2d81f6 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -153,7 +153,7 @@ if (ANDROID)
include(ECMAddAndroidApk)
endif ()
-qt_policy(SET QTP0004 NEW)
+qt_policy(SET QTP0004 OLD)
ecm_setup_version(${PROJECT_VERSION}
VARIABLE_PREFIX TOKODON
--
2.50.1