PDA

View Full Version : problem while building



mohanakrishnan
27th October 2009, 12:31
im using qt 4.5 mingw in windows xp
if i run the below command in the qt installed path

pls see the below ..... this is what i hav run...

Setting up a MinGW/Qt only environment...
-- QTDIR set to C:\Qt\2009.04\qt
-- PATH set to C:\Qt\2009.04\qt\bin
-- Adding C:\Qt\2009.04\bin to PATH
-- Adding C:\WINDOWS\System32 to PATH
-- QMAKESPEC set to win32-g++

C:\Qt\2009.04\qt>mingw32-make sub-src
mingw32-make: *** No rule to make target `sub-src'. Stop.

C:\Qt\2009.04\qt>cd..

C:\Qt\2009.04>mingw32-make sub-src
mingw32-make: *** No rule to make target `sub-src'. Stop.
(i tried this because im building mysql plugin...)
thanks and regards....

wysota
27th October 2009, 13:07
Did you run configure first? If you're only building one sql plugin there is no need to recompile all Qt libraries and that is what essentially will happen if you call make sub-src.

mohanakrishnan
28th October 2009, 04:19
hi
thanks for ur reply now im running
configure.exe -debug-and-release -platform win32-g++

it runs for long time...
thanks

squidge
28th October 2009, 07:57
Thats correct. Also the parameters you pass are the defaults, so just ./configure would do.

mohanakrishnan
28th October 2009, 12:29
hi
finally i connected mysql from qt..thanks to all for ur responses...
:D:D