Results 1 to 2 of 2

Thread: Qt with MinGW, compiling problem

  1. #1
    Join Date
    Sep 2007
    Location
    Pune, India
    Posts
    60
    Thanks
    7
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Qt with MinGW, compiling problem

    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:<<

  2. #2
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    6,264
    Thanks
    36
    Thanked 1,519 Times in 1,389 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows Symbian S60 Maemo/MeeGo

    Default Re: Qt with MinGW, compiling problem

    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.
    J-P Nurmi

Similar Threads

  1. Problem compiling ibase driver
    By SteM in forum Installation and Deployment
    Replies: 12
    Last Post: 24th September 2007, 22:26
  2. Replies: 7
    Last Post: 28th June 2007, 17:18
  3. Replies: 7
    Last Post: 1st August 2006, 21:15
  4. Problem to compile with MinGW + Qt 4 + winpcap
    By jlbrd in forum Qt Programming
    Replies: 4
    Last Post: 4th May 2006, 16:32
  5. Replies: 10
    Last Post: 28th April 2006, 15:48

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.