File: x2gokdriveclient.pro

package info (click to toggle)
x2gokdriveclient 0.0.0.1-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 616 kB
  • sloc: cpp: 5,062; makefile: 128
file content (65 lines) | stat: -rw-r--r-- 1,465 bytes parent folder | download
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
######################################################################
# Automatically generated by qmake (3.0) Mi. Okt. 31 08:52:37 2018
######################################################################

TEMPLATE = app
TARGET = x2gokdriveclient
INCLUDEPATH += src
CONFIG += console c++11

QT += widgets
QT += network

linux {
message("Building for Linux")
QT += x11extras
LIBS += -lxcb -lxcb-xfixes
}

RESOURCES += res/resources.qrc

VERSION = "$$cat($${PWD}/VERSION.x2gokdriveclient)"

# Input
TRANSLATIONS += res/i18n/x2gokdriveclient_de.ts

HEADERS += src/client.h \
           src/displayarea.h \
           src/menuframe.h \
           src/screenidentifier.h \
           src/extwin.h

SOURCES += src/main.cpp \
           src/client.cpp \
           src/displayarea.cpp \
           src/menuframe.cpp \
           src/screenidentifier.cpp \
           src/extwin.cpp

linux {
HEADERS += src/xcbclip.h
SOURCES += src/xcbclip.cpp
}

windows {
message("Building for Windows")
LIBS += -ldwmapi
}

LIBS += -lz

!isEmpty(TRANSLATIONS) {
  isEmpty(QMAKE_LRELEASE) {
    qtPrepareTool(QMAKE_LRELEASE, lrelease)
  }

  isEmpty(TS_DIR):TS_DIR = .
  TSQM.name = lrelease ${QMAKE_FILE_IN}
  TSQM.input = TRANSLATIONS
  TSQM.output = $$TS_DIR/${QMAKE_FILE_BASE}.qm
  TSQM.commands = $$QMAKE_LRELEASE ${QMAKE_FILE_IN}
  TSQM.CONFIG = no_link
  QMAKE_EXTRA_COMPILERS += TSQM
  PRE_TARGETDEPS += compiler_TSQM_make_all
}
else:message("No translation files in project")