Load resources manually at startup since they are now in a static library.
This commit is contained in:
@@ -99,6 +99,9 @@ static bool setup_handlers()
|
||||
|
||||
int main(int argc, char *argv[])
|
||||
{
|
||||
Q_INIT_RESOURCE(commonrc);
|
||||
Q_INIT_RESOURCE(translations);
|
||||
|
||||
if(SingleCoreApplication::sendMessage("Another instance of Qcma tried to start")) {
|
||||
QTextStream(stdout) << "An instance of Qcma is already running" << endl;
|
||||
return 0;
|
||||
|
@@ -40,6 +40,6 @@ HEADERS += \
|
||||
OTHER_FILES += \
|
||||
resources/xml/psp2-updatelist.xml
|
||||
|
||||
RESOURCES += common.qrc translations.qrc
|
||||
RESOURCES += commonrc.qrc translations.qrc
|
||||
|
||||
PKGCONFIG = libvitamtp libavformat libavcodec libavutil libswscale
|
||||
|
@@ -79,6 +79,9 @@ static bool setup_handlers()
|
||||
|
||||
int main(int argc, char *argv[])
|
||||
{
|
||||
Q_INIT_RESOURCE(commonrc);
|
||||
Q_INIT_RESOURCE(translations);
|
||||
|
||||
if(SingleApplication::sendMessage(QObject::tr("An instance of Qcma is already running"))) {
|
||||
return 0;
|
||||
}
|
||||
|
Reference in New Issue
Block a user