File: save-param.pro

package info (click to toggle)
ukui-settings-daemon 4.0.0.4-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 4,412 kB
  • sloc: cpp: 39,120; ansic: 3,240; xml: 1,570; sh: 88; makefile: 4
file content (80 lines) | stat: -rw-r--r-- 1,855 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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
#-------------------------------------------------
#
# Project created by QtCreator 2020-11-12T15:37:31
#
#-------------------------------------------------

QT       +=xml core gui dbus network

greaterThan(QT_MAJOR_VERSION, 4): QT += widgets

TARGET = save-param
TEMPLATE = app

# The following define makes your compiler emit warnings if you use
# any feature of Qt which as been marked as deprecated (the exact warnings
# depend on your compiler). Please consult the documentation of the
# deprecated API in order to know how to port your code away from it.
DEFINES += QT_DEPRECATED_WARNINGS MODULE_NAME=\\\"save-param\\\"

QMAKE_CFLAGS_DEBUG -= O2
QMAKE_CXXFLAGS_DEBUG -= -O2

QMAKE_CFLAGS_RELEASE -= O2
QMAKE_CXXFLAGS_RELEASE -= -O2

INCLUDEPATH += \
         /usr/include/KF6/KWindowSystem

LIBS += -lX11 \
        -lKF6Screen


CONFIG += link_pkgconfig
CONFIG += C++20

PKGCONFIG += libxklavier \
        x11 \
        xrandr \
        xtst \
        atk \
        xi \
        xrandr  \
        gudev-1.0


# You can also make your code fail to compile if you use deprecated APIs.
# In order to do so, uncomment the following line.
# You can also select to disable deprecated APIs only up to a certain version of Qt.
#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000    # disables all the APIs deprecated before Qt 6.0.0

target_sp.files += $$TARGET
target_sp.path = /usr/bin


INSTALLS +=  \
            target_sp

SOURCES += \
    calibrate-touch-device.cpp \
    lightdm-config-helper.cpp \
    save-screen.cpp \
    xrandr-config.cpp \
    xrandr-output.cpp   \
    main.cpp

HEADERS += \
    calibrate-touch-device.h \
    color-temp-info.h \
    lightdm-config-helper.h \
    main.h \
    save-screen.h \
    xrandr-config.h \
    xrandr-output.h



TRANSLATIONS +=  \
                res/zh_CN.ts \

include($$PWD/../../common/common.pri)