test: fixed failure of tst_qicon
authorRohan McGovern <rohan.mcgovern@nokia.com>
Mon, 1 Aug 2011 06:44:09 +0000 (16:44 +1000)
committerQt by Nokia <qt-info@nokia.com>
Tue, 2 Aug 2011 05:37:21 +0000 (07:37 +0200)
commitc07e1130d9fbfec2aeda2248341858b12a99fb93
tree5934035b4779f59e4ffcfbd65e96a56bfe8b867c
parent569cd194d20e61d35768b210b4351f4eeb5c1ef8
test: fixed failure of tst_qicon

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>
tests/auto/qicon/qicon.pro
tests/auto/qicon/tst_qicon.cpp