diff options
author | Ulf Hermann <ulf.hermann@qt.io> | 2017-12-18 19:20:00 +0100 |
---|---|---|
committer | Ulf Hermann <ulf.hermann@qt.io> | 2018-02-12 09:13:26 +0000 |
commit | cad65e4eb34110a48545bf1fdb2e83d848c5184c (patch) | |
tree | d423ae530a334b98e2e3b5ff0fc0afe19f5e7539 /src/qml/qml/qml.pri | |
parent | b8778ca03027266d5408a9d61a1ca5fa94ac07f7 (diff) |
Add a feature for xmlhttprequest
Change-Id: I1a1f5ee11c16b113163aaa8fd3086fcca8efa6f6
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
Diffstat (limited to 'src/qml/qml/qml.pri')
-rw-r--r-- | src/qml/qml/qml.pri | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/src/qml/qml/qml.pri b/src/qml/qml/qml.pri index 412dc6cba2..05cc741582 100644 --- a/src/qml/qml/qml.pri +++ b/src/qml/qml/qml.pri @@ -20,7 +20,6 @@ SOURCES += \ $$PWD/qqmlinfo.cpp \ $$PWD/qqmlerror.cpp \ $$PWD/qqmlvaluetype.cpp \ - $$PWD/qqmlxmlhttprequest.cpp \ $$PWD/qqmlcleanup.cpp \ $$PWD/qqmlpropertycache.cpp \ $$PWD/qqmlnotifier.cpp \ @@ -85,7 +84,6 @@ HEADERS += \ $$PWD/qqmldata_p.h \ $$PWD/qqmlerror.h \ $$PWD/qqmlvaluetype_p.h \ - $$PWD/qqmlxmlhttprequest_p.h \ $$PWD/qqmlcleanup_p.h \ $$PWD/qqmlpropertycache_p.h \ $$PWD/qqmlpropertyindex_p.h \ @@ -120,5 +118,14 @@ HEADERS += \ $$PWD/qqmldelayedcallqueue_p.h \ $$PWD/qqmlloggingcategory_p.h +qtConfig(qml-xml-http-request) { + HEADERS += \ + $$PWD/qqmlxmlhttprequest_p.h + + SOURCES += \ + $$PWD/qqmlxmlhttprequest.cpp + +} + include(ftw/ftw.pri) include(v8/v8.pri) |