I develop a applacation with qt4.3.1+msvc2005+mysql5,I do not know how to run it without the environments?
I develop a applacation with qt4.3.1+msvc2005+mysql5,I do not know how to run it without the environments?
built your app, add all Qt dlls to your app dir (where exe file is located) then install vcredist_x86 to destentation machine and run your app.
PS. a set of needed dlls your can get using Dependency Walker.
Qt Assistant -- rocks!
please, use tags [CODE] & [/CODE].
what do you mean?
you need just install vcredist_x86 and then run your application.
Qt Assistant -- rocks!
please, use tags [CODE] & [/CODE].
all Qt dlls means that the dlls in the directory ../bin and ../lib?add all Qt dlls to your app dir
in bin, but you don't have ship all Qt dll, pick only that dlls which you an application need.
Qt Assistant -- rocks!
please, use tags [CODE] & [/CODE].
I copy all the dlls in the bin directory and install the vcredist_x86.exe ,but the applaction can not run?
By the way,my development tools is Qt4.3.1+msvc2005+Mysql5+other
GUI Dll.
Please don't start multiple threads on the same subject.
I copy all the dlls in the bin directory and install the vcredist_x86.exe ,but the applaction can not run?
By the way,my development tools is Qt4.3.1+msvc2005+Mysql5+other
GUI Dll.
what kind of error do you get?
Qt Assistant -- rocks!
please, use tags [CODE] & [/CODE].
application failed to initialize properly--OXC0150002
did you apply Dependency Walker to your application?
did it find all needed dlls?
Qt Assistant -- rocks!
please, use tags [CODE] & [/CODE].
Yes,I use.
I copy all the needed dlls to the same directory of exetable.
By the way,
In my application,I compile a dll,and the main application call it.
Now,my question,I think,is with my dll,not because of without some dll.
did you put your dll with the application?
btw, type Deploying an Application on Windows in Qt Assistant and read how to deploy Qt app on Windows.
Qt Assistant -- rocks!
please, use tags [CODE] & [/CODE].
I compile my dll with debug dlls(Qt),and Generate it under the release model.Mybe this cause the error?
of course, all must be in release if you use release version of app.
Qt Assistant -- rocks!
please, use tags [CODE] & [/CODE].
Need I configure the envirenment varables o f the machine?For example,QTIDR=....,
on destination machine which has not installed Qt? no.
Qt Assistant -- rocks!
please, use tags [CODE] & [/CODE].
I have install vc2005,and the applacation can run,I do not know why.
1. I use debug Qt dll to generate my release Dll,Has it to do with it?
2.During install the vc2005,maybe change sth in the register table,Has it to do with it?
Last edited by weixj2003ld; 15th April 2009 at 10:53.
Bookmarks