Results 1 to 3 of 3

Thread: Qmake command not recognized

  1. #1
    Join Date
    Aug 2010
    Thanked 1 Time in 1 Post
    Qt products
    Windows Symbian S60 Maemo/MeeGo

    Default Qmake command not recognized

    I am new to Qt. I installed Qt 4.6.2 beta from the Internet smoothly with no technical input on my part. An attempt to install the final version failed so I continued to use the beta version to finish projects I had started. I have completed a project and I am trying to run qmake for the first time. Following the statement from the qmake manual:-

    'You can now use qmake to generate a Makefile for your application. On the command line, in your project's directory, type the following:

    qmake -o Makefile'

    I get an error message :- " 'qmake' is not recognized as an internal or external command, operable program, or batch file.' ". Screen-shots are attached, I am using Windows Vista Business. Any suggestions?
    Attached Images Attached Images

  2. The following user says thank you to Rakula for this useful post:

    emobemo (15th September 2014)

  3. #2
    Join Date
    Sep 2010
    Thanked 18 Times in 17 Posts
    Qt products
    Unix/X11 Windows

    Default Re: Qmake command not recognized

    You need to either set the PATH variable before you use qmake (e.g. "set PATH=C:\Qt\4.7.0\bin") or use the "Qt Command Prompt" installed to your start menu as part of the Qt installation and use qmake from there.
    Last edited by Timoteo; 22nd October 2010 at 14:51. Reason: syntax

  4. The following 2 users say thank you to Timoteo for this useful post:

    Baso (25th March 2013), emobemo (15th September 2014)

  5. #3
    Join Date
    Mar 2012
    Qt products
    Qt4 Qt5
    Unix/X11 Windows Android

    Default Re: Qmake command not recognized

    It is also possible to write the full path to qmake instead of adding it to PATH.

Similar Threads

  1. Replies: 7
    Last Post: 20th October 2012, 13:44
  2. moc.exe is not recognized as an internal or external command
    By Deshi in forum Installation and Deployment
    Replies: 4
    Last Post: 23rd January 2010, 00:40
  3. Replies: 15
    Last Post: 17th June 2007, 17:41
  4. 'make' is not recognized as an internal or external command
    By jivanr in forum Installation and Deployment
    Replies: 1
    Last Post: 9th June 2007, 15:55
  5. QMAKE run bash command
    By kemp in forum Qt Programming
    Replies: 8
    Last Post: 9th February 2007, 15:35

Tags for this Thread


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.