简体   繁体   中英

Qt visual studio building

I have ms visual studio solution with qt project. When I working from visual studio all works fine. When I try to run *.exe file from building folder I see message that say Qt5Guid.dll(and other dll's) is not found. What settings need to be changed that QT dll's moves to general building folder?

You can find in Qt installation dir application windeployqt .

Run it like this:

windeployqt --debug <path-to-app-binary>

It will deploy all needed Qt files to your application's folder. You can read more about deploying here: https://doc.qt.io/qt-5/windows-deployment.html

Also you can try to add directory of Qt to PATH variable

(Thanks king_nak and drescherjm)

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM