AutoTest: Use a prefix in autotest.qrc

Since all resources in Qt Creator get merged together at runtime, they
should be prefixed with the library/plugin name.

Change-Id: Ie411388ed72f099647b25787a140feff1828d3f1
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
Alessandro Portale
2018-03-21 22:26:12 +01:00
parent 65329ca22a
commit 0ecd543614
4 changed files with 10 additions and 10 deletions

View File

@@ -64,7 +64,7 @@ static QIcon testTreeIcon(TestTreeItem::Type type)
Utils::Icons::OPENFILE.icon(),
CPlusPlus::Icons::iconForType(CPlusPlus::Icons::ClassIconType),
CPlusPlus::Icons::iconForType(CPlusPlus::Icons::SlotPrivateIconType),
QIcon(":/images/data.png")
QIcon(":/autotest/images/data.png")
};
if (int(type) >= int(sizeof icons / sizeof *icons))