diff --git a/app/src/main.cpp b/app/src/main.cpp index 94a905788b8453e9296c299487eca61330d8b4d0..15bdaf5714e60d3df7f6697d3fcc068abcebafe4 100644 --- a/app/src/main.cpp +++ b/app/src/main.cpp @@ -4,7 +4,7 @@ #include <QLocale> #include <QCommandLineParser> #include <QCommandLineOption> -#include <QCoreApplication> +#include <QGuiApplication> #include <QDebug> #include "handlers/confighandler.h" @@ -13,7 +13,7 @@ int main(int argc, char *argv[]) { // Init - QCoreApplication app(argc, argv); + QGuiApplication app(argc, argv); // This is backend program, but need GUI module ConfigHandler *configHandler = new ConfigHandler(); QJsonObject appConfigApplication = configHandler->getAppConfigApplication();