1 # -------------------------------------------------
2 # Project created by QtCreator 2010-02-17T11:50:47
3 # -------------------------------------------------
4 # Obsahuje Qt >= 4.6.* ?
5 contains(QT_VERSION, ^4\.[0-6]\.*) {
6 message("Use new version of QT, you are using: $$QT_VERSION .")
17 # potřebuji přidat maemo5
18 QT += xml xmlpatterns dbus maemo5 network
20 # ted bude debug a potřebuji ještě pkgconfig
21 # http://doc.trolltech.com/4.6/qmake-project-files.html#configuration-features
22 CONFIG += debug link_pkgconfig qt mobility
24 MOBILITY += systeminfo
25 # pro d-bus v libprofile
28 # include pro libprofile.h and cal backend
29 INCLUDEPATH += /usr/include/profiled \
30 /usr/include/calendar-backend
33 LIBS += /usr/lib/libprofile.so \
46 timedprofildialog.cpp \
50 calendarprofilesdialog.cpp \
51 calendarsetprofiledialog.cpp \
52 networkdialogdialog.cpp \
54 networkdialogedit.cpp \
55 telephonenumprofile.cpp \
57 telephonenumnewruledialog.cpp \
59 soundfilesmanager.cpp \
61 HEADERS += mainwindow.h \
72 calendarprofilesdialog.h \
73 calendarsetprofiledialog.h \
74 networkdialogdialog.h \
77 telephonenumprofile.h \
79 telephonenumnewruledialog.h \
83 FORMS += mainwindow.ui \
85 timedprofildialog.ui \
86 calendarprofilesdialog.ui \
87 calendarsetprofiledialog.ui \
88 networkdialogdialog.ui \
89 networkdialogedit.ui \
91 telephonenumnewruledialog.ui
94 # čeština a nastavení na UTF-8
95 TRANSLATIONS = N9Profil_cs_CZ.ts
100 DATADIR =$$PREFIX/share
102 DEFINES += DATADIR=\\\"$$DATADIR\\\" PKGDATADIR=\\\"$$PKGDATADIR\\\"
106 INSTALLS += target desktop iconxpm icon26 icon40 icon64 service
108 target.path =$$BINDIR
110 desktop.path = $$DATADIR/applications/hildon
111 desktop.files += data/$${TARGET}.desktop
113 iconxpm.path = $$DATADIR/pixmap
114 iconxpm.files += data/maemo/$${TARGET}.xpm
116 icon26.path = $$DATADIR/icons/hicolor/26x26/apps
117 icon26.files += data/26x26/$${TARGET}.png
119 icon40.path = $$DATADIR/icons/hicolor/40x40/apps
120 icon40.files += data/40x40/$${TARGET}.png
122 icon64.path = $$DATADIR/icons/hicolor/64x64/apps
123 icon64.files += data/64x64/$${TARGET}.png
125 service.path = $$DATADIR/dbus-1/services
126 service.files += data/org.indt.N9Profil.service