Why do you want to create an instance on QCoreApplication in a shared library?
I believe all you need would be few static calls, which can be always used without instance.
I suggest to not to use
qApp->applicationDirPath()
qApp->applicationDirPath()
To copy to clipboard, switch view to plain text mode
, instead use
QCoreApplication::applicationDirPath()
To copy to clipboard, switch view to plain text mode
further you can get the instance using
QCoreApplication app = QCoreApplication::instance();
To copy to clipboard, switch view to plain text mode
then you can use
app->setProperty(..);
app->setProperty(..);
To copy to clipboard, switch view to plain text mode
Bookmarks