kossebau added a comment.
> The ECM QM Loader uses Q_COREAPP_STARTUP_FUNCTION which doesn't work for things loaded as plugins like QML modules. Curious, where it exactly does it fail to work? Q_COREAPP_STARTUP_FUNCTION being nvoked during lib loading after the QApp instance exists still should result in the startup function to be executed from what I remember and just looked at again in the code (https://code.woboq.org/qt5/qtbase/src/corelib/kernel/qcoreapplication.cpp.html#286), see the if (QCoreApplication::instance()) p(); So, what am I missing? :) REPOSITORY R169 Kirigami REVISION DETAIL https://phabricator.kde.org/D25984 To: broulik, #kirigami, #frameworks, kossebau, aacid, sitter Cc: plasma-devel, fbampaloukas, GB_2, domson, dkardarakos, ngraham, apol, ahiemstra, davidedmundson, mart, hein