source: src/app/app.pro @ 79a7671

qt5
Last change on this file since 79a7671 was 79a7671, checked in by gregor herrmann <gregor@…>, 4 years ago

ifdef qt4 and qt5

  • Property mode set to 100644
File size: 816 bytes
RevLine 
[b1a201a]1include(../global.pri)
[e5bc908]2TEMPLATE = app
[5ede637]3TARGET = confclerk
[e5bc908]4DESTDIR = ../bin
[79a7671]5QT += sql xml network
6greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
[3329d39]7CONFIG(maemo5) {
[21e0eb1]8    QT += maemo5
[3329d39]9}
[e5bc908]10
11# module dependencies
[92995da]12LIBS += -L$$DESTDIR -lgui -lmvc -lsql
[07ae23a]13INCLUDEPATH += ../gui ../sql ../mvc ../orm
[e5bc908]14DEPENDPATH += . ../gui
[8bacb4e]15POST_TARGETDEPS += $$DESTDIR/libmvc.a $$DESTDIR/libgui.a $$DESTDIR/libsql.a
[b1a201a]16maemo {
17    LIBS += -L$$DESTDIR -lqalarm -lalarm
18    INCLUDEPATH += ../alarm
19    DEPENDPATH +=  ../alarm
[910109e]20    POST_TARGETDEPS += $$DESTDIR/libqalarm.a
[b1a201a]21}
[e5bc908]22
[a7d8638]23HEADERS += appsettings.h \
[408bf66]24        application.h
[a023fd2]25
26SOURCES += main.cpp \
[77e06ae]27           application.cpp \
[408bf66]28           appsettings.cpp
[e5bc908]29
[c18cbd0]30RESOURCES += ../icons.qrc \
[59673b9]31                         ../db.qrc \
32                         ../../data/data.qrc
[cdc7679]33
[0c658c1]34# instalation related
[e89b296]35PREFIX = /usr/bin
[0c658c1]36INSTALLS = target
[e89b296]37target.path = $$PREFIX
38
Note: See TracBrowser for help on using the repository browser.