Skip to content

Commit 76a2a1a

Browse files
committed
Only require Core5Compat with Qt 6
1 parent d8ad7b3 commit 76a2a1a

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

dist/unix/sqlrestore.spec.in

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,10 @@ BuildRequires: cmake(Qt@QT_MAJOR_VERSION@Widgets)
5252
BuildRequires: cmake(Qt@QT_MAJOR_VERSION@Concurrent)
5353
BuildRequires: cmake(Qt@QT_MAJOR_VERSION@Network)
5454
BuildRequires: cmake(Qt@QT_MAJOR_VERSION@Sql)
55+
%if "@QT_MAJOR_VERSION@" == "6"
5556
BuildRequires: cmake(Qt@QT_MAJOR_VERSION@Core5Compat)
5657
%endif
58+
%endif
5759

5860
BuildRequires: file-devel
5961

0 commit comments

Comments
 (0)