Warning, /sdk/kdiff3/INSTALL is written in an unsupported language. File is not indexed.
0001 Building KDiff3 requires the following minimum versions: 0002 1)Qt 5.15 or later 0003 2)KF5 5.100+ 0004 3)CMake 3.20 0005 4)ECM 5.100+ 0006 5)boost 1.71+ 0007 Supported compilers:(Must have full c++17 support version cut offs are approximate) 0008 6)MSVC 2019+, gcc 9.0+, clang 10+ 0009 0010 *nix: 0011 On debian based systems you needed to install the fallowing. 0012 0013 gettext, qtbase5-dev, extra-cmake-modules, libboost-dev, libkf5i18n-dev, libkf5coreaddons-dev, libkf5iconthemes-dev libkf5parts-dev, libkf5doctools-dev, libkf5crash-dev, cmake, (gcc or clang) 0014 These should available as part of the standard repos. 0015 To build KDiff3 run: 0016 cmake . && make 0017 sudo make install 0018 cmake will automatically verify that the requirements are met before attempting to build. 0019 0020 Windows: 0021 0022 For windows the build should be done via. craft. Although other methods may work they are not 0023 tested. 0024 0025 Craft requires python 3.7 or later to be installed it can be downloaded here: 0026 https://www.python.org/downloads/windows/ 0027 This should be automatically installed by craft. 0028 0029 You will also need to start a power shell environment as administrator instruction for that are at: 0030 https://docs.microsoft.com/en-us/powershell/scripting/getting-started/starting-windows-powershell?view=powershell-6 0031 0032 On Windows 10 this will be the default shell. 0033 Run the following: 0034 1)Set-ExecutionPolicy -Scope CurrentUser RemoteSigned 0035 2)iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/KDE/craft/master/setup/install_craft.ps1')) 0036 0037 You may also have to exempt your craft directory from virus scans as these can interfere with the build process. 0038 0039 1)cd to your craft root 0040 Run: 0041 2)C:\CraftRoot\craft\craftenv.ps1 0042 3)craft png2ico 0043 4)craft kdiff3 0044 If you what to build 1.12.x than use: 0045 4) craft --target 1.12 kdiff3 0046 0047 Otherwise craft will use master which is the development branch and therefor more likely to experience breakage. 0048 0049 At this point you can run kdiff3 itself via the following: 0050 cb kdiff3 0051 bin/kdiff3 0052 0053 If you want to create an install package you would run: 0054 5)craft nsis 0055 0056 6)craft --package kdiff3 or craft --target 1.12 --package kdiff3 0057 0058 This will be a time consuming process on first run as craft will have to download all dependencies. 0059 KDiff3 does not require special configuration for craft. 0060 0061 There should be an installer package generated in CraftRoot/tmp 0062 0063 Please contact kde-windows@kde.org before filing a bug report regarding this process.