File: qt.pro

package info (click to toggle)
qtscrob 0.11%2Bgit-2
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd, stretch
  • size: 1,100 kB
  • ctags: 485
  • sloc: cpp: 4,319; ansic: 404; makefile: 10
file content (68 lines) | stat: -rw-r--r-- 1,369 bytes parent folder | download | duplicates (2)
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
include (../common.pri)

unix:!mac { 
    target.path = $${BINDIR}

    desktop.path = $${DATADIR}/applications
    desktop.files = qtscrob.desktop

    icon16.path = $${DATADIR}/icons/hicolor/16x16/apps
    icon16.files = resources/icons/16x16/qtscrob.png

    icon32.path = $${DATADIR}/icons/hicolor/32x32/apps
    icon32.files = resources/icons/32x32/qtscrob.png

    icon64.path = $${DATADIR}/icons/hicolor/64x64/apps
    icon64.files = resources/icons/64x64/qtscrob.png

    man.files = qtscrob.1
    man.path = $${DATADIR}/man/man1
    
    man-compress.path = $${DATADIR}/man/man1
    man-compress.extra = "gzip -9 -f \$(INSTALL_ROOT)/$$DATADIR/man/man1/qtscrob.1"
    man-compress.depends = install_man

    INSTALLS = target \
        desktop \
        icon16 \
        icon32 \
        icon64 \
        man \
        man-compress
}

TEMPLATE = app
TARGET = qtscrob
QT += gui
LANGUAGE = C++
INCLUDEPATH += . \
    src \
    src/ui \
    ../lib \
    ../common
DEPENDPATH += ../lib
CONFIG += qt \
    x11

win32 {
    CONFIG(debug, debug|release) {
        CONFIG += console
    } else {
        CONFIG -= console
        CONFIG += windows
    }
    RC_FILE = qtscrob.rc
}

OPENEDFILES = src/main.cpp \
    src/qtscrob.h \
    src/qtscrob.cpp

RESOURCES = qtscrob.qrc

unix:mac {
    ICON = resources/icons/qtscrob.icns
}

include (../app.pri)
include (qt.pri)