source: src/app/app.pro @ ad5c62f

qt5
Last change on this file since ad5c62f was 22232d9, checked in by kirilma <kirilma@…>, 12 years ago

build fix at maemo

force order of computation
some versions of qmake-qt4 require it

  • Property mode set to 100644
File size: 1.1 KB
RevLine 
[b1a201a]1include(../global.pri)
[e5bc908]2TEMPLATE = app
[02a8af2]3TARGET = fosdem-schedule
[e5bc908]4DESTDIR = ../bin
[a7d8638]5QT += sql xml network dbus
[e5bc908]6
7# module dependencies
[92995da]8LIBS += -L$$DESTDIR -lgui -lmvc -lsql
[07ae23a]9INCLUDEPATH += ../gui ../sql ../mvc ../orm
[e5bc908]10DEPENDPATH += . ../gui
[92995da]11TARGETDEPS += $$DESTDIR/libmvc.a $$DESTDIR/libgui.a $$DESTDIR/libsql.a
[b1a201a]12maemo {
13    LIBS += -L$$DESTDIR -lqalarm -lalarm
14    INCLUDEPATH += ../alarm
15    DEPENDPATH +=  ../alarm
16    TARGETDEPS += $$DESTDIR/libqalarm.a
17}
[e5bc908]18
[a7d8638]19HEADERS += appsettings.h \
[77e06ae]20        application.h \
[a7d8638]21    alarmdbus.h \
22        alarmdbusadaptorp.h
[a023fd2]23
24SOURCES += main.cpp \
[77e06ae]25           application.cpp \
[a7d8638]26           appsettings.cpp \
27    alarmdbus.cpp \
28        alarmdbusadaptor.cpp
[e5bc908]29
[c18cbd0]30RESOURCES += ../icons.qrc \
[22232d9]31             ../maps.qrc
32
33# qmake cannot work properly if the resource file does not exist already
34system(rm -f ../fosdem.sqlite && sqlite3 ../fosdem.sqlite <../fosdem.sql) {
35 RESOURCES += ../db.qrc
36} else {
37 error(sqlite3 failed)
38}
[66327a0]39
[cdc7679]40db.target = ../fosdem.sqlite
41db.depends = ../fosdem.sql
42db.commands = rm -f $$db.target && sqlite3 $$db.target <$$db.depends
43QMAKE_EXTRA_TARGETS += db
44
[0c658c1]45# instalation related
46
[e89b296]47PREFIX = /usr/bin
[0c658c1]48INSTALLS = target
[e89b296]49target.path = $$PREFIX
50
Note: See TracBrowser for help on using the repository browser.