summaryrefslogtreecommitdiffstats
path: root/redhat/applications/qt4-tqt-theme-engine/qt4-tqt-theme-engine-14.0.0.spec
diff options
context:
space:
mode:
Diffstat (limited to 'redhat/applications/qt4-tqt-theme-engine/qt4-tqt-theme-engine-14.0.0.spec')
-rw-r--r--redhat/applications/qt4-tqt-theme-engine/qt4-tqt-theme-engine-14.0.0.spec7
1 files changed, 6 insertions, 1 deletions
diff --git a/redhat/applications/qt4-tqt-theme-engine/qt4-tqt-theme-engine-14.0.0.spec b/redhat/applications/qt4-tqt-theme-engine/qt4-tqt-theme-engine-14.0.0.spec
index c4cbbf333..53303d743 100644
--- a/redhat/applications/qt4-tqt-theme-engine/qt4-tqt-theme-engine-14.0.0.spec
+++ b/redhat/applications/qt4-tqt-theme-engine/qt4-tqt-theme-engine-14.0.0.spec
@@ -75,8 +75,13 @@ unset QTDIR QTINC QTLIB
export PATH="%{tde_bindir}:${PATH}"
export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig:${PKG_CONFIG_PATH}"
+if [ -x "%{_libdir}/qt4/bin/qmake" ]; then
+ export PATH="%{_libdir}/qt4/bin:${PATH}"
+fi
+
# Use QT4's qmake
-%{_bindir}/qmake
+qmake
+
# Not SMP SAFE !
%__make