32-bit Qt application on win 7 x64 won't run, but runs fine from Qt Creator?

后端 未结 4 1391
甜味超标
甜味超标 2021-01-05 16:42

My development box is Windows 7 x64. I have both 32-bit and 64-bit versions of Qt 4.7.4 built on my box. When I configure my app to use the 32-bit version of Qt, it runs f

4条回答
  •  南笙
    南笙 (楼主)
    2021-01-05 17:08

    Simply add the three missing dll files:

    • libwinpthread-1.dll
    • libstdc++-6.dll
    • libgcc_s_dw2-1.dll

    to the folder of appl.exe . For my system, that would be into the directory C:\Users\H\Documents\build-AQtest01v4-Desktop_Qt_5_11_0_MSVC2017_64bit-Debug. Copying those libraries should make your application work. On my system those dlls can be found in C:\Qt\Tools\mingw492_32\bin.

提交回复
热议问题