]> git.pld-linux.org Git - packages/qt5-qtbase.git/commitdiff
temporarily try to debug qvkgen invocation with LD_DEBUG=all
authorJan Palus <atler@pld-linux.org>
Tue, 5 Mar 2019 22:16:08 +0000 (23:16 +0100)
committerJan Palus <atler@pld-linux.org>
Tue, 5 Mar 2019 22:16:08 +0000 (23:16 +0100)
qt5-qtbase.spec
wrapper_debug.patch [new file with mode: 0644]

index 9eff75c6ede1d662b46da9e7d8fd84d77dd1bde9..616582f37b152dea29b0587b6cbba8669ee0bf3b 100644 (file)
@@ -74,6 +74,7 @@ Source0:      http://download.qt.io/official_releases/qt/5.12/%{version}/submodules/%
 Source1:       http://download.qt.io/official_releases/qt/5.12/%{version}/submodules/qttranslations-everywhere-src-%{version}.tar.xz
 # Source1-md5: 045ad1eda4d3a272b24b6c60a06b313f
 Patch0:                %{name}-system_cacerts.patch
+Patch1:                wrapper_debug.patch
 URL:           http://www.qt.io/
 %{?with_directfb:BuildRequires:        DirectFB-devel}
 BuildRequires: EGL-devel
@@ -1161,6 +1162,7 @@ Generator plików makefile dla aplikacji Qt5.
 %prep
 %setup -q -n %{orgname}-everywhere-src-%{version} %{?with_qm:-a1}
 %patch0 -p1
+%patch1 -p1
 
 %{__sed} -i -e 's,usr/X11R6/,usr/,g' mkspecs/linux-g++-64/qmake.conf
 
diff --git a/wrapper_debug.patch b/wrapper_debug.patch
new file mode 100644 (file)
index 0000000..88fd658
--- /dev/null
@@ -0,0 +1,15 @@
+--- qtbase-everywhere-src-5.12.1/mkspecs/features/qt_functions.prf.orig        2019-03-05 23:07:33.009111700 +0100
++++ qtbase-everywhere-src-5.12.1/mkspecs/features/qt_functions.prf     2019-03-05 23:06:37.942822346 +0100
+@@ -230,7 +230,11 @@
+         pluginpath.name = QT_PLUGIN_PATH
+         pluginpath.CONFIG = prepend
+-        QT_TOOL_ENV += deppath pluginpath
++        lddebug.value = all
++        lddebug.name = LD_DEBUG
++        lddebug.CONFIG = prepend
++
++        QT_TOOL_ENV += deppath pluginpath lddebug
+     }
+     qtAddToolEnv($$1, $$QT_TOOL_ENV, $$3)
+ }
This page took 0.327487 seconds and 4 git commands to generate.