Fix qtkeychain include for Qt6 users (#4863)

This commit is contained in:
pajlada
2023-10-03 17:59:34 +02:00
committed by GitHub
parent 131812b37b
commit 38a7ce6954
2 changed files with 6 additions and 1 deletions
+5 -1
View File
@@ -11,7 +11,11 @@
#ifndef NO_QTKEYCHAIN
# ifdef CMAKE_BUILD
# include "qt5keychain/keychain.h"
# if QT_VERSION >= QT_VERSION_CHECK(6, 0, 0)
# include "qt6keychain/keychain.h"
# else
# include "qt5keychain/keychain.h"
# endif
# else
# include "keychain.h"
# endif