Windows 10 Deployment Error, 0xc000007b
-
Hello I'm using Qt 5.15.2 and mingw81_64. I build an app that is very simple for windows, the only part that is not very common is the use of the serial port. The application works great when is launched in Qt Creator.
I tried to run it from the exe folder, after I used deployqt.exe and I copied also the other missing dll but I receive the following error:
The folder with the exe looks like this:
I followed the steps from official documentation and from an Udemy lesson.
I tried with different apps, simple as "Hello World" but I receive the same problem. Did someone manage to deploy a win10 app with qt 5.15.2?
Should I try other version of qt? Or this is a common problem, I read the other posts with the same problem but nothing worked for me. Any suggestions? -
Even though I am not a Windows expert, 0xc000007b means that a shared library could not be loaded.
While use the 64bit version of minGW, you have provided the 32bit version of opengl. You may wanna try opengl64 instead. You can also start your .exe from a command line window and have a look at the output to obtain more details.