Qt-interest Archive, November 2007
Re : problem with qt4 when lunching it on another station
Message 1 in thread
Thanks;
I have tried that, but it does not work.
e:\testete\plugins\sqldrivers
Here is my tree. But it does not work yet. Can you help.
regards
Adel
----- Message d'origine ----
De : Alessandro Portale <Alessandro.Portale@xxxxxxxxxxxxx>
à : qt-interest@xxxxxxxxxxxxx
Envoyà le : Jeudi, 8 Novembre 2007, 15h55mn 25s
Objet : Re: problem with qt4 when lunching it on another station
Do you ship the qt pg dll in a "sqldrivers" folder next to the
application? Qt looks there for the sql plugins, by default.
Qt also looks into your "%QTDIR%\plugins\sqldrivers\", that should be
the reason why it works on your development machine.
Good luck,
Alessandro
adel safi schrieb:
> Hi list
>
> I have compiled a program that uses postgressql with QT4.1 on wondows
> XP. I have successufully run it on mu machine. Now I want to give my
> program to someone else and I don t want him to install QT neither
> postgresql (my program request directly a distant server).
>
>
> So, I have prepared a folder with my binary, the qt dll, the dll of
the
> pg driver and the dll of pg. However, when I lunch the program on the
> new machine, my program runs but it tells me that he cannot load the
> database driver. What should I do?
>
> Regards
>
> Adel
--
[ signature omitted ]
Message 2 in thread
I guess the main executable is in e:\testete. So try removing the "plugins" part.
e:\testete\app.exe
e:\testete\otherlibs.dll
e:\testete\sqldrivers\qxyz4.dll
Alessandro
adel safi schrieb:
> Thanks;
> I have tried that, but it does not work.
> e:\testete\plugins\sqldrivers
> Here is my tree. But it does not work yet. Can you help.
> regards
> Adel
>
> ----- Message d'origine ----
> De : Alessandro Portale <Alessandro.Portale@xxxxxxxxxxxxx>
> Ã : qt-interest@xxxxxxxxxxxxx
> Envoyà le : Jeudi, 8 Novembre 2007, 15h55mn 25s
> Objet : Re: problem with qt4 when lunching it on another station
>
> Do you ship the qt pg dll in a "sqldrivers" folder next to the
> application? Qt looks there for the sql plugins, by default.
> Qt also looks into your "%QTDIR%\plugins\sqldrivers\", that should be
> the reason why it works on your development machine.
>
> Good luck,
> Alessandro
>
> adel safi schrieb:
> > Hi list
> >
> > I have compiled a program that uses postgressql with QT4.1 on wondows
> > XP. I have successufully run it on mu machine. Now I want to give my
> > program to someone else and I don t want him to install QT neither
> > postgresql (my program request directly a distant server).
> >
> >
> > So, I have prepared a folder with my binary, the qt dll, the dll of the
> > pg driver and the dll of pg. However, when I lunch the program on the
> > new machine, my program runs but it tells me that he cannot load the
> > database driver. What should I do?
> >
> > Regards
> >
> > Adel
>
> --
> To unsubscribe - send a mail to qt-interest-request@xxxxxxxxxxxxx
> <mailto:qt-interest-request@xxxxxxxxxxxxx> with "unsubscribe" in the
> subject or the body.
> List archive and information: http://lists.trolltech.com/qt-interest/
>
>
>
> ------------------------------------------------------------------------
> Ne gardez plus qu'une seule adresse mail ! Copiez vos mails
> <http://www.trueswitch.com/yahoo-fr/> vers Yahoo! Mail
--
[ signature omitted ]