Question:

Compiling my first Qt program?

by  |  earlier

0 LIKES UnLike

I just started to use Qt with C (I haven't technically used it yet), and I am trying to compile my first program. It's hello.cpp which is in the directory hello (windows, by the way). I go to the command prompt, change the directory, then type qmake -project, qmake hello.pro. That works (or appears to ). When I type make, it says mingw32-make is not recognized as... you know what I mean. Do you know why it's not working?

-It's worth noting that when I originally installed it Qt, it didn't work because it said that mingw32.dll was missing, so I downloaded it and put it in Windows/System (it worked then).

 Tags:

   Report

2 ANSWERS


  1. You should go to Mingw.org and download mingw. That, or open the makefile in word pad and do a search replace for mingw32- with empty string (so then it just runs make, which you obviously have).


  2. Why are you using Qt?

Question Stats

Latest activity: earlier.
This question has 2 answers.

BECOME A GUIDE

Share your knowledge and help people by answering questions.