QCoreApplication or QApplication calls are hanging the executable
-
I call them to set library paths ( QApplication::setLibraryPaths(QStringList() << rootPath << pluginsPath); ) ant it seems to work perfectly... but in a couple of computers.
Also, it is even weirder since it only happens since I've updated to 5.14.4 in previous versions (5.3.2) it was working flawlessly in any computer, obviously I've provided the required dependencies like the updated Qt5Core.dll and so.
I'm totally running out of ideas so any tip is really welcome!
-
I call them to set library paths ( QApplication::setLibraryPaths(QStringList() << rootPath << pluginsPath); ) ant it seems to work perfectly... but in a couple of computers.
Also, it is even weirder since it only happens since I've updated to 5.14.4 in previous versions (5.3.2) it was working flawlessly in any computer, obviously I've provided the required dependencies like the updated Qt5Core.dll and so.
I'm totally running out of ideas so any tip is really welcome!
-
It still happens even using Qt deploy tool, also Microsoft Process Monitor (procmon) didn't showcased any problem.
btw my code is as simple as
#include "mainwindow.h" #include <QApplication> int main(int argc, char *argv[]) { QApplication a(argc, argv); MainWindow w; w.show(); return a.exec(); }being MainWindow a default window, but the software gets freezed on the QApplication.
-
I ran into "weird errors" when the deploy tool didn't match the exact version of the qt version used to compile against. I assume you did a clean before compiling against 5.14.4? How do you run your deploy tool? Command line environment matching version 5.14.4?
-
I ran into "weird errors" when the deploy tool didn't match the exact version of the qt version used to compile against. I assume you did a clean before compiling against 5.14.4? How do you run your deploy tool? Command line environment matching version 5.14.4?