qttools: disable qdoc

requires libclang-devel

fixes #2324
pull/2326/head
Tony Theodore 5 years ago
parent cc31b9bfd9
commit 5d869c403c

@ -0,0 +1,47 @@
This file is part of MXE. See LICENSE.md for licensing information.
Contains ad hoc patches for cross building.
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: Mark Brand <mabrand@mabrand.nl>
Date: Sun, 28 Apr 2019 23:07:09 +1000
Subject: [PATCH 1/2] disable windeployqt (MXE specific)
diff --git a/src/src.pro b/src/src.pro
index 1111111..2222222 100644
--- a/src/src.pro
+++ b/src/src.pro
@@ -35,7 +35,7 @@ macos {
qtHaveModule(dbus): SUBDIRS += qdbus
-win32|winrt:SUBDIRS += windeployqt
+#win32|winrt:SUBDIRS += windeployqt
winrt:SUBDIRS += winrtrunner
qtHaveModule(gui):!wasm:!android:!uikit:!qnx:!winrt: SUBDIRS += qtdiag
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: Tony Theodore <tonyt@logyst.com>
Date: Sun, 28 Apr 2019 23:12:41 +1000
Subject: [PATCH 2/2] disable qdoc (MXE specific - requires libclang-devel)
diff --git a/src/src.pro b/src/src.pro
index 1111111..2222222 100644
--- a/src/src.pro
+++ b/src/src.pro
@@ -23,9 +23,9 @@ qtConfig(library) {
!android|android_app: SUBDIRS += qtplugininfo
}
-include($$OUT_PWD/qdoc/qtqdoc-config.pri)
-QT_FOR_CONFIG += qdoc-private
-qtConfig(qdoc): qtConfig(thread): SUBDIRS += qdoc
+#include($$OUT_PWD/qdoc/qtqdoc-config.pri)
+#QT_FOR_CONFIG += qdoc-private
+#qtConfig(qdoc): qtConfig(thread): SUBDIRS += qdoc
!android|android_app: SUBDIRS += qtpaths

@ -1,24 +0,0 @@
# This file is part of MXE. See LICENSE.md for licensing information.
From 3dc7b77a86b4d399836472484a5b3448a27f1a1e Mon Sep 17 00:00:00 2001
From: Mark Brand <mabrand@mabrand.nl>
Date: Wed, 21 May 2014 11:31:45 +0200
Subject: [PATCH] disable windeployqt (MXE specific)
diff --git a/src/src.pro b/src/src.pro
index 722b32e..66ce5bf 100644
--- a/src/src.pro
+++ b/src/src.pro
@@ -27,7 +27,7 @@ android {
qtHaveModule(dbus): SUBDIRS += qdbus
-win32|winrt:SUBDIRS += windeployqt
+#win32|winrt:SUBDIRS += windeployqt
winrt:SUBDIRS += winrtrunner
qtHaveModule(gui):!android:!ios:!qnx:!wince*:!winrt*:SUBDIRS += qtdiag
--
2.1.2

@ -19,7 +19,7 @@ define $(PKG)_UPDATE
endef
define $(PKG)_BUILD
cd '$(1)' && '$(PREFIX)/$(TARGET)/qt5/bin/qmake' CONFIG+=config_clang_done CONFIG-=config_clang
cd '$(1)' && '$(PREFIX)/$(TARGET)/qt5/bin/qmake'
$(MAKE) -C '$(1)' -j '$(JOBS)'
$(MAKE) -C '$(1)' -j 1 install
@ -32,7 +32,7 @@ define $(PKG)_BUILD
endef
define $(PKG)_BUILD_$(BUILD)
cd '$(1)' && '$(PREFIX)/$(TARGET)/qt5/bin/qmake' CONFIG+=config_clang_done CONFIG-=config_clang
cd '$(1)' && '$(PREFIX)/$(TARGET)/qt5/bin/qmake'
$(MAKE) -C '$(1)' -j '$(JOBS)'
$(MAKE) -C '$(1)' -j 1 install
endef

Loading…
Cancel
Save