forked from qt-creator/qt-creator
QtSupport: Fix compile with Qt6.2
Amends d2b61bf3f0
.
Change-Id: Ieeac8f24b4472ae802aadbcf9667419d2af52453
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
@@ -303,18 +303,18 @@ expected_str<QList<ExampleItem *>> parseExamples(const QByteArray &manifestData,
|
||||
|
||||
// ordered list of "known" categories
|
||||
// TODO this should be defined in the manifest
|
||||
Q_GLOBAL_STATIC(QList<QString>,
|
||||
Q_GLOBAL_STATIC_WITH_ARGS(QList<QString>,
|
||||
defaultOrder,
|
||||
{"Application Examples",
|
||||
"Desktop",
|
||||
"Mobile",
|
||||
"Embedded",
|
||||
"Graphics",
|
||||
"Input/Output",
|
||||
"Connectivity",
|
||||
"Networking",
|
||||
"Positioning & Location",
|
||||
"Internationalization"});
|
||||
{QStringList() << "Application Examples"
|
||||
<< "Desktop"
|
||||
<< "Mobile"
|
||||
<< "Embedded"
|
||||
<< "Graphics"
|
||||
<< "Input/Output"
|
||||
<< "Connectivity"
|
||||
<< "Networking"
|
||||
<< "Positioning & Location"
|
||||
<< "Internationalization"});
|
||||
|
||||
static bool sortByHighlightedAndName(ExampleItem *first, ExampleItem *second)
|
||||
{
|
||||
|
Reference in New Issue
Block a user