],[
CXXFLAGS="${CXXFLAGS} -fPIE -fPIC"
])
- AC_CHECK_PROGS(QMAKE,qmake-qt5 qmake,false)
+ AC_CHECK_PROGS(QMAKE,qmake-qt5 qmake-qt4 qmake,false)
if test "$QMAKE" != "false"; then
PKG_CHECK_MODULES(QTCORE, [Qt5Core],[
PKG_CHECK_MODULES(QTGUI, [Qt5Widgets Qt5PrintSupport],[
%global PYTHON 0
%global PYTHON2 1
%global PYTHON3 1
-%global QT4 0
%global QT5 1
# Not yet.
%global MING 0
%global PYTHON 1
%global PYTHON2 0
%global PYTHON3 0
-%global QT4 1
-%global QT5 0
%endif
# Plugins version
%if %{GTK}
BuildRequires: libglade2-devel gtkglarea2-devel gtkglext-devel glade3-libgladeui-devel
%endif
-%if %{QT4}
-BuildRequires: qt-devel
-%endif
%if %{QT5}
-BuildRequires: qt5-devel
+BuildRequires: qt5-qtbase-devel
%endif
# What a meal PHP makes of versioning !!!
# RPM 4.9
%global __provides_exclude_from %{?__provides_exclude_from:%__provides_exclude_from|}%{php_extdir}/.*\\.so$
-# Fix for the 387 extended precision (rhbz#772637)
+# Fix for the i386 extended precision (rhbz#772637)
%ifarch i386 i686
%global FFSTORE -ffloat-store
%endif