qt6-bb10/examples/network/torrent
Joerg Bornemann 0c51a87563 Fix CMake build of network/torrent example
The ui_XXX.h include did not match the location of the XXX.ui file, and
AUTOUIC failed with
    "SRC:/addtorrentdialog.h"
    includes the uic file "ui_addtorrentform.h",
    but the user interface file "addtorrentform.ui"
    could not be found in the following directories
      "SRC:"

While this could be fixed by adjusting the include paths properly, this
would complicate the CMake project file, and we're dealing with an
example where needless complexity would cloud comprehensibility.

Move the .ui file next to corresponding source files instead.

This removes the need for any special cases in CMakeLists.txt, and we
can remove .prev_CMakeLists.txt.

Fixes: QTBUG-87457
Pick-to: 6.1
Change-Id: Ic2dec5ded7100e22d5afc571efc4b009bc62e41c
Reviewed-by: Kai Koehne <kai.koehne@qt.io>
2021-02-15 13:40:08 +00:00
..
icons
CMakeLists.txt Fix CMake build of network/torrent example 2021-02-15 13:40:08 +00:00
addtorrentdialog.cpp Cleanup network examples 2019-11-06 10:57:23 +01:00
addtorrentdialog.h Cleanup network examples 2019-11-06 10:57:23 +01:00
addtorrentform.ui Fix CMake build of network/torrent example 2021-02-15 13:40:08 +00:00
bencodeparser.cpp
bencodeparser.h
connectionmanager.cpp
connectionmanager.h
filemanager.cpp
filemanager.h Cleanup network examples 2019-11-06 10:57:23 +01:00
icons.qrc
main.cpp
mainwindow.cpp Fix deprecated API in network/torrent example 2021-02-15 12:07:47 +00:00
mainwindow.h Cleanup network examples 2019-11-06 10:57:23 +01:00
metainfo.cpp
metainfo.h
peerwireclient.cpp QAbstractSocket: Resolve remaining Qt6 TODOs 2020-08-24 17:43:56 +02:00
peerwireclient.h QAbstractSocket: Resolve remaining Qt6 TODOs 2020-08-24 17:43:56 +02:00
ratecontroller.cpp Torrent example: fix crash 2020-05-11 10:21:29 +02:00
ratecontroller.h Cleanup network examples 2019-11-06 10:57:23 +01:00
torrent.pro Fix CMake build of network/torrent example 2021-02-15 13:40:08 +00:00
torrentclient.cpp Replace some more erase/remove patterns with removeIf 2021-01-10 15:02:47 +01:00
torrentclient.h Cleanup network examples 2019-11-06 10:57:23 +01:00
torrentserver.cpp QAbstractSocket: deprecate 'error' signal, use 'errorOccurred' instead 2020-02-27 13:56:45 +01:00
torrentserver.h
trackerclient.cpp Revert "QNetworkReply: deprecate the 'error' getter" 2020-02-28 07:21:14 +03:00
trackerclient.h Cleanup network examples 2019-11-06 10:57:23 +01:00