gpgme/lang/qt/tests
Ingo Klöcker e6830b58b6
build,qt: Decouple generation of moc files
* m4/qt5.m4: Export moc for Qt 5 in variable MOC5. Unset temporary MOC2.
* m4/qt6.m4: Export moc for Qt 6 in variable MOC6.
* lang/qt/src/Makefile.am: Generate .moc5 files from .h files. Generate
.moc forwarding headers in moc5 subfolder. Add moc5 subfolder to include
paths for Qt 5-based qgpgme library. Ditto for Qt 6. Clean up moc5 and
moc6 subfolders.
* lang/qt/tests/Makefile.am: List tests and test runners for Qt 5 and
Qt 6. Generate .moc5 files from .cpp files of tests. Generate .moc
forwarding headers in moc5 subfolder. Generate .hmoc file from
t-support.h directly in moc5 subfolder. Add moc5 subfolder to include
paths for all Qt 5-based tests and runners. Ditto for Qt 6. Specify
sources, LDADD and CPPFLAGS for all tests and test runners for Qt 5 and
Qt 6. Clean up moc5 and moc6 subfolders.
--

The output of Qt 5's moc and Qt 6's moc is incompatible. Therefore, we
need to generate different .moc files for Qt 5 and Qt 6 to support
co-building of the Qt 5 and Qt 6 bindings. The duplication of the
listing of the tests couldn't be avoided because automake doesn't
understand `the_tests5 = $(the_tests:%=%5)` and couldn't match the
tests with their _SOURCES. Maybe some m4 programming would have helped,
but that would have made the Makefiles even more unreadable.

GnuPG-bug-id: 7205
2024-07-18 14:41:52 +02:00
..
final.test qt: Support WKD lookup without implicit import 2021-12-13 10:48:52 +01:00
initial.test Qt: Fix unit test by adding initial.test dep 2016-04-11 17:46:03 +02:00
Makefile.am build,qt: Decouple generation of moc files 2024-07-18 14:41:52 +02:00
run-decryptverifyarchivejob.cpp qt: Replace usage of deprecated Error::asString 2024-07-05 10:05:51 +02:00
run-decryptverifyjob.cpp qt: Replace usage of deprecated Error::asString 2024-07-05 10:05:51 +02:00
run-encryptarchivejob.cpp qt: Replace usage of deprecated Error::asString 2024-07-05 10:05:51 +02:00
run-encryptjob.cpp qt: Replace usage of deprecated Error::asString 2024-07-05 10:05:51 +02:00
run-exportjob.cpp qt: Replace usage of deprecated Error::asString 2024-07-05 10:05:51 +02:00
run-importjob.cpp qt: Replace usage of deprecated Error::asString 2024-07-05 10:05:51 +02:00
run-keyformailboxjob.cpp qt: Always include C++ binding headers with gpgme++/ prefix 2024-07-05 10:05:50 +02:00
run-receivekeysjob.cpp qt: Replace usage of deprecated Error::asString 2024-07-05 10:05:51 +02:00
run-refreshkeysjob.cpp qt: Replace usage of deprecated Error::asString 2024-07-05 10:05:51 +02:00
run-signarchivejob.cpp qt: Replace usage of deprecated Error::asString 2024-07-05 10:05:51 +02:00
run-signjob.cpp qt: Replace usage of deprecated Error::asString 2024-07-05 10:05:51 +02:00
run-verifydetachedjob.cpp qt: Replace usage of deprecated Error::asString 2024-07-05 10:05:51 +02:00
run-verifyopaquejob.cpp qt: Replace usage of deprecated Error::asString 2024-07-05 10:05:51 +02:00
run-wkdrefreshjob.cpp qt: Replace usage of deprecated Error::asString 2024-07-05 10:05:51 +02:00
t-addexistingsubkey.cpp qt: Always include C++ binding headers with gpgme++/ prefix 2024-07-05 10:05:50 +02:00
t-changeexpiryjob.cpp qt: Replace usage of deprecated Error::asString 2024-07-05 10:05:51 +02:00
t-config.cpp qt: Always include C++ binding headers with gpgme++/ prefix 2024-07-05 10:05:50 +02:00
t-decryptverify.cpp qt: Always include C++ binding headers with gpgme++/ prefix 2024-07-05 10:05:50 +02:00
t-encrypt.cpp qt: Always include C++ binding headers with gpgme++/ prefix 2024-07-05 10:05:50 +02:00
t-import.cpp qt: Always include C++ binding headers with gpgme++/ prefix 2024-07-05 10:05:50 +02:00
t-keylist.cpp qt: Always include C++ binding headers with gpgme++/ prefix 2024-07-05 10:05:50 +02:00
t-keylocate.cpp qt: Always include C++ binding headers with gpgme++/ prefix 2024-07-05 10:05:50 +02:00
t-ownertrust.cpp qt: Replace usage of deprecated Error::asString 2024-07-05 10:05:51 +02:00
t-remarks.cpp qt: Replace usage of deprecated Error::asString 2024-07-05 10:05:51 +02:00
t-revokekey.cpp qt: Always include C++ binding headers with gpgme++/ prefix 2024-07-05 10:05:50 +02:00
t-setprimaryuserid.cpp qt: Always include C++ binding headers with gpgme++/ prefix 2024-07-05 10:05:50 +02:00
t-support.cpp qt: Always include C++ binding headers with gpgme++/ prefix 2024-07-05 10:05:50 +02:00
t-support.h qt: Always include C++ binding headers with gpgme++/ prefix 2024-07-05 10:05:50 +02:00
t-tofuinfo.cpp qt: Replace usage of deprecated Error::asString 2024-07-05 10:05:51 +02:00
t-trustsignatures.cpp qt: Replace usage of deprecated Error::asString 2024-07-05 10:05:51 +02:00
t-various.cpp qt: Replace usage of deprecated Error::asString 2024-07-05 10:05:51 +02:00
t-verify.cpp qt: Always include C++ binding headers with gpgme++/ prefix 2024-07-05 10:05:50 +02:00
t-wkdlookup.cpp qt: Always include C++ binding headers with gpgme++/ prefix 2024-07-05 10:05:50 +02:00
t-wkspublish.cpp qt: Always include C++ binding headers with gpgme++/ prefix 2024-07-05 10:05:50 +02:00