]> sigrok.org Git - sigrok-util.git/blame - cross-compile/android/android-qt.patch
sigrok-fwextract-kingst-la2016: concentrate RCC flags in one spot
[sigrok-util.git] / cross-compile / android / android-qt.patch
CommitLineData
7b888971
MC
1diff --git a/qtbase/mkspecs/features/qt_common.prf b/qtbase/mkspecs/features/qt_common.prf
2--- a/qtbase/mkspecs/features/qt_common.prf 2014-05-16 18:41:54.964880350 +0200
3+++ b/qtbase/mkspecs/features/qt_common.prf 2014-05-16 18:44:21.529590747 +0200
2256009e
MC
4@@ -77,7 +77,9 @@
5 QMAKE_CXXFLAGS_WARN_ON += -Wno-error=strict-overflow
7b888971
MC
6
7 # Work-around for bug https://code.google.com/p/android/issues/detail?id=58135
2256009e 8- android: QMAKE_CXXFLAGS_WARN_ON += -Wno-error=literal-suffix
7b888971 9+ contains(ver, "4\\.8") {
2256009e 10+ android: QMAKE_CXXFLAGS_WARN_ON += -Wno-error=literal-suffix
7b888971
MC
11+ }
12 }
13 }
14 unset(ver)
6e39ae14
JS
15--- a/qttools/src/qdbus/qdbus.pro 2015-02-17 05:57:17.000000000 +0100
16+++ b/qttools/src/qdbus/qdbus.pro 2015-04-29 15:55:19.740997627 +0200
17@@ -1,3 +1,5 @@
18 TEMPLATE = subdirs
19-SUBDIRS = qdbus
20-qtHaveModule(widgets): SUBDIRS += qdbusviewer
21+!android:!ios:!qnx:!wince*:!winrt* {
22+ SUBDIRS = qdbus
23+ qtHaveModule(widgets): SUBDIRS += qdbusviewer
24+}
12d9516e
UH
25--- a/qttools/src/src.pro 2020-01-17 17:05:25.333379076 +0100
26+++ b/qttools/src/src.pro 2020-01-17 17:05:32.037403499 +0100
27@@ -14,8 +14,7 @@ qtHaveModule(widgets) {
28 }
29
30 SUBDIRS += linguist \
31- qdoc \
32- qtplugininfo
33+ qdoc
34 if(!android|android_app):!ios: SUBDIRS += qtpaths
35
36 mac {