PDA

View Full Version : Qt 4.4.0 compilation Error?



mismael85
2nd July 2008, 09:06
hi,:)
first i build Qt 4.3.2 easy.
so i followed the same way with Qt 4.4.0
1- i configured the Qt by writing "configure"
in the visual studio command prompt.
every thing fine untill now.
but when i execute nmake i get an error saies can not access the following file vc8.pdb.
this was not happening happen in Qt4.3.2
so what is the problem?
please help me.
thank you.:D

lyuts
2nd July 2008, 10:24
What does 'configure' say about spec? is it win32-msvc?

mismael85
2nd July 2008, 10:38
i just write "configure"
i did not determine the platform.

mismael85
3rd July 2008, 06:33
i reconfigured the Qt with the following command

C:\Qt\4.4.0>configure -platform win32-msvc2005 -debug-and-release -fast -qt-sql-
sqlite2 -no-qt3support -vcproj
but when i compile it with nmake i get the following error

drivers\sqlite2\qsql_sqlite2.cpp(61) : fatal error C1083: Cannot open include fi
le: 'sqlite.h': No such file or directory
NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio 8\VC\BIN\c
l.EXE"' : return code '0x2'
Stop.
NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio 8\VC\BIN\n
make.exe"' : return code '0x2'
Stop.
NMAKE : fatal error U1077: 'cd' : return code '0x2'
Stop.
can you help me please?

ChristianEhrlicher
3rd July 2008, 08:02
Since you enabled sqlite2 you also have to provide the headers and libs for sqlite2 since they're not shipped with qt. See configure options '-I' and '-L'

mismael85
3rd July 2008, 08:27
so, how can i build it with sqlite2
i have the sqlite sources i downloaded it from there site.
how can i add these sources to the Qt?

ChristianEhrlicher
3rd July 2008, 09:23
how can i add these sources to the Qt?

Read my post more carefully - I already answered this question :rolleyes:

mismael85
3rd July 2008, 09:59
do you mean that i should add -I to the configure command to be

C:\Qt\4.4.0>configure -I -platform win32-msvc2005 -debug-and-release -fast -qt-sql-
sqlite2 -no-qt3support -vcproj