qt5base-lts/examples/network/torrent/torrent.pro
Friedemann Kleint 87274e272d QtBase examples: Remove Maemo/Symbian-specific code.
- Maemo/Symbian are no longer supported and QWidget-based examples
  are no longer supposed to run on mobile platforms, so, remove any
  Maemo/Symbian or mobile-specific code from source files and
  profiles.
- Remove Maemo/Symbian vibration examples.
- Change Q_WS_MAC/WIN to Q_OS_MAC/WIN where appropriate.

Reviewed-by: Casper van Donderen <casper.vandonderen@nokia.com>

Change-Id: I488a0adadb98934567aa6416206a80465c9c3a81
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com>
Reviewed-by: Casper van Donderen <casper.vandonderen@nokia.com>
2011-10-18 15:47:49 +02:00

43 lines
1.1 KiB
Prolog

QT += widgets
HEADERS += addtorrentdialog.h \
bencodeparser.h \
connectionmanager.h \
mainwindow.h \
metainfo.h \
peerwireclient.h \
ratecontroller.h \
filemanager.h \
torrentclient.h \
torrentserver.h \
trackerclient.h
SOURCES += main.cpp \
addtorrentdialog.cpp \
bencodeparser.cpp \
connectionmanager.cpp \
mainwindow.cpp \
metainfo.cpp \
peerwireclient.cpp \
ratecontroller.cpp \
filemanager.cpp \
torrentclient.cpp \
torrentserver.cpp \
trackerclient.cpp
# Forms and resources
FORMS += forms/addtorrentform.ui
RESOURCES += icons.qrc
QT += network
# install
target.path = $$[QT_INSTALL_EXAMPLES]/qtbase/network/torrent
sources.files = $$SOURCES $$HEADERS $$RESOURCES torrent.pro *.torrent
sources.files += icons forms 3rdparty
sources.path = $$[QT_INSTALL_EXAMPLES]/qtbase/network/torrent
INSTALLS += target sources
simulator: warning(This example might not fully work on Simulator platform)