diff options
author | Albert Astals Cid <albert.astals@canonical.com> | 2012-12-20 11:01:22 +0100 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2012-12-20 11:16:07 +0100 |
commit | 23e8618566930a1fd9a67d8a659fc6d1d056f819 (patch) | |
tree | 5c86f7333a394081d3bf1ed10b34f9907f883e70 /tests | |
parent | 74a697a8eb7de89184a71aaefd08747e5172ca0e (diff) | |
download | qtsvg-23e8618566930a1fd9a67d8a659fc6d1d056f819.tar.gz |
Fix crash when running in a QGuiApplication
A QGuiApplication has no style so crashes on a null pointer or asserts
in qtbase
Changed test to not depend on widgets so we get
a QGuiApplication instead of a QApplication
Change-Id: Ib4dcc8f8679d3e6b8c11f7ccd5b2539c9de0803b
Reviewed-by: Richard J. Moore <rich@kde.org>
Reviewed-by: David Faure (KDE) <faure@kde.org>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/auto/qicon_svg/qicon_svg.pro | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/qicon_svg/qicon_svg.pro b/tests/auto/qicon_svg/qicon_svg.pro index 3d61851..87e26be 100644 --- a/tests/auto/qicon_svg/qicon_svg.pro +++ b/tests/auto/qicon_svg/qicon_svg.pro @@ -1,7 +1,7 @@ CONFIG += testcase TARGET = tst_qicon_svg -QT += widgets testlib gui-private +QT += testlib gui-private SOURCES += tst_qicon_svg.cpp RESOURCES = tst_qicon_svg.qrc |