[SOLVED] Make error: **** missing operator for first qt program
-
Hi, I'm trying to compile my first program. Either from the book (C++ programming with Qt4) or from this tutorial:
http://doc.qt.digia.com/4.3/qmake-tutorial.htmlBut I'm always getting the same error when I'm trying to run make.
Cmd.exe:
[quote]
C:\qtbookexamples\chap01\hello>make
make -f Makefile.Debug
make [1]: Entering directoryC:/qtbookexamples/chap01/hello' Makefile.Debug:59: *** missing separator. Stop. make [1]: Leaving directory
C:/qtbookexamples/chap01/hello'
make: *** [debug] Error 2
[/quote]This is the the Makefile.Debug:59 line:
<<Around it:
[quote]
.SUFFIXES: .c .cpp .cc .cxx
{.}.cpp{debug}.obj::
57.$(CXX) -c $(CXXFLAGS) $(INCPATH) -Fodebug\ @<<
58.$<
59.<<
60.
61.{.}.cc{debug}.obj::
62.$(CXX) -c $(CXXFLAGS) $(INCPATH) -Fodebug\ @<<
63. $<
64.<<
[/quote]The other program also had an error at line 60: <<
Can anybody help me resolve the problem, so I can compile my first qt program?
-
I solved my own problematic by using the command prompt (MinGW) from the start menu/all program/QT/desktop folder.