Add a patch to fix symbols failure in designer
authorGudjon I. Gudjonsson <gudjon@gudjon.org>
Thu, 21 Feb 2019 18:31:17 +0000 (19:31 +0100)
committerDmitry Shachnev <mitya57@debian.org>
Sat, 22 Jul 2023 18:17:16 +0000 (19:17 +0100)
Gbp-Pq: Name 0009-Add-a-patch-to-fix-symbols-failure-in-designer.patch

designer/designer.pro

index 2021a3de9f62c95d1a2337a8759136e720dc252b..c1729f6f732a3c960e71e342cb8a4e0dfe5afe30 100644 (file)
@@ -14,6 +14,11 @@ QT += designer
 
 # Work around QTBUG-39300.
 CONFIG -= android_install
+greaterThan(QT_MAJOR_VERSION, 5) { 
+     LIBS += -lqscintilla2_qt6
+} else {
+     LIBS += -lqscintilla2_qt5
+}
 
 HEADERS = qscintillaplugin.h
 SOURCES = qscintillaplugin.cpp