TEMPLATE = app
INCLUDEPATH += "/usr/include/qjson"
LIBS += "-lqjson"
-RESOURCES += images.qrc
+RESOURCES += ../images.qrc
SOURCES += main.cpp \
ui/mainwindow.cpp \
ui/mapviewscreen.cpp \
ui/listviewscreen.cpp \
situareservice/situareservice.cpp \
+ situareservice/imagefetcher.cpp \
cookiehandler/cookiehandler.cpp \
facebookservice/facebookcredentials.cpp \
facebookservice/facebookauthentication.cpp \
map/mapscene.cpp \
map/maptile.cpp \
map/mapfetcher.cpp \
+ map/mapzoompanel.cpp \
+ map/mapbutton.cpp \
+ map/ownlocationitem.cpp \
ui/pixmap.cpp \
ui/infotab.cpp \
ui/updatelocation/updatelocationdialog.cpp \
ui/updatelocation/texteditautoresizer.cpp \
- user/user.cpp
+ user/user.cpp \
+ ui/buttonitem.cpp \
+ ui/situareuser.cpp \
+ engine/engine.cpp \
+ ui/settingsdialog.cpp
HEADERS += ui/mainwindow.h \
ui/mapviewscreen.h \
ui/listviewscreen.h \
map/maptile.h \
map/mapfetcher.h \
map/mapcommon.h \
+ map/mapzoompanel.h \
+ map/mapbutton.h \
+ map/ownlocationitem.h \
ui/pixmap.h \
ui/infotab.h \
ui/updatelocation/updatelocationdialog.h \
ui/updatelocation/texteditautoresizer.h \
situareservice/situareservice.h \
situareservice/situarecommon.h \
+ situareservice/imagefetcher.h \
cookiehandler/cookiehandler.h \
facebookservice/facebookcredentials.h \
facebookservice/facebookauthentication.h \
facebookservice/facebookcommon.h \
- user/user.h
+ ui/buttonitem.h \
+ ui/situareuser.h \
+ engine/engine.h \
+ user/user.h \
+ ui/settingsdialog.h
QT += network \
webkit
-# use don't use OpenGL when building in scratchbox
-!maemo5 {
- QT += opengl
- message(OpenGL built in)
- message(Make sure you have OpenGL development headers installed)
- message(install headers with: sudo apt-get install libgl-dev libglu-dev)
-}
+DEFINES += QT_NO_DEBUG_OUTPUT
-!maemo5 {
+!maemo5 {
message(QJson built in)
message(Make sure you have QJson development headers installed)
message(install headers with: sudo apt-get install libqjson-dev)
}
-maemo5 {
+maemo5 {
message(QJson built in)
message(Make sure you have QJson development headers installed)
message(add: deb http://repository.maemo.org/extras-devel fremantle free non-free)
- message(and deb-src http://repository.maemo.org/extras-devel fremantle free non-free)
message(to scratchbox's sources.list in /etc/apt)
message(run: apt-get update)
message(install headers with: apt-get install libqjson-dev)
desktop.path = $$DATADIR/applications/hildon
desktop.files += situare.desktop
INSTALLS += desktop
- icon26.path = $$DATADIR/icons/hicolor/26x26/apps
- icon26.files += situare.png
- INSTALLS += icon26
- icon40.path = $$DATADIR/icons/hicolor/40x40/apps
- icon40.files += situare_40x40.png
- INSTALLS += icon40
+ icon48.path = $$DATADIR/icons/hicolor/48x48/apps
+ icon48.files += ../res/icon/48x48/situare.png
+ INSTALLS += icon48
icon64.path = $$DATADIR/icons/hicolor/64x64/apps
- icon64.files += situare_64x64.png
+ icon64.files += ../res/icon/64x64/situare.png
INSTALLS += icon64
target.path = $$BINDIR
INSTALLS += target