Control: tags -1 patch

On 6/11/26 11:39 AM, Sebastiaan Couwenberg wrote:
On Thu, 11 Jun 2026 17:09:00 +0800 =?UTF-8?B?eGlhbyBzaGVuZyB3ZW4o6IKW55ub5paHKQ==?= 
<[email protected]> wrote:
Is <QTextCodec> exist in qt6?

https://doc.qt.io/qt-6/qtextcodec.html suggests it's part of the Qt5 
compatibility APIs,

In Debian it's provided by qt6-5compat-dev:

  $ apt-file search QTextCodec
  qt6-5compat-dev: /usr/include/x86_64-linux-gnu/qt6/QtCore5Compat/QTextCodec
libquazip1-qt6-dev pulls in qt6-5compat-dev, and libquazip1-qt6-1.7 depends on 
libqt6core5compat6, that seems fine.

A workaround for the FTBFS is to add the include path per the attached patch.

Kind Regards,

Bas

--
 PGP Key ID: 4096R/6750F10AE88D4AF1
Fingerprint: 8182 DE41 7056 408D 6146  50D1 6750 F10A E88D 4AF1
diff --git a/debian/rules b/debian/rules
index 8e8ee59..e6c1ecd 100755
--- a/debian/rules
+++ b/debian/rules
@@ -5,6 +5,8 @@
 
 export DEB_BUILD_MAINT_OPTIONS = hardening=+all
 
+export DEB_CXXFLAGS_MAINT_APPEND=-I/usr/include/$(DEB_HOST_MULTIARCH)/qt6/QtCore5Compat
+
 %:
 	dh $@
 

Reply via email to