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?
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.
I have installed 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?
No,I have installed it.After install it,Do I need to configure sth?
0. build your app and put all needed dlls with executable.
1. install vcredist on dest machine.
2. copy your app with dlls on dest machine.
3. run your app.
that's all what you need to do.
Qt Assistant -- rocks!
please, use tags [CODE] & [/CODE].
You must not use any debug dlls in your release application.
John
If I want to install my software on the user machine(without vc++2005),Must I install vcredist first?
Bookmarks