|
 |
qmake example makefile |
dsoodak
Assistant
Registration Date: 10.05.2008
Posts: 8
Location: Florida
Level: 4 [?]
Experience: 60
Next Level: 100
 |
|
In the qmake manual it says to make a file named "hello.pro" with the following lines:
CONFIG += qt
HEADERS += hello.h
SOURCES += hello.cpp
SOURCES += main.cpp
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 hello.pro
Here's my question:
qmake.exe and the project's directory are generally not in the same place, so if I type "qmake" in the project's directory it says "qmake is not a recognized command".
I don't know very much about the DOS command line. How can I make this work?
|
|
10.05.2008 01:23 |
|
|
sgh
Senior Software Engineer
   
Registration Date: 17.03.2008
Posts: 77
Level: 14 [?]
Experience: 4,697
Next Level: 5,517
 |
|
| RE: qmake example makefile |
 |
you can set path for environment variable in your computer property -> advance.
and use set path in your command prompt.
|
|
10.05.2008 05:37 |
|
|
dsoodak
Assistant
Registration Date: 10.05.2008
Posts: 8
Location: Florida
Level: 4 [?]
Experience: 60
Next Level: 100
Thread Starter
 |
|
| RE: qmake example makefile |
 |
What is "computer property -> advance" and how do I get to it?
I am in Windows Vista.
|
|
10.05.2008 07:11 |
|
|
Nicolas SOUCHON
Wizard
  
Registration Date: 27.06.2007
Posts: 735
Level: 29 [?]
Experience: 238,928
Next Level: 242,754
 |
|
|
10.05.2008 09:29 |
|
|
dsoodak
Assistant
Registration Date: 10.05.2008
Posts: 8
Location: Florida
Level: 4 [?]
Experience: 60
Next Level: 100
Thread Starter
 |
|
| RE: qmake example makefile |
 |
never mind...
The keyword "set path" in your reply was enough for me to look it up.
Thanks!
|
|
10.05.2008 18:04 |
|
|
|
|
|
 |
views today: 4.831 | views yesterday: 12.104 | total views: 10.250.304
Klebekork Shop - Linux Shop - Kontaktanzeigen - Linux Forum -
SMS Gewinnspiel -
Hotels -
Stadtpläne -
Branchenbuch & Stadtplan
|