Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- diff --git a/src/declarative/items/qsgitemsmodule.cpp b/src/declarative/items/qsgitemsmodule.cpp
- index 9359906..c0341ae 100644
- --- a/src/declarative/items/qsgitemsmodule.cpp
- +++ b/src/declarative/items/qsgitemsmodule.cpp
- @@ -77,6 +77,7 @@
- #include "qsgsprite_p.h"
- #include "qsgspriteimage_p.h"
- #include "qsgdragtarget_p.h"
- +#include "qnetworkreply.h"
- static QDeclarativePrivate::AutoParentResult qsgitem_autoParent(QObject *obj, QObject *parent)
- {
- @@ -159,6 +160,7 @@ static void qt_sgitems_defineModule(const char *uri, int major, int minor)
- #ifndef QT_NO_ACTION
- qmlRegisterType<QAction>();
- #endif
- + qmlRegisterUncreatableType<QNetworkReply>(uri, major, minor, "NetworkReply", qApp->translate("Export QNetworkReply in QML", "Cannot create separate instance of NetworkReply"));
- qmlRegisterType<QSGPen>();
- qmlRegisterType<QSGFlickableVisibleArea>();
- qRegisterMetaType<QSGAnchorLine>("QSGAnchorLine");
Add Comment
Please, Sign In to add comment