source: src/app/app.pro @ cdc7679

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

generate default database instead of using binary one

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