AFAIR Qt installer wants this: http://prdownloads.sf.net/mingw/w32a...ar.gz?download
AFAIR Qt installer wants this: http://prdownloads.sf.net/mingw/w32a...ar.gz?download
I downloaded 3.2 and it give an warning while installing Qt.
But, when compiling my simple app.
I get a link error which states
c:\mingw\include\stddef.h(6)
fatal error:C 1021:invalid preprocessor command 'include_next'
I have set the path, linker options in VC 2005
Please help
Thansk in advance
SD
Which compiler do you use?Originally Posted by Shwetha
Visual C++ 2005
Qt Open Source edition doesn't support Visual C++ --- only MinGW.Originally Posted by Shwetha
I am still unsuccessful. could you please tell me if I am following the right steps
1. Set the PATH
2. Run 'configure ' from \Qt4.1.2
3. mingw32-make which fails with error messages related to C:\Qt\4.1.2\src\gui
( assuming this step will not effect)
4. go to tutorial directrory and type qmake -project -main.cpp
5. qmake which will generate the exe in release folder
Please let me kwow where I am going wrong.
Thanks
Shwetha
What error do you get exactly?
You can find all MinGW releases here: http://prdownloads.sourceforge.net/mingw/
but better try the version that is bundled with Qt.
yes, I installed
MinGW-3.2.0-rc-1.exe
MinGW-3.2.0-rc-2.exe
MinGW-3.2.0-rc-3.exe
from the website you mentioned.
The error I get is
[tmp\obj\debug_shared\qwindowsxpstyle.o] Error 1
C:\qt\4.1.2\src\gui
Cannot find QtGuid4
thansk again for responding so quickly![]()
Is that the first error you get?
No, while I run my step 3, I get a bunch of errors.
But it aborts and display this message at the end
mingw32-make: ***[tmp\obj\debug_shared\qwindowsxpstyle.o] Error 1
leaving directory C:\Qt\4.1.2\src\gui
***[ debug_all]Error 2 Leaving directory c:\Qt\4.1.2\src\gui
*** [ sub_gui_make_default_ordered] Error 2
Leaving directory C:\Qt\4.1.2\src
***[sub-src-make-default ordered] Error 2
And what was the first error message?
styles\qwindowsxpstyle.cpp 2469: error 'ABS_UPPRESSED'
undeclared<first use this function>
Bookmarks