Deploying first Windows app.... compiled... now what.
Okay... I'm new to this Windows gig. Honestly, I'm only doing this so people can use the app. I have no need to run it on Windows.
Having said that, I'm reading around and seeing things like, "copy DLLs from Qt/bin to project directory". Huh? Is that right? I basically just want to make an executable that any who has the Qt libs installed can run. Surely it's not so cumbersome as to require the copying of a bunch of libs (that should be in one place only anyway.
Cheers
Re: Deploying first Windows app.... compiled... now what.
Quote:
basically just want to make an executable that any who has the Qt libs installed can run.
If Qt was installed on the machine, and the the Qt DLLs are registered in the system, all you need is the exe.
The DLLs are needed for machines that DO NOT have Qt installed.
Re: Deploying first Windows app.... compiled... now what.
Hi
Thanks for the response. Yes, Qt is installed (2010.05)... most recent version from Qt's site, w/ mingw as the compiler.
I've got
TARGET=myproject.exe
Then I do
qmake
mingw32-make
It compiles fine. I have my target executable in the project root. It creates 2 subdirectores: debug (which has 2 executables in it...neither of which work due to a missing dll, according to it and a lot of object files) and release, which is empty.
I click on the executable, and I get a DOS window open and close. If I run it from the terminal, it just sits there like a monkey on a rock.
Hmm... doing something wrong I assume.
Re: Deploying first Windows app.... compiled... now what.
Well, I responded to your original post, which was about the need to copy DLLs.
From what you have written in your last post it is clear that missing DLLs are not the porblem, other wise the exe would complain that it cannot find missing DLLs.
To a problem in the behavior of your app, if you need help to debug the problem, I would suggest opening a new thread, since its another problem.
There you should explain what it is the app is supposed to do, and what are the symptoms you are getting.
In addition relevant code would help.