/torrent-file-editor

Qt based GUI tool designed to create and edit .torrent files

Primary LanguageC++GNU General Public License v3.0GPL-3.0

Build Status Crowdin Version

Torrent File Editor

Qt based GUI tool designed to create and edit .torrent files

Author: Ivan Romanov <drizt72@zoho.eu>
License: GNU General Public License v3.0 or later
Homepage: https://torrent-file-editor.github.io
Sources: https://github.com/torrent-file-editor/torrent-file-editor
Crowdin translations: https://crowdin.com/project/torrent-file-editor

Build Instructions

Need to have

  • CMake >= 2.8.11
  • Qt4 or Qt5
  • QJSON >= 0.8.0 if used Qt4
  • Sparkle only for Mac OS X

Linux:

Will build Qt4 version by default

mkdir build && cd build
cmake -DCMAKE_BUILD_TYPE=Release -DQT5_BUILD=OFF ..
make

Mac OS X:

Only Qt5 version

mkdir build && cd build
cmake -DCMAKE_BUILD_TYPE=Release ..
make
make dmg # to build dmg package

Windows important note

Only Qt4 version for a while. I use Fedora 26 MinGW to build Windows versions. Furthermore I build portable static versions. Any other build way is not tested and may not work. It is on my TODO list.

Fedora hasn't a MinGW QJSON package. You need to build your own version. It is easy:

wget https://github.com/flavio/qjson/archive/master.tar.gz -O qjson-master.tar.gz
tar zxf qjson-master.tar.gz
mkdir qjson-master/win32
mkdir qjson-master/win64
cd qjson-master/win32
mingw32-cmake -DCMAKE_BUILD_TYPE=Release -DBUILD_SHARED_LIBS=OFF -DQT4_BUILD=ON  -DQT_INCLUDE_DIRS_NO_SYSTEM=ON -DQT_USE_IMPORTED_TARGETS=OFF ..
make
sudo make install # will be careful, it installs qjson to system folders
cd ../win64
mingw64-cmake -DCMAKE_BUILD_TYPE=Release -DBUILD_SHARED_LIBS=OFF -DQT4_BUILD=ON  -DQT_INCLUDE_DIRS_NO_SYSTEM=ON -DQT_USE_IMPORTED_TARGETS=OFF ..
make
sudo make install # be careful, it installs qjson to system folders

Windows x32:

mkdir build && cd build
mingw32-cmake -DCMAKE_BUILD_TYPE=Release ..
make

Windows x64:

mkdir build && cd build
mingw64-cmake -DCMAKE_BUILD_TYPE=Release ..
make

How Can I Help?

The Project is translated from English to several languages. I would be glad if you add new translations. You can translate the project to your native language with Crowdin. It is not difficult and no special knowledges are required. Or you can correct my English. I know it is not good. Anyway you can always email <drizt72@zoho.eu> me.

Also feel free to open an issue on GitHub or send me pull requests.

Translations

Afrikaans - Afrikaans
العربية - Arabic
বাংলা - Bengali
简体中文 - Chinese Simplified
繁體中文 - Chinese Traditional
Čeština - Czech
Nederlands - Dutch
English - English
Suomi - Finnish
Français - French
Deutsch - German
עברית‎ - Hebrew
Magyar - Hungarian
Indonesia - Indonesian
Italiano - Italian
日本語 - Japanese
한국어 - Korean
Polski - Polish
Português (Brasil) - Portuguese (Brazil)
Română - Romanian
Русский - Russian
Español - Spanish
Türkçe - Turkish
Tiếng Việt - Vietnamese
Украї́нська - Ukrainian