File tree Expand file tree Collapse file tree 1 file changed +4
-8
lines changed Expand file tree Collapse file tree 1 file changed +4
-8
lines changed Original file line number Diff line number Diff line change 1
1
ADS_OUT_ROOT = $${OUT_PWD }/../..
2
2
3
- QT += core gui
4
-
5
- greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
3
+ QT += core gui widgets
6
4
7
5
TARGET = CentralWidgetExample
8
6
DESTDIR = $${ADS_OUT_ROOT }/lib
9
7
TEMPLATE = app
10
8
CONFIG += c++14
11
9
CONFIG += debug_and_release
10
+ adsBuildStatic {
11
+ DEFINES += ADS_STATIC
12
+ }
12
13
13
14
# The following define makes your compiler emit warnings if you use
14
15
# any Qt feature that has been marked deprecated (the exact warnings
15
16
# depend on your compiler). Please consult the documentation of the
16
17
# deprecated API in order to know how to port your code away from it.
17
18
DEFINES += QT_DEPRECATED_WARNINGS
18
19
19
- # You can also make your code fail to compile if it uses deprecated APIs.
20
- # In order to do so, uncomment the following line.
21
- # You can also select to disable deprecated APIs only up to a certain version of Qt.
22
- # DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000 # disables all the APIs deprecated before Qt 6.0.0
23
-
24
20
SOURCES += \
25
21
main.cpp \
26
22
mainwindow.cpp
You can’t perform that action at this time.
0 commit comments