Fixed bug with Qt plugins not loading from correct path

This commit is contained in:
Nav
2021-09-27 23:09:20 +01:00
parent e6d4af525f
commit fc6d7dfc51
2 changed files with 8 additions and 6 deletions

View File

@@ -52,10 +52,6 @@ void Insight::startup() {
auto targetDescriptor = this->targetControllerConsole.getTargetDescriptor();
#ifndef BLOOM_DEBUG_BUILD
QCoreApplication::addLibraryPath(QString::fromStdString(Paths::applicationDirPath() + "/plugins"));
#endif
this->application.setQuitOnLastWindowClosed(true);
qRegisterMetaType<Bloom::Targets::TargetDescriptor>();
qRegisterMetaType<Bloom::Targets::TargetPinDescriptor>();