Load resources manually at startup since they are now in a static library.

This commit is contained in:
codestation
2015-12-27 22:32:08 -04:30
parent 5f508fa47c
commit 6eeba0b71a
4 changed files with 7 additions and 1 deletions

View File

@@ -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;