3. Crea@ng
Project
• Create
new
projecBolder
and
save
the
source.cpp
into
the
folder
– /QtHelloWorld/source.cpp
• Create
plaBorm
independent
project
file
– qmake –project
• Creates
– /QtHelloWorld/QtHelloWorld.pro
5. qmake
• AGer
building
the
project
–
file,
we
well
create
a
pla$orm
specific
makefile
• makefile
=
informa@on
how
to
build
the
target
program
(compile
instruc@ons)
• In
Mac
OS
X,
the
qmake
creates
automa@cally
Xcode
–
project
files.
Use:
qmake -spec
macx-g++
• In
other
systems,
qmake should
be
enough.