Results 1 to 2 of 2

Thread: Makefile problems

  1. #1
    Join Date
    Oct 2010
    Posts
    1
    Qt products
    Qt3 Qt4 Qt/Embedded
    Platforms
    Unix/X11

    Default Makefile problems

    So I've been trying to get Qt Creator working under Ubuntu for the past couple of days but I always run into errors compiling a Qt project that I have been working on that uses OpenGL. The project compiles fine in Qt Creator on Windows XP, Windows 7, and computers on campus that run Ubuntu, but I just can't seem to get it to compile on my machine at home. I've installed several different packages, and tried installing both through the Software Center and the file provided on the Qt website but I always end up with an error of some sort on compilation. Qt demo's compile fine, and at one point an earlier, barebones version of my project did compile successfully. At this point I'm pretty sure I've just about read every page that Google spits out in relation to the errors I've seen and I still haven't a clue how to go about resolving it.

    Now I'm back at (more-or-less) square one. I've got Qt Creator installed using the Ubuntu Software Center. Trying to compile my project yields the following:

    make: *** No rule to make target `/usr/lib/qt4/mkspecs/linux-g++/qmake.conf', needed by `Makefile'. Stop.
    Exited with code 2.
    Error while building project ECS175P1
    When executing build step 'Make'

    Would anyone be so kind as to tell me what my first step should be to eliminate this current problem?

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,368
    Thanks
    3
    Thanked 5,017 Times in 4,793 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: Makefile problems

    Run qmake.
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


Similar Threads

  1. Replies: 0
    Last Post: 12th October 2010, 04:14
  2. makefile without using QMake
    By Rayven in forum Qt Programming
    Replies: 2
    Last Post: 6th April 2010, 22:04
  3. How to name makefile in .pro file?
    By DigiDrag in forum Newbie
    Replies: 17
    Last Post: 9th September 2009, 08:28
  4. not able to change Makefile
    By shamik in forum Qt Programming
    Replies: 1
    Last Post: 9th June 2007, 12:00
  5. Makefile warnings
    By Doug Broadwell in forum Qt Programming
    Replies: 2
    Last Post: 15th May 2007, 19:42

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
  •  
Qt is a trademark of The Qt Company.