File: 0009-Add-a-patch-to-fix-symbols-failure-in-designer.patch

package info (click to toggle)
qscintilla2 2.14.1%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 19,408 kB
  • sloc: cpp: 99,506; javascript: 189; python: 104; makefile: 99; ansic: 20; sh: 7
file content (22 lines) | stat: -rw-r--r-- 520 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
From: "Gudjon I. Gudjonsson" <gudjon@gudjon.org>
Date: Thu, 21 Feb 2019 19:31:17 +0100
Subject: Add a patch to fix symbols failure in designer

---
 designer/designer.pro | 1 +
 1 file changed, 1 insertion(+)

--- a/designer/designer.pro
+++ b/designer/designer.pro
@@ -14,6 +14,11 @@
 
 # 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