c07e1130d9
This test unconditionally assumed that SVG support was available. This is an invalid circular dependency: the test is in qtbase and depends on qtsvg, which depends on qtbase. Change the test so that it uses SVG support only if available. Change-Id: Ia63ce74abdecd4bcf7a4e0714b8cb7c488e17495 Reviewed-on: http://codereview.qt.nokia.com/2426 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Sergio Ahumada <sergio.ahumada@nokia.com>
30 lines
691 B
Prolog
30 lines
691 B
Prolog
load(qttest_p4)
|
|
|
|
SOURCES += tst_qicon.cpp
|
|
RESOURCES = tst_qicon.qrc
|
|
|
|
wince* {
|
|
QT += xml svg
|
|
addFiles.files += $$_PRO_FILE_PWD_/*.png
|
|
addFiles.files += $$_PRO_FILE_PWD_/*.svg
|
|
addFiles.files += $$_PRO_FILE_PWD_/*.svgz
|
|
addFiles.files += $$_PRO_FILE_PWD_/tst_qicon.cpp
|
|
addFiles.path = .
|
|
DEPLOYMENT += addFiles
|
|
|
|
DEPLOYMENT_PLUGIN += qsvg
|
|
DEFINES += SRCDIR=\\\".\\\"
|
|
} else:symbian {
|
|
QT += xml svg
|
|
addFiles.files = *.png tst_qicon.cpp *.svg *.svgz
|
|
addFiles.path = .
|
|
DEPLOYMENT += addFiles
|
|
qt_not_deployed {
|
|
plugins.files = qsvgicon.dll
|
|
plugins.path = iconengines
|
|
DEPLOYMENT += plugins
|
|
}
|
|
} else {
|
|
DEFINES += SRCDIR=\\\"$$PWD\\\"
|
|
}
|