source: SMSSender/gateways/Smartphone/gui/smartphone-gui.pro @ 342:bdf193a5051e

separation-frontend-backend
Last change on this file since 342:bdf193a5051e was 342:bdf193a5051e, checked in by Sämy Zehnder <saemy.zehnder@…>, 6 years ago
  • Adjusts what's being installed to where.
  • Adds config parameter install_dev_files; headers and static libraries are only installed if this variable is set.
File size: 1005 bytes
Line 
1!include(../../gateways.pri):!include(/usr/include/smssender/gateways.pri):error("Could not include gateways.pri")
2
3TARGET = smartphone
4DESTDIR = ../../
5
6QT = \
7    core \
8    gui \
9    network \
10    sql \
11    webkit \
12    xml
13
14LIBS += \
15    -Wl,-whole-archive \
16    -L../ -lsmartphone-base$$LIB_SUFFIX \
17    -Wl,-no-whole-archive \
18\
19    -Llib/ -lqrencode
20
21# Needed so that this target gets rebuilt if they change,
22PRE_TARGETDEPS += \
23    ../libsmartphone-base$${LIB_SUFFIX}.$$EXT_STATICLIB
24
25unix {
26    # Search path for libqrencode.so
27    CONFIG(debug, debug|release): QMAKE_RPATHDIR += lib
28    CONFIG(release, debug|release): QMAKE_RPATHDIR += /usr/lib/smssender
29}
30
31INCLUDEPATH += \
32    include/ \
33    ui/components/
34
35HEADERS = \
36    smartphone.h \
37    ui/components/qrcode.h \
38    ui/settingswidget.h \
39
40SOURCES = \
41    business/gateway.cpp \
42    smartphone.cpp \
43    ui/components/qrcode.cpp \
44    ui/settingswidget.cpp \
45
46FORMS = \
47    ui/settingswidget.ui
48
49RESOURCES = \
50    lib/smartphone-gui.qrc
Note: See TracBrowser for help on using the repository browser.