CONFIG += qt TARGET = qthelloworld # keep the tree clean DESTDIR = build OBJECTS_DIR = build MOC_DIR = src/.tmp # In Eclipse, "clean" removes binaries too. This is also needed to work around timestamp # issues between host and VM in ESbox. QMAKE_CLEAN += $$DESTDIR/qthelloworld # Instead of building separate Debug/Optimized targets, you can do this: # CONFIG += debug_and_release # # CONFIG(debug, debug|release) { # TARGET = qthelloworld-debug # } else { # TARGET = qthelloworld # } HEADERS = src/window.h SOURCES = src/main.cpp \ src/window.cpp # TEMPLATE = app # DESTDIR = /path/to/installation # DEFINES += MACRO_1 ... # CONFIG += link_pkgconfig # PKGCONFIG += ogg dbus-1 # install target.path = /usr/bin INSTALLS += target