Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6158825
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T21:01:35+00:00 2026-05-23T21:01:35+00:00

All, I am (trying to) using Netbeans to build a simple Qt app (from

  • 0

All,

I am (trying to) using Netbeans to build a simple Qt app (from a tutorial) and I cannot build it because I get this error:

    /C/Qt/2010.02.1/qt/qmake/qmake.exe VPATH=. -spec win32-g++ -o qttmp-Debug.mk nbproject/qt-Debug.pro
    make[1]:/C/Qt/2010.02.1/qt/qmake/qmake.exe: Command not found

when the file is exactly there, and I can open a terminal and execute it.

Note in the error message: “/C/Qt…” The actual path is C:/Qt…
I have used the tools/options/c++ dialog to browse to the file and select it, and it is specified as C:\Qt… just like all the other tools. What is corrupting the C: and making it /C/ ?

Now, if I remove the path to qmake, and have it use the PATH environment variable, it finds it, but then it fails due to ‘multiple targets’…

Obviously, pilot error, but where? I have seen several posts on this, and they all say to make sure it is in the path, and it is, so now what? (I can open a terminal and type ‘qmake’ and I get the ‘Usage: qmake…” so I know it is visible.

Windows 7, Netbeans 7.0, MinGW (I also have cygwin installed…).

Any and all help greatly appreciated.

:bp:

Addenda: I changed the path to my ‘make’ to use the MinGW one rather than the cygqin one, and now it can find qmake, but I get other errors: ‘Could not find mkspecs for your QMAKESPEC(win32-g++) after trying:…

Any additional thoughts?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T21:01:35+00:00Added an answer on May 23, 2026 at 9:01 pm

    QMake requires more than just a path to work correctly. On my Windows box, there is a menu option for ‘Qt Command Prompt’ under the ‘Qt SDK 2010.05’ group in the Start Menu. Running it produces the following:

    Setting up a MinGW/Qt only environment...
    -- QTDIR set to C:\Qt\2010.05\qt
    -- PATH set to C:\Qt\2010.05\qt\bin
    -- Adding C:\Qt\2010.05\bin to PATH
    -- Adding C:\WINDOWS\System32 to PATH
    -- QMAKESPEC set to win32-g++
    

    You will want to make sure the environment you launch qmake in has all of those set.

    The most probable reason you are see ‘/C/…’ is because you are causing a mingw shell to run when you execute your build.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

No related questions found

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.