chore: drop Qt 5 support
The required exiv2 version is now 0.28.x as well since it was keeped for Qt 5 build. Due to exiv2ConfigVersion.cmake doesn't allow us write something like find_package(exiv2 "0.28") to require version >= 0.28.0, we simply don't put the required version number here for now.
This commit is contained in:
@ -63,9 +63,7 @@ void ShortcutEditor::reloadShortcuts()
|
||||
shortcuts.append(QKeySequence());
|
||||
for (const QKeySequence & shortcut : shortcuts) {
|
||||
QKeySequenceEdit * keyseqEdit = new QKeySequenceEdit(this);
|
||||
#if QT_VERSION >= QT_VERSION_CHECK(6, 4, 0)
|
||||
keyseqEdit->setClearButtonEnabled(true);
|
||||
#endif // QT_VERSION >= QT_VERSION_CHECK(6, 4, 0)
|
||||
#if QT_VERSION >= QT_VERSION_CHECK(6, 5, 0)
|
||||
keyseqEdit->setMaximumSequenceLength(1);
|
||||
#endif // QT_VERSION >= QT_VERSION_CHECK(6, 5, 0)
|
||||
|
Reference in New Issue
Block a user