forked from qt-creator/qt-creator
The NetworkQuery class is prepared to work with TaskTree. Provide the task tree adapter for the NetworkQuery class. Register the task inside the Tasking namespace under the NetworkQueryTask name. This class introduces the dependency to Qt::Network, otherwise Tasking namespace is independent on Qt::Network. Possibly, may be added into Qt::Network lib, as a wrapper around the QNetworkReply. Change-Id: I29f160c0bf128c567ce20f044540b2dd6f1e17c4 Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
12 lines
209 B
CMake
12 lines
209 B
CMake
add_qtc_test(tst_tasking_demo
|
|
MANUALTEST
|
|
DEPENDS Tasking Qt::Widgets Qt::Network
|
|
SOURCES
|
|
demo.qrc
|
|
main.cpp
|
|
progressindicator.h
|
|
progressindicator.cpp
|
|
taskwidget.h
|
|
taskwidget.cpp
|
|
)
|