RJVB / macstrop

RJVB's repository of alternative macports, with ports missing from or overriding those in the standard collection, including a set of KF5 ports.
20 stars 9 forks source link

kf5-kconfig: linker error #55

Closed Tatsh closed 4 years ago

Tatsh commented 4 years ago
:info:build Undefined symbols for architecture x86_64:
:info:build   "KConfigTest::testQStringUtf8()", referenced from:
:info:build       KConfigTest::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) in mocs_co
mpilation.cpp.o
:info:build   "KConfigTest::testQStringUtf8_data()", referenced from:
:info:build       KConfigTest::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) in mocs_co
mpilation.cpp.o
:info:build ld: symbol(s) not found for architecture x86_64

main.log

Tatsh commented 4 years ago

This is compiling against qt5-kde-devel.

RJVB commented 4 years ago

OK, I understand. I missed the fact that there's a kconfigtest.h header which declares the slots. That means a bit more subtle surgery is needed.

BTW, if you run into issues with other frameworks, check them for a +qt59kde variant, which is supposed to enable codepaths relying on the Qt 5.10 stuff I backported into qt5-kde-devel . Both should work of course (with and without the variant, I mean).