My Application is done, now How I run my app in another PC? (.exe file?)



  • I finish my app early, but I don't know what I have to do from now, to make it an .exe of my Application and then run in another PC? or either in my PC without using QT.
    Have to say that I have some images and .txt files that I'm using that works with my App.

    Thanks for your time.



  • Hi. Have you read deployment guides?
    "Deployment":http://qt-project.org/doc/qt-5/deployment.html
    Also it is very popular question in this forum, try search "deployment".



  • Thanks, sorry for the late reply got so much things to do and can't reply before, but I'm not a native English speaker and that's why I didn't know the word "deployment" is used to that. I apologize and thanks for anwer.



  • If your problem is solved. then please tagged it as <Solved>.

    Thanks



  • For QT 4.x:

    • Copy the exe to another folder [For Example the folder name is MyProgram].
    • Try double clicking the exe.
    • Whatever missing dlls error message comes, just copy those dlls from QT setup bin folder to MyProgram folder one by one

    For QT 5.x
    Same as QT4.x but also add a folder named platforms to your MyProgram Folder. This platforms folder resides inside Plugins folder in the QT installation directory.

    Hope this will solve your problem.



  • The above solution works in both latest Windows and Linux. Tested on Windows XP also.


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.