QMAKEVERSION = $$[QMAKE_VERSION] ISQT4 = $$find(QMAKEVERSION, ^[2-9]) isEmpty( ISQT4 ) { error("Use the qmake include with Qt4.4 or greater, on Debian that is qmake-qt4"); } SUBDIRS += src TEMPLATE = subdirs CONFIG += debug_and_release QT += core \ gui PREFIX=/usr service.files = ./data/com.tieto.tietoopcom.service service.path = $$PREFIX/share/dbus-1/services desktop.files = ./data/tietoopcom.desktop desktop.path = $$PREFIX/share/applications/hildon logo.files = ./data/icons/jabber.png logo.path = $$PREFIX/share/pixmap emoticons.files = ./data/emoticons/* emoticons.path = $$PREFIX/share/$$TARGET/emoticons stylesheets.files = ./data/stylesheets/* stylesheets.path = $$PREFIX/share/$$TARGET/stylesheets licence.files = ./data/copyright licence.path = $$PREFIX/share/$$TARGET/licence INSTALLS += service emoticons desktop logo stylesheets licence