Unverified Commit 224c992d authored by Carl Schwan's avatar Carl Schwan 🚴
Browse files

Import gpgme6 on qt6



Signed-off-by: Carl Schwan's avatarCarl Schwan <carl@carlschwan.eu>
parent 015497f0
Pipeline #217420 passed with stage
in 2 minutes and 26 seconds
......@@ -32,17 +32,21 @@ endfunction()
function(add_mimetreeparser_crypto_unittest _name)
add_executable(${_name} ${_name}.cpp setupenv.cpp)
add_gpg_crypto_test(${_name} mimetreeparser-${_name})
if (QT_MAJOR_VERSION STREQUAL "6")
target_link_libraries(${_name} QGpgmeQt6 Qt6::Core5Compat)
else()
target_link_libraries(${_name} Gpgme::Gpgme)
endif()
target_link_libraries(${_name}
Qt5::Core
Qt5::Test
KF5::Mime
kalendar_lib
Gpgme::Gpgme
KF5::MailCommon
KF5::AkonadiMime
kalendar_mail_plugin
)
add_gpg_crypto_test(${_name} mimetreeparser-${_name})
endfunction()
add_mimetreeparser_crypto_unittest(attachmenttest)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment