This forum has been archived. All content is frozen. Please use KDE Discuss instead.

[Kdenlive build and C ++ coding]

Tags: None
(comma "," separated)
hirasawayositaka
Registered Member
Posts
15
Karma
0

[Kdenlive build and C ++ coding]

Mon Oct 04, 2021 2:34 am
Nice to meet you, my name is Hirasawa.

Thank you for your time.

I'm now coding the C ++ source code,
I would like to build and use Kdenlive's UI and feature additions and deletions on my own.

But I don't know how to build the Kdenlive source code, so
Could you please tell me how to build the source code?
The PC uses Windows 10.

1) How to build the source code on Windows 10
* Currently, I am downloading the file from Github.
2) I would appreciate it if you could let me know if you have any software required for building.

I would appreciate it if you could teach me as easily as possible.

I'm sorry I'm ignorant, but thank you.
User avatar
bartoloni
Moderator
Posts
1510
Karma
4
OS
hi Hirasawa :) instructions about Kdenlive building are here: https://invent.kde.org/multimedia/kdenl ... s/build.md
if i can suggest... install Linux on a secondary disk partition (or on a virtual machine) to be sure to compile Kdenlive as fast as possible :) on Windows this is a little trickly (and the guide is not updated for what i know)
jlskuz
Registered Member
Posts
4
Karma
1
OS
Hello, nice to meet you too!
@bartoloni's solution would probably be the best for the moment. Also it would be easier to help you if you would join us via chat either on telegram (https://t.me/kdenlive_dev) or matrix (https://webchat.kde.org/#/room/#kdenlive-dev:kde.org)

I am not a regular windows user, so the solution I propose now might not be the simplest, but I it should (hopefully) work if you still want to build on windows instead of linux…

Set up Craft as described at https://community.kde.org/Guidelines_and_HOWTOs/Build_from_source/Windows. (Choose MinGW as compiler!!!)
Start building kdenlive. You can simply run
Code: Select all
craft --target=master kdenlive

Note that if you want to compile kdenlive in debug mode, you can do so by running
Code: Select all
 craft --buildtype Debug --target=master kdenlive

You will find the source code now in a subfolder of C:\CraftRoot\build\kde\kdemultimedia\kdenlive\work Modify it and run craft again (maybe you need to use the -i flag)

I hope it works and maybe someone else can give a better answer. See you soon in the chat!?
vpinon
KDE Developer
Posts
708
Karma
6
OS
Yes, Kdenlive is built on a fantastic stack of libraries, from MLT on FFmpeg to KF5 on Qt5, getting all this together is a hard task.
This is done in craft : for that you only need python, and then after an hour downloading and building things automatically you have everything ready.
Then you can install for example QtCreator and work in craft download/git/.../kdenlive folder.
Note : to speed rebuilds during trivial changes, you can just run `craft --make --install --qmerge --target=master kdenlive`, it will not rebuild everything...
Another possibility could be to get all deps from MSYS2, we have a script never updated for years, now things have improved (all KF5 shipped by pacman) and I think you would need to rebuild only MLT?
Good luck!


Bookmarks



Who is online

Registered users: Bing [Bot], blue_bullet, Google [Bot], Yahoo [Bot]