[Qt-interest] Somthing about Qt install and deploy!

Josh jknox at irobot.com
Fri Jan 29 15:55:29 CET 2010


lvbing lvbing wrote:
> Hi
> I have some trouble when I install the Qt4.5.3 at WinXP and VS2008.
> at first I install the Qt at my OS like F:\Qt\4.5.3.
> then use the "configure -no-webkit" and name later.
> and all is ok.
> then, I move the fole f:\Qt\4.5.3 to another folder: d:\Qt\4.5.3.
>
> and now the program is: when I use the qmake to compile my program like the
> Qt example,
> it does not work,it tell me the infomation like this:
>  "Could not find mkspescs for your MAKESPECS(win32-msvc2008) after trying:
>               F:\Qt\4.5.3\mkspecs".
>
> then I set the env QMAKEPATH=D:\Qt\4.5.3
> I can qmake my progrpam.
> but,when I user the assistant,it tell me some infomation like this:
> "Cannot load sqlite database driver!"
>
> and all the ui language is english,but it should chinese.
>
> so, who can help me how can I deal the trouble?
> if I only have to reconfiure it and nmake it again?
> thanks all
>
>   
Try making a file "qt.conf" in your Qt's bin/ directory, where qmake is 
installed.

Put these 2 lines in qt.conf:

[Paths]
Prefix=$(QTDIR)


That seems to be the "accepted" way to use a Qt install that you've 
relocated.





More information about the Qt-interest-old mailing list