Corrected issues with building and packaging

This commit is contained in:
Nav
2021-04-14 23:17:30 +01:00
parent d76b1e3f24
commit e79b3a42fb
8 changed files with 37 additions and 15 deletions

View File

@@ -51,7 +51,7 @@ void Insight::startup() {
std::string qtAppName = "Bloom";
char* appArguments[] = {qtAppName.data()};
auto appArgCount = 1;
// QCoreApplication::addLibraryPath(QString::fromStdString(Application::getApplicationDirPath() + "/plugins"));
QCoreApplication::addLibraryPath(QString::fromStdString(Application::getApplicationDirPath() + "/plugins"));
QCoreApplication::setAttribute(Qt::AA_ShareOpenGLContexts, true);
this->application = new QApplication(appArgCount, appArguments);