diff options
author | Lars Knoll <lars.knoll@nokia.com> | 2011-05-07 22:57:49 +0200 |
---|---|---|
committer | Lars Knoll <lars.knoll@nokia.com> | 2011-05-07 22:57:49 +0200 |
commit | e510b6e4661f256a736b1eff42b4b7586acef788 (patch) | |
tree | e727e3df4ac98feb4fe6ef550ae39492c2843b66 /examples/network/torrent | |
parent | 9474f82f8a4ca4abfc349c17debd84f26148fc20 (diff) |
include fixes
Fixed the include statements
added QT+=widgets in examples/network to
get them to compile. Will need something better
than doing it manually.
Diffstat (limited to 'examples/network/torrent')
-rw-r--r-- | examples/network/torrent/mainwindow.cpp | 2 | ||||
-rw-r--r-- | examples/network/torrent/torrent.pro | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/examples/network/torrent/mainwindow.cpp b/examples/network/torrent/mainwindow.cpp index 06dfca1ba2..3d264eb272 100644 --- a/examples/network/torrent/mainwindow.cpp +++ b/examples/network/torrent/mainwindow.cpp @@ -38,7 +38,7 @@ ** ****************************************************************************/ -#include <QtGui> +#include <QtWidgets> #include "addtorrentdialog.h" #include "mainwindow.h" diff --git a/examples/network/torrent/torrent.pro b/examples/network/torrent/torrent.pro index 0dc3aa7950..4e2aaa68ef 100644 --- a/examples/network/torrent/torrent.pro +++ b/examples/network/torrent/torrent.pro @@ -1,3 +1,5 @@ +QT += widgets + HEADERS += addtorrentdialog.h \ bencodeparser.h \ connectionmanager.h \ |