Application deployed with QT5 libraries does not start on Windows 7

前端 未结 8 1455
爱一瞬间的悲伤
爱一瞬间的悲伤 2020-12-05 04:37

Recently we have been migrating our QT based application on Windows from QT 4.8 to QT 5, and we have run into a issue with deployment. Note that our app has not changed, we

相关标签:
8条回答
  • 2020-12-05 05:09

    For me to run standalone "Hello World" gui application ( Qt sdk 5.0.1 mingw, Win7 x64 ). I need to add next files to program dir:

    1. platforms/qwindows.dll
    2. D3DCompiler_43.dll
    3. icudt49.dll
    4. icuin49.dll
    5. icuuc49.dll
    6. libEGL.dll
    7. libgcc_s_sjlj-1.dll
    8. libGLESv2.dll
    9. libstdc++-6.dll
    10. libwinpthread-1.dll
    11. Qt5Core.dll
    12. Qt5Gui.dll
    13. Qt5Widgets.dll

    The full deployment information for windows available at qt 5.5 doc

    0 讨论(0)
  • 2020-12-05 05:15

    After several days of search with no progress, we stumbled upon a QT bug:

    https://bugreports.qt.io/browse/QTBUG-28766

    With QT5, in addition to expected QT libraries, msvcr100.dll, and msvcp100.dll; it turns out that you have to ship your application with:

    platforms/qminimal.dll
    platforms/qwindows.dll
    

    as well. Which is found in your local QT5 library install @: \Qt5.0.0\5.0.0\msvc2010\plugins\platforms I searched everywhere, and I was unable to find this info in their documentation.

    0 讨论(0)
提交回复
热议问题