Build cmake-gui with Qt6
This commit is contained in:
parent
c30812977f
commit
40655d2d51
@ -16,7 +16,7 @@
|
||||
# Run git tests
|
||||
%bcond_without git_test
|
||||
|
||||
# Set to bcond_with or use --without gui to disable qt4 gui build
|
||||
# Set to bcond_with or use --without gui to disable qt gui build
|
||||
%bcond_without gui
|
||||
|
||||
# Use ncurses for colorful output
|
||||
@ -178,7 +178,9 @@ BuildRequires: python2-devel
|
||||
%endif
|
||||
%endif
|
||||
%if %{with gui}
|
||||
%if 0%{?fedora} || 0%{?rhel} > 7
|
||||
%if 0%{?fedora} || 0%{?rhel} > 9
|
||||
BuildRequires: pkgconfig(Qt6Widgets)
|
||||
%elif 0%{?rhel} > 7
|
||||
BuildRequires: pkgconfig(Qt5Widgets)
|
||||
%else
|
||||
BuildRequires: pkgconfig(QtGui)
|
||||
|
Loading…
Reference in New Issue
Block a user