Deploying Qt C++ Application from Visual Studio qwindows.dll error

后端 未结 3 551
囚心锁ツ
囚心锁ツ 2020-12-10 15:58

I\'ve been googling for a solution to this issue and although I\'ve found many people sharing my problem none of their solutions work for me.

I wrote a C++ applicati

3条回答
  •  生来不讨喜
    2020-12-10 16:33

    The release is likely missing a library/plugin or the library is in the wrong directory and or from the wrong directory.

    Qt intended answer: Use windeployqt.

    Qt comes with platform console applications that will add all dependencies (including ones like qwindows.dll and libEGL.dll) into the folder of your deployed executable. This is the intended way to deploy your application, so you do not miss any libraries (which is the main issue with all of these answers). The application for windows is called windeployqt. There is likely a deployment console app for each OS.

提交回复
热议问题