2011-05-07 20:57:49 +00:00
|
|
|
QT += widgets
|
|
|
|
|
2011-04-27 10:05:43 +00:00
|
|
|
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
|
|
|
|
|
2011-04-27 17:16:41 +00:00
|
|
|
|
|
|
|
simulator: warning(This example might not fully work on Simulator platform)
|