![]() Registered Member ![]()
|
Hi Guys,
First of all, Krita is a great project so thanks to everyone who's contributed. I'm a software dev with 10+ years experience. I've got no experience with Linux but want to try debugging and potentially adding new features to Krita. Unfortunately I'm pretty time poor. The learning curve just to get everything installed and built is putting me off getting started. Is there any chance someone could provide a VirtualBox image with a development environment all set up? Regards, StevieJ |
![]() Registered Member ![]()
|
You don't need to use Linux to develop for Krita, Windows and macOS would be fine too.
The build instructions including dependencies are outlined in 3rdparty/README.md, you can see it here: https://phabricator.kde.org/source/krit ... /3rdparty/ |
![]() Registered Member ![]()
|
Hi, Yes I know that. Sorry I didn't make it clear. I just focused on Linux because I thought I might have more luck getting an image of that.
It looks like the support for building on Windows has come a long way since I last looked at it. However it is still a pretty giant set of instructions. I most likely only get an hour at a time to work on this so there is little hope of me sitting down and working through the install process. If I could just pick something up and start debugging it would greatly increase my chance of actually getting somewhere. |
![]() KDE Developer ![]()
|
Hm, dmityr uses docker on linux to setup dev envs. I'll ask him to write here.
|
![]() Registered Member ![]()
|
OK, So I dove in and tried this myself. Have set based on a Linux Mint 18.2 image from osboxes.org.
Followed the instruction at https://community.kde.org/Krita/linuxbuild The process was pretty easy despite my ignorance of Linux. Also installed KDevelop. I seem to be able to launch and debug, but not attach debugger to running exe. I will probably have another go from scratch as I have installed into ~/kf5/build/krita ~/kf5/src/krita ~/kf5/inst/krita despite my home being ~/osboxes. As I said, new to Linux. I just followed the instructions very literally. Anyway, if anyone is interested I have uploaded to my google drive. If I get a set up I am happier with I'll share at a more permanent location .ova file: https://drive.google.com/open?id=18gcqF ... eQ5y526Ypi zipped .vdi: https://drive.google.com/open?id=1MB0OK ... TdQNs19YHx I'm not sure why the ova is so much bigger. Please someone be kind enough to tell me if I did something stupid like shared private info on the image. Still looking for someone more experienced to share a fully set up dev env as I'm sure I've made a bunch of bad choices. Is there a way to load all the krita source into kdevelop or another IDE? |
![]() KDE Developer ![]()
|
Yes, if you're using qt creator for example, all you need to do is tell qtcreator where the main cmake file is in the source, and it will parse through all the files. I am not sure if kdevelop has something like it, as I've only used that for python, but I'd be surprised if it didn't.
|
Registered users: Bing [Bot], Google [Bot], Sogou [Bot]