N9profile
[n9profile] / N9Profil.pro
diff --git a/N9Profil.pro b/N9Profil.pro
new file mode 100644 (file)
index 0000000..c8aaf00
--- /dev/null
@@ -0,0 +1,96 @@
+# -------------------------------------------------
+# Project created by QtCreator 2010-02-17T11:50:47
+# -------------------------------------------------
+# Obsahuje Qt >= 4.6.* ?
+contains(QT_VERSION, ^4\.[0-6]\.*) { 
+    message("Use new version of QT, you are using: $$QT_VERSION .")
+    error("Use Qt 4.6.*")
+}
+QMAKE_CXXFLAGS_RELEASE += -O2.
+
+# potřebuji přidat maemo5
+QT += xml \
+    xmlpatterns \
+    dbus \
+    maemo5 \
+    network
+
+# ted bude debug a potřebuji ještě pkgconfig
+# http://doc.trolltech.com/4.6/qmake-project-files.html#configuration-features
+CONFIG += debug \
+    link_pkgconfig \
+    qt \
+    mobility
+MOBILITY += systeminfo
+
+# pro d-bus v libprofile
+PKGCONFIG += dbus-1
+
+# include pro libprofile.h and cal backend
+INCLUDEPATH += ../../../NokiaQtSDK/Maemo/4.6.2/sysroots/fremantle-arm-sysroot-10.2010.19-1-slim/usr/include/profiled \
+    ../../../NokiaQtSDK/Maemo/4.6.2/sysroots/fremantle-arm-sysroot-10.2010.19-1-slim/usr/include/calendar-backend
+
+# lib libprofile
+LIBS += ../../../NokiaQtSDK/Maemo/4.6.2/sysroots/fremantle-arm-sysroot-10.2010.19-1-slim/usr/lib/libprofile.so \
+    ../../../NokiaQtSDK/Maemo/4.6.2/sysroots/fremantle-arm-sysroot-10.2010.19-1-slim/usr/lib/libcalendar_backend.so
+TARGET = N9Profil
+TEMPLATE = app
+SOURCES += main.cpp \
+    mainwindow.cpp \
+    controlclass.cpp \
+    profil.cpp \
+    profiledb.cpp \
+    profiledeamon.cpp \
+    profildialog.cpp \
+    timeprofile.cpp \
+    timedprofildialog.cpp \
+    calendatprofile.cpp \
+    calendar.cpp \
+    event.cpp \
+    calendarprofilesdialog.cpp \
+    calendarsetprofiledialog.cpp \
+    networkdialogdialog.cpp \
+    networkprofile.cpp \
+    networkdialogedit.cpp \
+    telephonenumprofile.cpp \
+    telenumdialog.cpp \
+    telephonenumnewruledialog.cpp \
+    profilesmanager.cpp \
+    soundfilesmanager.cpp \
+    rulesmanager.cpp
+HEADERS += mainwindow.h \
+    controlclass.h \
+    profil.h \
+    profiledb.h \
+    profiledeamon.h \
+    profildialog.h \
+    timeprofile.h \
+    timedprofildialog.h \
+    calendatprofile.h \
+    calendar.h \
+    event.h \
+    calendarprofilesdialog.h \
+    calendarsetprofiledialog.h \
+    networkdialogdialog.h \
+    networkprofile.h \
+    networkdialogedit.h \
+    telephonenumprofile.h \
+    telenumdialog.h \
+    telephonenumnewruledialog.h \
+    profilesmanager.h \
+    soundfilesmanager.h \
+    rulesmanager.h
+FORMS += mainwindow.ui \
+    profildialog.ui \
+    timedprofildialog.ui \
+    calendarprofilesdialog.ui \
+    calendarsetprofiledialog.ui \
+    networkdialogdialog.ui \
+    networkdialogedit.ui \
+    telenumdialog.ui \
+    telephonenumnewruledialog.ui
+
+# čeština a nastavení na UTF-8
+TRANSLATIONS = N9Profil_cs_CZ.ts
+CODECFORTR = UTF-8
+RESOURCES += rcc.qrc