Cannot properly deploy application
-
Hello,
I have created a program using QT creator and while it runs fine on the system I created it on it will not work on any other system. After trying a few different programs that created installation files for me I discovered this tutorial: http://wiki.qt.io/Deploy_an_Application_on_Windows
I used Dependancy Walker to help find the dll files i needed and copy pasted them where they needed to be. This allowed me to run the exe on the system without qt being open. After followng the tutorial I've reached my current point.
the program will run fine if QT is installed but when i rename the folder and make it a "clean" system I get the following errors: First Second
I have no idea what to do now. For the record, I am not a programmer. I decided to make this program on a whim and spent nearly 48 hours learning the basics just to make a program that I'm sure a real programmer could have done in a fraction of the time.
-
JKSH Moderatorsreplied to Brooklyn11218 on 12 Jun 2015, 11:32 last edited by JKSH 6 Dec 2015, 11:33
Hi @Brooklyn11218, and welcome to the Qt Dev Net!
I used Dependancy Walker to help find the dll files i needed and copy pasted them where they needed to be. This allowed me to run the exe on the system without qt being open. After followng the tutorial I've reached my current point.
Unfortunately, Dependency Walker doesn't detect all the DLLs that you need.
This is a more thorough approach: http://wiki.qt.io/Deploy_an_Application_on_Windows -- carefully follow the instructions under "Initial deployment (Quick and dirty)".
-
@JKSH Actually that's the tutorial I followed! I must have linked the wrong one when I made this post. I had so many tabs open. Thanks for pointing it out!
But yeah. even following it I still have the issue...
EDIT: one my second go round, you were right. I had not copied all the plugin folders from the ming directory. Thank you so much for your help @JKSH
1/3