# ------------------------------------------------- # Project created by QtCreator 2010-03-26T07:57:35 # ------------------------------------------------- TARGET = ../situare TEMPLATE = app SOURCES += main.cpp \ ui/mainwindow.cpp \ ui/mapviewscreen.cpp \ ui/listviewscreen.cpp \ map/mapengine.cpp \ map/mapview.cpp \ map/mapscene.cpp \ map/maptile.cpp \ map/mapfetcher.cpp HEADERS += ui/mainwindow.h \ ui/mapviewscreen.h \ ui/listviewscreen.h \ map/mapengine.h \ map/mapview.h \ map/mapscene.h \ map/maptile.h \ map/mapfetcher.h \ map/mapcommon.h QT += network \ webkit # use don't use OpenGL when building in scratchbox !maemo5 { QT += opengl message(OpenGL built in) message(Make sure you have OpenGL development headers installed) message(install headers with: sudo apt-get install libgl-dev libglu-dev) } # ----------------------------------------------------------------- # Debian packetizing additions # ----------------------------------------------------------------- unix { # VARIABLES isEmpty(PREFIX):PREFIX = /usr BINDIR = $$PREFIX/bin DATADIR = $$PREFIX/share DEFINES += DATADIR=\\\"$$DATADIR\\\" \ PKGDATADIR=\\\"$$PKGDATADIR\\\" # MAKE INSTALL desktop.path = $$DATADIR/applications/hildon desktop.files += situare.desktop INSTALLS += desktop icon26.path = $$DATADIR/icons/hicolor/26x26/apps icon26.files += situare.png INSTALLS += icon26 target.path = $$BINDIR INSTALLS += target }