appstream
appstream copied to clipboard
Issue cross-compiling appstream-qt
Hi,
Building appstream-qt in a cross-compilation setup (yocto) yields to:
| In file included from /home/marc/mnt/yocto-kde/build/tmp/work/x86_64-linux/appstream-native/1.0.3/recipe-sysroot-native/usr/include/QtTest/QtTest:11,
| from ../AppStream-1.0.3/qt/tests/asqt-pool-test.cpp:21:
| ../AppStream-1.0.3/qt/tests/asqt-pool-test.cpp: In function ‘int main(int, char**)’:
| ../AppStream-1.0.3/qt/tests/asqt-pool-test.cpp:117:1: error: expected primary-expression before ‘)’ token
| 117 | QTEST_MAIN(PoolReadTest)
| | ^~~~~~~~~~
This is using the Scarthgap (5.0) release along with Qt 6.7.
Any help appreciated!