Mastodon

Every now and again users would ask for a macOS version of Kdenlive. Up until recently, the only thing we were able to offer was a very, very old MacPorts version (0.9.10).

But, after Vincent and I invested some time in it, we are happy to announce that we now have an up-to-date nightly build for macOS! However, since Kdenlive is a complex application with many dependencies, it still needs some testing before we can call it officially stable.

And that’s where you come in: If you are a Mac user, please consider downloading the nightly macOS version and testing it!

Download and test

Note that, when running this version of Kdenlive on macOS, you may get an “unidentified developer” warning. You can still open the app by following the instructions on Apple’s support page. the Apple’s support page.

Report issues

Please report any bugs you come across either to https://bugs.kde.org, or on GitLab issue #993. In your report, please remember to mention the number of the build you are testing. Also, keep in mind the general bug report conventions.

Known issues
  • By default the mac style is used instead of the dark breeze style which recommended for Kdenlive (you can change the style in the settings menu)
  • The layout switcher is not visible since a native menu bar is used on mac. You can still switch the layout from the view menu (BUG 441033)

Technical background

If you follow the Kdenlive project closely, you will remember that in the first video cafe we talked about macOS and that a big blocker was that DBus caused trouble with the dmg packaging. DBus is used for the communication between the render process and the application’s main window.

Vincent made it possible to build Kdenlive with the cmake flag -DNODBUS=ON. When you use this flag, Kdenlive uses QLocalSocket and QLocalServer for communication instead of DBus.

KDE Craft LogoOnce the DBus issue was solved, there were only some small issues left to fix. To build Kdenlive on macOS, we use KDE Craft, a meta-build system and package manager that we have already been using for some time for our Windows builds.

The main job after was to adjust the so-called “blueprints”, and tweak some parts of the Kdenlive code to use the right file paths to find all the plugins. It took a while to find and fix all these small issues, and the last one we were aware of was that the frei0r effects were missing.

This last problem has now been solved.

Related code changes

Note: these are only some of the most important changes

 

KDE Craft Blueprints

  • Kdenlive master allows to avoid dbus Commit
  • Kdenlive beginning to work on Mac (in DMG) Commit
  • Kdenlive: fix finding frei0r, skip kf5filemetadata Commit
  • MLT: relocatable build (Linux/MacOS) Commit

Kdenlive

  • Allow to use QLocalSocket/Server instead of DBus Commit
  • Fin MLT on macOS Commit
  • Fix install location on macOS Commit
  • Use .rcc icons on macOS too Commit

MLT

  • CMake: fix MacOS build and allow relocatable build Commit