The procedure entry point _ZNSt3pmr20get_default_resourceEV could not be located in the dynamic library Qt6Gui.dll, Qt6Widgets and Qt6Core.dll
-
App runs normally within the QT Creator but when I tried to run exe message "missing dll files" appeared, then used the windeployqt.exe and generated the DLLs. Now, The message "The procedure entry point _ZNSt3pmr20get_default_resourceEV could not be located in the dynamic library Qt6Gui.dll" pops up and the app doesn't work as well!
I searched a lot and couldn't find any solution for weeks! -
windeployqt picked up the wrong dlls - make sure the correct ones (the ones your project inside QtCreator is using) is used by windeployqt. Imo windeployqt uses the first dlls found in the PATH env var.
-
This post is deleted!
-
@Christian-Ehrlicher
how to get the correct -QtCreator- DLLs? and force the windeployqt to pick the right files? -
Christian Ehrlicher Lifetime Qt Championreplied to Mahmoud_Hussien on last edited by Christian Ehrlicher
@Mahmoud_Hussien Look in your QtCreator kit settings to see what Qt your project is using.
-
@Christian-Ehrlicher
I don't use it 😅! Is there another way to know? -
Christian Ehrlicher Lifetime Qt Championreplied to Mahmoud_Hussien on last edited by Christian Ehrlicher
@Mahmoud_Hussien said in The procedure entry point _ZNSt3pmr20get_default_resourceEV could not be located in the dynamic library Qt6Gui.dll, Qt6Widgets and Qt6Core.dll:
I don't use it
App runs normally within the QT Creator
First you say you use QtCreator, then you deny it... what now?
/edit: corrected my post above --> git -> kit :D
-
@Christian-Ehrlicher
Now what? 😂 -
@Mahmoud_Hussien said in The procedure entry point _ZNSt3pmr20get_default_resourceEV could not be located in the dynamic library Qt6Gui.dll, Qt6Widgets and Qt6Core.dll:
Now what?
Look what Qt version and from where this kit is using - scroll down.
-
@Christian-Ehrlicher
Sorry for my unawareness! but really I can't find the path for the right files.
Note: I copied the dlls from "QT\6.2.3\mingw_64\bin" once but the same message pops up. -
You see that you're using the Qt version 6.2.3. MinGW-64bit. Go to the Qt versions page and see where this version is located.
-
@Christian-Ehrlicher
located in "QT\6.2.3\mingw_64\bin" where I did copy the dlls before. -
i can confirm i have same issue (so far unsolved), doing tips from @Christian-Ehrlicher did not help
-