qtprog.pro 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. TARGET = qpsearch
  2. HEADERS += qpsearch.h \
  3. searchdialog.h
  4. SOURCES += main.cpp \
  5. qpsearch.cpp \
  6. searchdialog.cpp
  7. RESOURCES += icons.qrc
  8. FORMS +=
  9. LEXSOURCES += #LEXS#
  10. YACCSOURCES += #YACCS#
  11. INCLUDEPATH +=
  12. LIBS +=
  13. DEFINES +=
  14. # All generated files goes same directory
  15. OBJECTS_DIR = build
  16. MOC_DIR = build
  17. UI_DIR = build
  18. DESTDIR = build
  19. TEMPLATE = app
  20. DEPENDPATH +=
  21. VPATH += src uis
  22. CONFIG -=
  23. CONFIG += debug \
  24. qdbus \
  25. mobility
  26. MOBILITY += systeminfo bearer
  27. QT += core gui network webkit dbus
  28. # Maemo specific
  29. unix {
  30. BINDIR = /opt/bin/
  31. DATADIR =/usr/share/
  32. DEFINES += DATADIR=\"$$DATADIR\" \
  33. PKGDATADIR=\"$$PKGDATADIR\"
  34. INSTALLS += target
  35. target.path = $$BINDIR
  36. INSTALLS += desktop
  37. desktop.path = $$DATADIR/applications/hildon
  38. desktop.files = data/$${TARGET}.desktop
  39. INSTALLS += service
  40. service.path = $$DATADIR/dbus-1/services
  41. service.files = data/$${TARGET}.service
  42. INSTALLS += icon64
  43. icon64.path = $$DATADIR/icons/hicolor/64x64/apps
  44. icon64.files = data/64x64/$${TARGET}.png
  45. INSTALLS += icon48
  46. icon48.path = $$DATADIR/icons/hicolor/48x48/apps
  47. icon48.files = data/48x48/$${TARGET}.png
  48. }
  49. #
  50. # Targets for debian source and binary package creation
  51. #
  52. debian-src.commands = dpkg-buildpackage -S -r -us -uc -d
  53. debian-bin.commands = dpkg-buildpackage -b -r -uc -d
  54. debian-all.depends = debian-src debian-bin
  55. #
  56. # Clean all but Makefile
  57. #
  58. compiler_clean.commands = -$(DEL_FILE) $(TARGET)
  59. QMAKE_EXTRA_TARGETS += debian-all debian-src debian-bin compiler_clean