View Single Post
Posts: 8 | Thanked: 0 times | Joined on Mar 2010 @ bogota, colombia
#9
My makefile only contains this:

Code:
####### Compile

main.o: main.cpp mainwindow.h
	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o main.o main.cpp

mainwindow.o: mainwindow.cpp mainwindow.h \
		ui_mainwindow.h
	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o mainwindow.o mainwindow.cpp

moc_mainwindow.o: moc_mainwindow.cpp 
	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_mainwindow.o moc_mainwindow.cpp

qrc_zeux.o: qrc_zeux.cpp 
	$(CXX) -c $(CXXFLAGS) $(INCPATH) -o qrc_zeux.o qrc_zeux.cpp

####### Install

install:   FORCE

uninstall:   FORCE

FORCE:
It is created by qmake.
All this C++ stuff is new to me.

I read qmake gets its informations from the project file.
Which looks like this for this program:

Code:
# -------------------------------------------------
# Project created by QtCreator 2010-02-18T12:12:07
# -------------------------------------------------
TARGET = UniTrans
TEMPLATE = app
SOURCES += main.cpp \
    mainwindow.cpp
HEADERS += mainwindow.h
FORMS += mainwindow.ui
RESOURCES += zeux.qrc
Where do I enter the information where to install my files?