Important: Please read the Qt Code of Conduct -

Unable to run Application compiled by QT creator in other windows machine

  • Lifetime Qt Champion

    Hi and welcome to devnet,

    Please search the forum a bit. That question as been asked and answered many times.

    You have the Windows deployment guide in Qt's documentation, you have an excellent wiki entry describing the basics and now there's also the windeployqt tool.

  • @jitu059_Lalat The long and short if it are, you have two ways to do this:

    1. Find all the dll's that your app depends on. You can do this with the tool Once you found all the dll's copy them into the same folder as your executable. This is now your "delivery package" you will copy the executable + dlls from PC to PC. This method is perhaps a bit easier/faster in the short term, but when you compile with different versions of Qt/Windows you may require a different set of dlls (i.e. Qt4 Dlls don't match Qt5 Dlls).

    2. Download the Qt source code and compile it for static linking. Then when you build your code you will get a much larger executable file, but it will contain everything it needs - a standalone executable. This is perhaps a bit more work on your part, but master this and it makes deploying your project from PC to PC much easier.

    Have a go at one or other method, if you get stuck then ask again. But as SGaist said, there is lots of documentation out there already : )