Do you use the "Qt command prompt" (there's a link in Start menu in the same place as links to Qt Designer and other Qt tools)?
Do you use the "Qt command prompt" (there's a link in Start menu in the same place as links to Qt Designer and other Qt tools)?
thanks jecek for ur reply.
i tried with it, but still the problem persists. im mentioning the details here, pls hv a look at it
1. after i entered into qt command prompt the following msg appeared:
"Setting up a MinGW/Qt only environment...
-- QTDIR set to C:\Qt\4.3.0
-- PATH set to C:\Qt\4.3.0\bin
-- Adding C:\MinGW\bin to PATH
-- Adding C:\WINDOWS\System32 to PATH
-- QMAKESPEC set to win32-g++ "
2. i wrote hello.cpp and did "qmake -project;qmake;make", but it gave this error:
"C:\Qt\4.3.0\swamy\hello>make
mingw32-make -f Makefile.Release
Makefile.Release:116: *** multiple target patterns. Stop.
mingw32-make[1]: Entering directory `C:/Qt/4.3.0/swamy/hello'
mingw32-make[1]: Leaving directory `C:/Qt/4.3.0/swamy/hello'
mingw32-make: *** [release] Error 2"
I compiled qt-4.3.0 and mingw and configured qt like this:
c:\qt\4.3.0\configure.exe -platform win32-g++
what went wrong..pls suggest and help...thank u.
Make sure INCLUDE and LIB env vars do not contain paths to msvc include & library dirs and rerun qmake.
This is only problem of the path .
Properly set the PATH which is specify in Qt command prompt into Environment variables.....
I hope it will help you
Did you included these elements into your path?
C:\MinGW\bin;C:\MinGW\libexec\gcc\mingw32\3.4.2;C: \MinGW\lib;C:\MinGW\include
thanks guys,,,
yes, i came to know abt that mvc variables in the include and lib path last night. and finally, what i tried is using plain zipped version of qt-4.3.0 (not min-exe version). i got it right in compilation, i hv not exected any qt programs yet..but im sure it will be thru. thank u very much for ur suggestions..
bye
Bookmarks