![]() Last one, justcmd.bat, actually untested yet in time of writing, but should be working just fine: set MINGW_BIN_DIR=c:\mingw64\mingw64\bin\ \krita\build-tools\windows\build.cmd -no-interactive -skip-deps -download-dir. Then buildkrita.bat: set MINGW_BIN_DIR=c:\mingw64\mingw64\bin\ \krita\build-tools\windows\build.cmd -no-interactive -download-dir. Next one is buildall.bat: set MINGW_BIN_DIR=c:\mingw64\mingw64\bin\ Set "WindowsSdkVerBinPath=%ProgramFiles(x86)%\Windows Kits\10\bin\2.0" Set "WindowsSdkDir=%ProgramFiles(x86)%\Windows Kits\10" Set PATH=%BUILDROOT%\i\bin\ %BUILDROOT%\i\lib %PATH% Set PATH=%PATH% C:\mingw64\mingw64\bin C:\%ProgramFiles%\Python36 Set PATH=%PATH:C:\Strawberry\perl\site\bin =% This file is called env.bat: set OLDPATH=%PATH% ![]() In env-dev I made a few scripts that helped me with build.cmd script without having to fight with cmd too much. I cloned Krita’s code repository into krita directory: Inside I have two directories: krita and env-dev. I created a new directory: C:/qtdev (kritadev was taken). Python 3.6 (in time of writing, 3.6.8 is the newest).Cmake >3.3.2, but it can’t be 3.9 (just take 3.10 instead).Install mingw to something like C:\mingw the full path must not contain any spaces.For exceptions, select seh (64-bit) or dwarf (32-bit).– files can be found under “Toolchains targetting Win64/Win32″/”Personal Builds”.List of things to download and install (for details go to, which is also a place I took versions information and some sentences from): Since I’m gonna need to make another one very soon and very quickly, I decided to write down my experiences before I forget it all. I needed to patch Qt on Windows, so I had to leave my comfortable Tusooa’s script development environment based on pre-built dependencies taken from the KDE Build Factory and make an actual proper Windows Krita development environment.
0 Comments
Leave a Reply. |