QmlDesigner: Fix compile on Linux and macOS

Do not use MS extensions on a cross platform build.
Amends 5203c478a5.

Change-Id: Ia4dc014ccb21ffed60dc6a6a54dc63340242349c
Reviewed-by: Andy Nichols <andy.nichols@qt.io>
Reviewed-by: Marco Bubke <marco.bubke@qt.io>
This commit is contained in:
Christian Stenger
2021-04-20 07:08:36 +02:00
parent eed24bd268
commit 3f7877bc37

View File

@@ -35,6 +35,8 @@
namespace QmlDesigner { namespace QmlDesigner {
class NodeListProperty;
namespace Internal { namespace Internal {
class ModelPrivate; class ModelPrivate;
class InternalNodeListProperty; class InternalNodeListProperty;
@@ -42,7 +44,7 @@ using InternalNodeListPropertyPointer = QSharedPointer<InternalNodeListProperty>
class NodeListPropertyIterator class NodeListPropertyIterator
{ {
friend class QMLDESIGNERCORE_EXPORT NodeListProperty; friend class QmlDesigner::NodeListProperty;
public: public:
using iterator_category = std::random_access_iterator_tag; using iterator_category = std::random_access_iterator_tag;