summaryrefslogtreecommitdiffstats
path: root/library/remotecontrolwidget.pro
blob: d73384f08eaa27d08ffc92e7d88c4bd8c2c98e60 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
#-------------------------------------------------
#
# Project created by QtCreator 2010-02-25T14:32:24
#
#-------------------------------------------------

TARGET = remotecontrolwidget
TEMPLATE = lib
include(adjusttarget.pri)

CONFIG += hide_symbols

DEFINES += REMOTECONTROLWIDGET_LIBRARY

INCLUDEPATH += .

QT += core gui script

SOURCES += \
    remotecontrolwidget.cpp \
    toolbox.cpp \
    optionsitem.cpp \
    scriptadapter.cpp \
    style/stylehelper.cpp \
    style/styledbar.cpp \
    style/styleanimator.cpp \
    style/manhattanstyle.cpp \
    style/filterlineedit.cpp \
    style/fancylineedit.cpp \
    components/locationui.cpp \
    components/powerbutton.cpp \
    components/batterybutton.cpp \
    components/networkmodebutton.cpp \
    components/signalstrengthbutton.cpp \
    components/scriptui.cpp

PUBLIC_HEADERS += \
    remotecontrolwidget.h \
    remotecontrolwidget_global.h \
    toolbox.h \
    optionsitem.h \
    scriptadapter.h \
    components/locationui.h \
    components/powerbutton.h \
    components/batterybutton.h \
    components/networkmodebutton.h \
    components/signalstrengthbutton.h \
    components/scriptui.h

HEADERS += $$PUBLIC_HEADERS \
    style/styledbar.h \
    style/styleanimator.h \
    style/qtcassert.h \
    style/manhattanstyle.h \
    style/filterlineedit.h \
    style/fancylineedit.h \
    style/stylehelper.h

RESOURCES += \
    style/style.qrc \
    components/component.qrc


# set dependency include and lib paths
!isEmpty(DEPENDENCY_PATH) {
    INCLUDEPATH *= $$DEPENDENCY_PATH/include
    !mac {
        LIBS *= -L$$DEPENDENCY_PATH/lib
    } else {
        QMAKE_LFLAGS *= -F$$DEPENDENCY_PATH/lib
    }
    unix: isEmpty(INSTALLER) {
        LIBS *= -Wl,-rpath,$$DEPENDENCY_PATH/lib
    }
}

# Coroutine library
!mac {
    LIBS += -l$$qtLibraryTarget(coroutine)
} else {
    LIBS += -framework coroutine
}


# install rules
isEmpty(PREFIX): PREFIX = $$OUT_PWD/install

target.path = $$PREFIX/lib

headers.files = $$PUBLIC_HEADERS
headers.path = $$PREFIX/include/remotecontrolwidget

INSTALLS += target headers