How to run a Qt Program without Qt itself being installed?

后端 未结 8 952
广开言路
广开言路 2021-02-09 07:00

I have written a program with Qt5.3.1 and run it on my development machine where it works fine. I copied all necessary .dll files into the folder where my .exe is. These are:<

8条回答
  •  无人及你
    2021-02-09 07:17

    I have encountered this problem as well,

    In your Qt Directory, with the proper Qt version C:\Qt\Qt5.2.1\5.2.1\mingw48_32\plugins\platforms\

    copy qwindows.dll into a new folder that lives next to your executable, such that your list would be

    • Qt5Widgets.dll
    • Qt5Network.dll
    • Qt5Gui.dll
    • Qt5Core.dll
    • icudt51.dll
    • icuin51.dll
    • icuuc51.dll
    • libgcc_s_dw2-1.dll
    • libwinpthread-1.dll
    • libstdc++-6.dll
    • platforms/qwindows.dll

提交回复
热议问题