PDA

View Full Version : Installing Qt Second time, not so smooth...



winston2020
16th January 2009, 12:39
Hi. I've decided I'd like to use the qtsql package, so I have to reconfigure my installation. However, I remember having a great deal of trouble the first time, and this time I can't get it to work at all. I've extracted the source code, and am attempting to run the following command:



configure -qt-sql-mysql -plugin-sql-mysql -qt-gif -qt-libpng -qt-libtiff -qt-libjpeg -phonon -webkit -platform win32-msvc


And I get a long list of errors like this:



del qbitarray.obj
Could Not Find C:\QT\4.4.3\qmake\qbitarray.obj
del qbuffer.obj
Could Not Find C:\QT\4.4.3\qmake\qbuffer.obj



Any ideas what I messed up?

jpn
16th January 2009, 17:03
What if you run 'make confclean' before configure?

winston2020
16th January 2009, 20:33
What if you run 'make confclean' before configure?

Thanks, but I tried that before and it didn't work. Turns out the problem was fixed by running the configuration in the visual studio 2008 cmd prompt instead of good old system32\cmd.exe

Although I still don't know what the problem actually was. If anyone thinks they know, I'd like to find out the cause here.

jpn
16th January 2009, 21:30
Hard to say but something in the environment was confusing. The visual studio command prompt ensures that for example suitable tools come first in PATH etc.