TEMPLATE = app QT -= gui CONFIG += console CONFIG -= app_bundle QT += core gui TARGET = hotplugwatcher include(../src/libQDeviceWatcher.pri) greaterThan(QT_MAJOR_VERSION, 4): QT += widgets CONFIG += c++11 DEFINES += QT_DEPRECATED_WARNINGS win32:!wince*:LIBS += -lUser32 SOURCES += main.cpp HEADERS += hotplugwatcher.h contains(MEEGO_EDITION,harmattan) { target.path = /opt/hotplugwatcher/bin INSTALLS += target } maemo5 { target.path = /opt/hotplugwatcher/bin INSTALLS += target }