Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. [SOLVED] Make error: **** missing operator for first qt program
Forum Update on Monday, May 27th 2025

[SOLVED] Make error: **** missing operator for first qt program

Scheduled Pinned Locked Moved Qt Creator and other tools
3 Posts 2 Posters 3.2k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • B Offline
    B Offline
    bitandbits
    wrote on 26 Sept 2012, 14:44 last edited by
    #1

    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.html

    But 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 directory C:/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?

    1 Reply Last reply
    0
    • B Offline
      B Offline
      bitandbits
      wrote on 26 Sept 2012, 20:51 last edited by
      #2

      I solved my own problematic by using the command prompt (MinGW) from the start menu/all program/QT/desktop folder.

      1 Reply Last reply
      0
      • M Offline
        M Offline
        mlong
        wrote on 26 Sept 2012, 21:03 last edited by
        #3

        Glad you found the problem! Be sure and edit your initial post to add [Solved] to the title. Thanks!

        Software Engineer
        My views and opinions do not necessarily reflect those of anyone -- living or dead, real or fictional -- in this universe or any other similar multiverse node. Void where prohibited. Your mileage may vary. Caveat emptor.

        1 Reply Last reply
        0

        1/3

        26 Sept 2012, 14:44

        • Login

        • Login or register to search.
        1 out of 3
        • First post
          1/3
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved