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.spec10
1 files changed, 10 insertions, 0 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 8eb2b24a0..1726c0611 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
@@ -1,3 +1,7 @@
+%if "%{?_qt4_plugindir}" == ""
+%define _qt4_plugindir %{_libdir}/qt4/plugins
+%endif
+
# Default version for this component
%define tde_pkg qt4-tqt-theme-engine
%define tde_version 14.0.0
@@ -48,7 +52,13 @@ BuildRequires: trinity-tdebase-devel >= %{tde_version}
BuildRequires: desktop-file-utils
BuildRequires: gettext
+
+# QT4 support
+%if 0%{?suse_version}
+BuildRequires: qt-devel
+%else
BuildRequires: qt4-devel
+%endif
%description
TDE theme engine for Qt4