-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathqt-sudo.pro
94 lines (84 loc) · 3.47 KB
/
qt-sudo.pro
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
94
######################################################################
# Automatically generated by qmake (3.1) Tue Jun 18 16:40:37 2019
######################################################################
QT += core gui widgets
CONFIG += qt console warn_on debug lrelease embed_translations
QM_FILES_RESOURCE_PREFIX=/translations
LIBS += -lutil
TEMPLATE = app
TARGET = qt-sudo
INCLUDEPATH += .
# The following define makes your compiler warn you if you use any
# feature of Qt which has 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
# Disable automatic string conversions
DEFINES += QT_USE_QSTRINGBUILDER \
QT_NO_CAST_FROM_ASCII \
QT_NO_CAST_TO_ASCII \
QT_NO_URL_CAST_FROM_STRING \
QT_NO_CAST_FROM_BYTEARRAY
# 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
# Input
HEADERS += passworddialog.h \
sudo.h \
SOURCES += main.cpp \
passworddialog.cpp \
sudo.cpp
FORMS += passworddialog.ui
TRANSLATIONS += translations/lxqt-sudo_arn.ts \
translations/lxqt-sudo_ar.ts \
translations/lxqt-sudo_ast.ts \
translations/lxqt-sudo_bg.ts \
translations/lxqt-sudo_ca.ts \
translations/lxqt-sudo_cs.ts \
translations/lxqt-sudo_cy.ts \
translations/lxqt-sudo_da.ts \
translations/lxqt-sudo_de.ts \
translations/lxqt-sudo_el.ts \
translations/lxqt-sudo_es.ts \
translations/lxqt-sudo_et.ts \
translations/lxqt-sudo_fi.ts \
translations/lxqt-sudo_fr.ts \
translations/lxqt-sudo_gl.ts \
translations/lxqt-sudo_he.ts \
translations/lxqt-sudo_hr.ts \
translations/lxqt-sudo_hu.ts \
translations/lxqt-sudo_id.ts \
translations/lxqt-sudo_it.ts \
translations/lxqt-sudo_ja.ts \
translations/lxqt-sudo_ko.ts \
translations/lxqt-sudo_lg.ts \
translations/lxqt-sudo_lt.ts \
translations/lxqt-sudo_nb_NO.ts \
translations/lxqt-sudo_nl.ts \
translations/lxqt-sudo_oc.ts \
translations/lxqt-sudo_pa.ts \
translations/lxqt-sudo_pl.ts \
translations/lxqt-sudo_pt_BR.ts \
translations/lxqt-sudo_pt.ts \
translations/lxqt-sudo_ru.ts \
translations/lxqt-sudo_si.ts \
translations/lxqt-sudo_sk.ts \
translations/lxqt-sudo_sl.ts \
translations/lxqt-sudo_tr.ts \
translations/lxqt-sudo.ts \
translations/lxqt-sudo_uk.ts \
translations/lxqt-sudo_vi.ts \
translations/lxqt-sudo_zh_CN.ts \
translations/lxqt-sudo_zh_TW.ts
# install
isEmpty(PREFIX) {
PREFIX = /usr/local
}
isEmpty(LIBDIR) {
LIBDIR = $$PREFIX/bin
}
target.path = $$LIBDIR
sources.files = $$SOURCES $$HEADERS *.pro
sources.path = .
INSTALLS += target