PDA

View Full Version : Qt with MinGW, compiling problem



nileshsince1980
25th September 2007, 07:11
Hi
I am using Win XP and MinGW 5.0, Qt 4.2.3
I am tring to compile Qt application with MinGW.
Here are are command sequence
C:\qmake -project
C:\qmake
C:\mingw32-make

but I am getting following error

mingw32-make -f Makefile.Release
mingw32-make[1]: Entering directory `C:/Project/test/mingwtest/nodeTestSDI'
Makefile.Release:83: *** missing separator. Stop.
mingw32-make[1]: Leaving directory `C:/Project/test/mingwtest/nodeTestSDI'
mingw32-make: *** [release] Error 2

Could any body tell me what is wrong in it ?
line 83 contains following

80:{release}.cpp{release\}.obj::
81: $(CXX) -c $(CXXFLAGS) $(INCPATH) -Forelease\ @<<
82: $<
83:<<
84:
85:{release}.cc{release\}.obj::
86: $(CXX) -c $(CXXFLAGS) $(INCPATH) -Forelease\ @<<
87: $<
88:<<
89:
90:{release}.cxx{release\}.obj::
91: $(CXX) -c $(CXXFLAGS) $(INCPATH) -Forelease\ @<<
92: $<
93:<<
94:
95:{release}.c{release\}.obj::
96: $(CC) -c $(CFLAGS) $(INCPATH) -Forelease\ @<<
97: $<
98:<<

jpn
25th September 2007, 09:00
I'd suggest trying out the version of MinGW that is bundled in (or actually downloaded by) the Qt binary installer. It's guaranteed to work nicely along with Qt.