[Qt-interest] Problem with my first deployment

Velusamy, Baskar Baskar.Velusamy at chevron.com
Fri Feb 12 05:40:00 CET 2010


Hi 
Please read following link,  that may help.  Did you copy all QT
"plugin" directory to target machine ?

http://doc.trolltech.com/qq/qq10-windows-deployment.html

-Baskar Velusamy
Chevron

-----Original Message-----
From: qt-interest-bounces at trolltech.com
[mailto:qt-interest-bounces at trolltech.com] On Behalf Of Nikolay
Moskvichev
Sent: Thursday, February 11, 2010 8:30 PM
To: qt-interest at trolltech.com
Subject: Re: [Qt-interest] Problem with my first deployment

Hello, huzifa trkawi
11.02.2010 23:21 you wrote:
> hi folks : 
> 
> i build a small application just to try it's deployment process on
other 
> machine and things get very ugly their and i am in desperate need of
help . 
> my application is simple dialog and retrieve data from sqlite db and 
> also depend on the following dll : QTCore4 QtGui4 QtSql4 and one
plug-in 
> qsqlite4.dll 
> i packaged those dll's with the executable & redistributables in setup

> file and went to target machine , windows show me big error message , 
> when i used dependecy walker he showed me that dwmapi.dll is missing ,
i 
> uninstall IE7 as one programmer advice me on one blog . 
> finally me program get executed with error message before dialog
showed 
> up " can't load data base driver " 
> here is my pro file : 
> 
> TEMPLATE = app 
> QT += sql
> CONFIG -= release
> LIBS += QtGui4.lib \
>         qtmain.lib \
>         QtSql4.lib \
>         QtCore4.lib \        
>         D:\qt\plugins\sqldrivers\qsqlite4.lib
> TARGET =
> DEPENDPATH += .
> INCLUDEPATH += .
> 
> # Input
> HEADERS += Dialog.h
> FORMS += samplePro.ui
> SOURCES += dialog.cpp main.cpp
> 
> 
> iam using MSVS2005 SP1 on Win-xp sp3    and qt 4.2.3
> thanks for he
> 
> 
>       

How did you install MSVS2005 SP1 run-time on the target mashine?
_______________________________________________
Qt-interest mailing list
Qt-interest at trolltech.com
http://lists.trolltech.com/mailman/listinfo/qt-interest




More information about the Qt-interest-old mailing list