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
%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
--- /dev/null
+--- 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)
+ }