QtSupport: Fix compile with Qt6.2

Amends d2b61bf3f0.

Change-Id: Ieeac8f24b4472ae802aadbcf9667419d2af52453
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
Christian Stenger
2023-06-27 07:44:43 +02:00
parent d2b61bf3f0
commit 3664a62f98

View File

@@ -303,18 +303,18 @@ expected_str<QList<ExampleItem *>> parseExamples(const QByteArray &manifestData,
// ordered list of "known" categories // ordered list of "known" categories
// TODO this should be defined in the manifest // TODO this should be defined in the manifest
Q_GLOBAL_STATIC(QList<QString>, Q_GLOBAL_STATIC_WITH_ARGS(QList<QString>,
defaultOrder, defaultOrder,
{"Application Examples", {QStringList() << "Application Examples"
"Desktop", << "Desktop"
"Mobile", << "Mobile"
"Embedded", << "Embedded"
"Graphics", << "Graphics"
"Input/Output", << "Input/Output"
"Connectivity", << "Connectivity"
"Networking", << "Networking"
"Positioning & Location", << "Positioning & Location"
"Internationalization"}); << "Internationalization"});
static bool sortByHighlightedAndName(ExampleItem *first, ExampleItem *second) static bool sortByHighlightedAndName(ExampleItem *first, ExampleItem *second)
{ {