1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374 |
- TARGET = qpsearch
- HEADERS += qpsearch.h \
- searchdialog.h
- SOURCES += main.cpp \
- qpsearch.cpp \
- searchdialog.cpp
- RESOURCES += icons.qrc
- FORMS +=
- LEXSOURCES += #LEXS#
- YACCSOURCES += #YACCS#
- INCLUDEPATH +=
- LIBS +=
- DEFINES +=
- # All generated files goes same directory
- OBJECTS_DIR = build
- MOC_DIR = build
- UI_DIR = build
- DESTDIR = build
- TEMPLATE = app
- DEPENDPATH +=
- VPATH += src uis
- CONFIG -=
- CONFIG += debug \
- qdbus \
- mobility
- MOBILITY += systeminfo bearer
- QT += core gui network webkit dbus
- # Maemo specific
- unix {
- BINDIR = /opt/bin/
- DATADIR =/usr/share/
- DEFINES += DATADIR=\"$$DATADIR\" \
- PKGDATADIR=\"$$PKGDATADIR\"
- INSTALLS += target
- target.path = $$BINDIR
- INSTALLS += desktop
- desktop.path = $$DATADIR/applications/hildon
- desktop.files = data/$${TARGET}.desktop
- INSTALLS += service
- service.path = $$DATADIR/dbus-1/services
- service.files = data/$${TARGET}.service
- INSTALLS += icon64
- icon64.path = $$DATADIR/icons/hicolor/64x64/apps
- icon64.files = data/64x64/$${TARGET}.png
- INSTALLS += icon48
- icon48.path = $$DATADIR/icons/hicolor/48x48/apps
- icon48.files = data/48x48/$${TARGET}.png
- }
- #
- # Targets for debian source and binary package creation
- #
- debian-src.commands = dpkg-buildpackage -S -r -us -uc -d
- debian-bin.commands = dpkg-buildpackage -b -r -uc -d
- debian-all.depends = debian-src debian-bin
- #
- # Clean all but Makefile
- #
- compiler_clean.commands = -$(DEL_FILE) $(TARGET)
- QMAKE_EXTRA_TARGETS += debian-all debian-src debian-bin compiler_clean
|