Unsolved Qt 5.9.4 Sample apps do not start, missing dlls?
-
It does not matter which I try all fail. It also does not matter if I choose release or debug or run in debug mode. If I run in debug mode the debug window stays empty.
On my custom app I ran windeployqt to copy all required dlls into the build folder. After that the my app ran. Therefore I assume that Qt is not finding the right dlls.
-
@Sikarjan If your Qt is installed properly then it should find its DLLs if started from QtCreator.
-
I used the Maintenance Tool to upgrade from 5.6. How can I check that QtCreator was installed properly? I guess some path variable or so needs to be set correctly. Can I check that?
-
@Sikarjan If you create default widget application in QtCreator - does it start from QtCreator without copying any DLLs?
-
No they don't. I already tried to add C:\Qt\5.9.4\mingw53_32\bin to my PATH variable but that did not change anything either.
-
@Sikarjan Then something is definitely broken with your setup. I'm using MinGW + Qt + QtCreator on Windows 7 without any issues. Check your projects settings: in QtCreator on the left side "Projects/Build & Run" got to "Run" settings and check the "Add build library search path to PATH".
-
The checkbox is cheched and I double checked that the C:\Qt\5.9.4\mingw53_32\bin is added to both the system and the user PATH variable.
So I guess the next thing I can try is to do a fresh install...
-
Hi
Make sure there is not a paths in PATH that points to a program folder
containing Qt dlls. (besides the actual Qt folder) -
I just did a fresh install with Qt 5.9.5 and I am still facing the same problem. All apps only run if I copy the Qt dlls into their build folder.
I am on a company laptop but I do have admin rights. There is some kind of Symantec protection installed. Could this be related?
-
@Sikarjan-0
well yes, i had such issue with Avast at some point.