Application deployed with QT5 libraries does not start on Windows 7

前端 未结 8 1458
爱一瞬间的悲伤
爱一瞬间的悲伤 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: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.

提交回复
热议问题