2017-07-21 16:21:34 +00:00
|
|
|
TEMPLATE = app
|
2018-10-26 07:04:08 +00:00
|
|
|
TARGET = svg2qvg
|
2017-07-21 16:21:34 +00:00
|
|
|
|
|
|
|
QT += svg
|
|
|
|
|
2018-10-22 08:09:37 +00:00
|
|
|
CONFIG += standalone
|
2019-03-09 15:24:41 +00:00
|
|
|
CONFIG -= app_bundle
|
2018-10-22 08:09:37 +00:00
|
|
|
|
2017-07-21 16:21:34 +00:00
|
|
|
DESTDIR = $${QSK_OUT_ROOT}/tools/bin
|
|
|
|
|
2018-10-22 08:09:37 +00:00
|
|
|
standalone {
|
|
|
|
|
|
|
|
# We only need a very small subset of QSkinny and by including the
|
|
|
|
# necessary cpp files svg2qvg becomes independent from the library
|
|
|
|
|
2019-04-02 07:07:09 +00:00
|
|
|
QSK_DIRS = \
|
|
|
|
$${QSK_ROOT}/src/common \
|
|
|
|
$${QSK_ROOT}/src/graphic
|
|
|
|
|
|
|
|
INCLUDEPATH *= $${QSK_DIRS}
|
|
|
|
DEPENDPATH += $${QSK_DIRS}
|
|
|
|
|
2018-10-22 08:09:37 +00:00
|
|
|
DEFINES += QSK_STANDALONE
|
2019-04-02 07:07:09 +00:00
|
|
|
QSK_CONFIG -= QskDll
|
2018-10-22 08:09:37 +00:00
|
|
|
|
2020-01-02 11:23:45 +00:00
|
|
|
QT += gui-private
|
2018-10-22 08:09:37 +00:00
|
|
|
}
|
|
|
|
else {
|
|
|
|
|
2019-04-02 07:07:09 +00:00
|
|
|
CONFIG += qskinny
|
2018-10-22 08:09:37 +00:00
|
|
|
}
|
2017-07-21 16:21:34 +00:00
|
|
|
|
|
|
|
SOURCES += \
|
|
|
|
main.cpp
|
2018-10-26 07:04:08 +00:00
|
|
|
|
|
|
|
target.path = $${QSK_INSTALL_BINS}
|
|
|
|
INSTALLS = target
|