|
|
@ -38,6 +38,12 @@ BuildRequires: pkgconfig(Qt5Widgets)
|
|
|
|
BuildRequires: qt5-qtquickcontrols2-devel
|
|
|
|
BuildRequires: qt5-qtquickcontrols2-devel
|
|
|
|
Requires: qt5-qtquickcontrols2%{?_isa}
|
|
|
|
Requires: qt5-qtquickcontrols2%{?_isa}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# WORKAROUND FTBFS
|
|
|
|
|
|
|
|
%if 0%{?rhel}==7
|
|
|
|
|
|
|
|
BuildRequires: devtoolset-7-toolchain
|
|
|
|
|
|
|
|
BuildRequires: devtoolset-7-gcc-c++
|
|
|
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
%description
|
|
|
|
This is a style for QtQuickControls 2 that uses QWidget's QStyle for
|
|
|
|
This is a style for QtQuickControls 2 that uses QWidget's QStyle for
|
|
|
|
painting, making possible to achieve an higher degree of consistency
|
|
|
|
painting, making possible to achieve an higher degree of consistency
|
|
|
@ -49,6 +55,10 @@ between QWidget-based and QML-based apps.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
%build
|
|
|
|
|
|
|
|
%if 0%{?rhel}==7
|
|
|
|
|
|
|
|
. /opt/rh/devtoolset-7/enable
|
|
|
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
mkdir %{_target_platform}
|
|
|
|
mkdir %{_target_platform}
|
|
|
|
pushd %{_target_platform}
|
|
|
|
pushd %{_target_platform}
|
|
|
|
%{cmake_kf5} ..
|
|
|
|
%{cmake_kf5} ..
|
|
|
|