README
[n9profile] / N9Profil.pro
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 .")
7     error("Use Qt 4.6.*")
8 }
9 QMAKE_CXXFLAGS_RELEASE += -O2.
10
11 # potřebuji přidat maemo5
12 QT += xml \
13     xmlpatterns \
14     dbus \
15     maemo5 \
16     network
17
18 # ted bude debug a potřebuji ještě pkgconfig
19 # http://doc.trolltech.com/4.6/qmake-project-files.html#configuration-features
20 CONFIG += debug \
21     link_pkgconfig \
22     qt \
23     mobility
24 MOBILITY += systeminfo
25
26 # pro d-bus v libprofile
27 PKGCONFIG += dbus-1
28
29 # include pro libprofile.h and cal backend
30 INCLUDEPATH += ../../../NokiaQtSDK/Maemo/4.6.2/sysroots/fremantle-arm-sysroot-10.2010.19-1-slim/usr/include/profiled \
31     ../../../NokiaQtSDK/Maemo/4.6.2/sysroots/fremantle-arm-sysroot-10.2010.19-1-slim/usr/include/calendar-backend
32
33 # lib libprofile
34 LIBS += ../../../NokiaQtSDK/Maemo/4.6.2/sysroots/fremantle-arm-sysroot-10.2010.19-1-slim/usr/lib/libprofile.so \
35     ../../../NokiaQtSDK/Maemo/4.6.2/sysroots/fremantle-arm-sysroot-10.2010.19-1-slim/usr/lib/libcalendar_backend.so
36 TARGET = N9Profil
37 TEMPLATE = app
38 SOURCES += main.cpp \
39     mainwindow.cpp \
40     controlclass.cpp \
41     profil.cpp \
42     profiledb.cpp \
43     profiledeamon.cpp \
44     profildialog.cpp \
45     timeprofile.cpp \
46     timedprofildialog.cpp \
47     calendatprofile.cpp \
48     calendar.cpp \
49     event.cpp \
50     calendarprofilesdialog.cpp \
51     calendarsetprofiledialog.cpp \
52     networkdialogdialog.cpp \
53     networkprofile.cpp \
54     networkdialogedit.cpp \
55     telephonenumprofile.cpp \
56     telenumdialog.cpp \
57     telephonenumnewruledialog.cpp \
58     profilesmanager.cpp \
59     soundfilesmanager.cpp \
60     rulesmanager.cpp
61 HEADERS += mainwindow.h \
62     controlclass.h \
63     profil.h \
64     profiledb.h \
65     profiledeamon.h \
66     profildialog.h \
67     timeprofile.h \
68     timedprofildialog.h \
69     calendatprofile.h \
70     calendar.h \
71     event.h \
72     calendarprofilesdialog.h \
73     calendarsetprofiledialog.h \
74     networkdialogdialog.h \
75     networkprofile.h \
76     networkdialogedit.h \
77     telephonenumprofile.h \
78     telenumdialog.h \
79     telephonenumnewruledialog.h \
80     profilesmanager.h \
81     soundfilesmanager.h \
82     rulesmanager.h
83 FORMS += mainwindow.ui \
84     profildialog.ui \
85     timedprofildialog.ui \
86     calendarprofilesdialog.ui \
87     calendarsetprofiledialog.ui \
88     networkdialogdialog.ui \
89     networkdialogedit.ui \
90     telenumdialog.ui \
91     telephonenumnewruledialog.ui
92
93 # čeština a nastavení na UTF-8
94 TRANSLATIONS = N9Profil_cs_CZ.ts
95 CODECFORTR = UTF-8
96 RESOURCES += rcc.qrc