Application deployed with QT5 libraries does not start on Windows 7

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

    for notepad tutorial, on win7 & qt5.1.1

    the deploy steps is:

    * change build mode to release, not debug,
    * build,
    * create a output folder somewhere
        e.g. desktop/notepad/
    * 
    * copy file to output folder
        file list:
        * from "workspace_home/build-notepad-xxx-Release/release"
            * notepad.exe
        * from "qt_home/5.1.1/msvc2010/bin"
            * icudt51.dll
            * icuin51.dll
            * icuuc51.dll
            * libEGL.dll
            * libGLESv2.dll
            * Qt5Core.dll
            * Qt5Gui.dll
            * Qt5Widgets.dll
            * 
        * from "qt_home/5.1.1/msvc2010/plugins/platforms"
            * platforms/ (need to create this sub folder in the output folder)
                * qwindows.dll
            * 
        * 
    * 
    * run the .exe file, make sure it works,
    * 
    * ok
    * 
    

提交回复
热议问题