diff --git a/src/plugins/qtsupport/examplesparser.cpp b/src/plugins/qtsupport/examplesparser.cpp index 441db6a6ca0..d115dcf3fe0 100644 --- a/src/plugins/qtsupport/examplesparser.cpp +++ b/src/plugins/qtsupport/examplesparser.cpp @@ -303,18 +303,18 @@ expected_str> parseExamples(const QByteArray &manifestData, // ordered list of "known" categories // TODO this should be defined in the manifest -Q_GLOBAL_STATIC(QList, - defaultOrder, - {"Application Examples", - "Desktop", - "Mobile", - "Embedded", - "Graphics", - "Input/Output", - "Connectivity", - "Networking", - "Positioning & Location", - "Internationalization"}); +Q_GLOBAL_STATIC_WITH_ARGS(QList, + defaultOrder, + {QStringList() << "Application Examples" + << "Desktop" + << "Mobile" + << "Embedded" + << "Graphics" + << "Input/Output" + << "Connectivity" + << "Networking" + << "Positioning & Location" + << "Internationalization"}); static bool sortByHighlightedAndName(ExampleItem *first, ExampleItem *second) {