Results 1 to 2 of 2

Thread: QMAKESPEC has not been set, so configuration cannot be deduced

  1. #1

    Default QMAKESPEC has not been set, so configuration cannot be deduced

    Hi all,

    I am new to QT and would request some help.

    I had installed QDevelop and Qt4.2.2 with MinGW.

    I had tried compile a simple cpp file in QDevelop but it show me the abovementioned error.

    C:\MinGW\bin\mingw32-make.exe: No target specified and no make files found.

    Can somebody please help?

    Thanks

  2. #2
    Join Date
    Jan 2006
    Location
    Paris, France
    Posts
    227
    Thanks
    3
    Thanked 21 Times in 21 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: QMAKESPEC has not been set, so configuration cannot be deduced

    Hello,

    It seems you don't have created a project associated to your C++ file.
    QMake requires a particular file your_project.pro, to be able to generate the Makefile.
    Did you create a new project in QDevelop, containing your sources ?

    You can generate automatically this project file with Qmake, in your project directory, or create a new project with QDevelop.

    Command line : qmake -project your_directory

    Hope this helps, and that I am clear too

    Guilugi.

Similar Threads

  1. QMAKESPEC has not been set, so configuration cannot be deduced
    By Rekha in forum Installation and Deployment
    Replies: 11
    Last Post: 6th November 2012, 18:48
  2. what is this QMAKESPEC and hw to set it?
    By neomax in forum Qt Programming
    Replies: 2
    Last Post: 13th March 2007, 07:04

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.