-
Notifications
You must be signed in to change notification settings - Fork 0
/
example.pro
34 lines (25 loc) · 943 Bytes
/
example.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
TEMPLATE = app
CONFIG += no_lflags_merge exceptions_off stl thread warn_on c++17 strict_c++ qt qtquickcompiler
QT += qml quick
DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000\
TBB_USE_EXCEPTIONS=0\
_GLIBCXX_USE_TBB_PAR_BACKEND=0
DEFINES += \
QT_USE_FAST_CONCATENATION \
QT_USE_FAST_OPERATOR_PLUS \
QT_NO_CAST_FROM_ASCII \
QT_NO_CAST_TO_ASCII \
QT_NO_CAST_FROM_BYTEARRAY
RESOURCES = qml.qrc
HEADERS += qtnanosvg.hpp
SOURCES += qtnanosvg.cpp \
svgimageprovider.cpp \
example.cpp
*-g++* {
QMAKE_CXXFLAGS_DEBUG *= -fsanitize=address,undefined
QMAKE_LFLAGS_DEBUG *= -fsanitize=address,undefined
QMAKE_CFLAGS_RELEASE *= -march=native -Ofast -DNDEBUG
QMAKE_CXXFLAGS_RELEASE *= -march=native -Ofast -DNDEBUG -DQT_NO_DEBUG_OUTPUT -fno-plt -fno-stack-protector -g
QMAKE_LFLAGS *= -fno-stack-protector
QMAKE_LFLAGS_RELEASE -= -s
}