Qt6.24 deploy software with release issues
-
Qt6.24发布软件运行报错:the procedure entry poiint _ZNSt3pmr20get_default_res
ourceEv could not be located in the dynamic link library C:\Code\Qt\SPR\software\Qt6Gui.dll
C:\Code\Qt\SPR\software\Qt6Network.dll
C:\Code\Qt\SPR\software\Qt6Core.dll
C:\Code\Qt\SPR\software\Qt6Widgets.dll
then exit automatically -
A bit of guessing in the dark: The missing symbol
get_default_resource
looks likestd::pmr
is used but your compiler (unlikely because you have compiled Qt code) or the target system (more likely because that’s where you get the error) don’t support C++17. -
@Axel-Spoerl ,would you like to give me your answer?
-
You have my answer.
If you need more information, share more data.
Your code, your cmake or qmake files.
Which system do you compile on? Where do you try to run the executable? -
Dear Axel Spoerl:
It's so glad i have your reply,i design a new software with Qt6.24 ,i plan to release a first edition with tool Windeployqt.exe,it show up error when i finished that and run my application,i will provide you my source code,you can do a test ,and find issues out,it seems that i can not up load zip file contain my sourcecode,would you like give me other contact way?email address or clould space?
thanksbest reguards
Sam -
@Axel-Spoerl ,
my email address:906279042@qq.com or faith_sys@hotmail.com -
Usually this issue means you forgot to add the MinGW bin directory to the PATH environment variable when running your application.
Or if it's a deployed application, then the relevant MinGW dlls were likely not deployed together with the application executable. -
@Croitor-Alexandru
not it's not a problem,i have solved it ,that is because i deploy it with dos mode under windows,so issues showed up ,i have to do this under dos of mingw64 Qt6.24,now it's ok,anyway thanks a lotbest reguards
Sam