Fix tst_QIcon for configurations with builtin_testdata
Change-Id: Ibf9fcf7d3a8d58c9c488637a45985593950defaf Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
This commit is contained in:
parent
24decb49d6
commit
876aed331d
@ -4,6 +4,6 @@ TARGET = tst_qicon
|
||||
QT += testlib
|
||||
qtHaveModule(widgets): QT += widgets
|
||||
SOURCES += tst_qicon.cpp
|
||||
RESOURCES = tst_qicon.qrc
|
||||
RESOURCES = tst_qicon.qrc tst_qicon.cpp
|
||||
|
||||
TESTDATA += icons/* second_icons/* *.png *.svg *.svgz
|
||||
|
@ -83,7 +83,7 @@ bool tst_QIcon::haveImageFormat(QByteArray const& desiredFormat)
|
||||
tst_QIcon::tst_QIcon()
|
||||
: m_pngImageFileName(QFINDTESTDATA("image.png"))
|
||||
, m_pngRectFileName(QFINDTESTDATA("rect.png"))
|
||||
, m_sourceFileName(QFINDTESTDATA(__FILE__))
|
||||
, m_sourceFileName(":/tst_qicon.cpp")
|
||||
{
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user