summaryrefslogtreecommitdiffstats
path: root/examples/network
diff options
context:
space:
mode:
Diffstat (limited to 'examples/network')
-rw-r--r--examples/network/http/main.cpp1
-rw-r--r--examples/network/torrent/main.cpp1
2 files changed, 2 insertions, 0 deletions
diff --git a/examples/network/http/main.cpp b/examples/network/http/main.cpp
index f1b7cda6e3..6d10fad181 100644
--- a/examples/network/http/main.cpp
+++ b/examples/network/http/main.cpp
@@ -46,6 +46,7 @@
int main(int argc, char *argv[])
{
QApplication app(argc, argv);
+ qWarning("The usage of QHttp is not recommended anymore, please use QNetworkAccessManager.");
HttpWindow httpWin;
httpWin.show();
return httpWin.exec();
diff --git a/examples/network/torrent/main.cpp b/examples/network/torrent/main.cpp
index e2ecacfaf5..1b66d0e9f5 100644
--- a/examples/network/torrent/main.cpp
+++ b/examples/network/torrent/main.cpp
@@ -46,6 +46,7 @@
int main(int argc, char *argv[])
{
QApplication app(argc, argv);
+ qWarning("The usage of QHttp is not recommended anymore, please use QNetworkAccessManager.");
qsrand(QTime(0,0,0).secsTo(QTime::currentTime()));
Q_INIT_RESOURCE(icons);