Load resources manually at startup since they are now in a static library.
This commit is contained in:
1 parent
5f508fa47c
commit
6eeba0b71a
4 files changed
+7
-1
No files matched your search
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user