source: src/app/app.pro @ 3329d39

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

use visible notifications of errors

also early detect parsing errors

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