Kdenlive/Development/KF5: Difference between revisions

From KDE Community Wiki
(Kdenlive KF5 porting)
 
Line 2: Line 2:


'''Compiling MLT with Qt5 support'''
'''Compiling MLT with Qt5 support'''
The first step is to recompile MLT with Qt5 support. If you have both Qt4 and Qt5 installed you may need to manually set the path to Qt5 libs/include dirs.
The first step is to recompile MLT with Qt5 support. If you have both Qt4 and Qt5 installed you may need to manually set the path to Qt5 libs/include dirs.


On Kubuntu, you can do it by adding the following to the configure:
On Kubuntu, you can do it by adding the following to the configure:
--qt-includedir=/usr/include/x86_64-linux-gnu/qt5 --qt-libdir=/usr/lib/x86_64-linux-gnu/
Compile MLT and make sure it works:
melt myclip.mp4
'''Get the frameworks branch of Kdenlive'''
# Get the sources:
#: git clone git://anongit.kde.org/kdenlive
# Get the frameworks branch:
#: git checkout -b frameworks origin/frameworks
'''Compile Kdenlive'''
You will need to install several Qt/KDE devel packages to successfully compile. On Ubuntu, packages are :
qtscript5-dev libkf5xmlgui-dev libkf5newstuff-dev libkf5notifyconfig-dev libkf5plotting-dev libkf5kdelibs4support-dev


--qt-includedir=/usr/include/x86_64-linux-gnu/qt5 --qt-libdir=/usr/lib/x86_64-linux-gnu/
This should allow you to compile Kdenlive/KF5 and start helping to port

Revision as of 10:03, 5 December 2014

Starting Kdenlive KF5 porting

Compiling MLT with Qt5 support

The first step is to recompile MLT with Qt5 support. If you have both Qt4 and Qt5 installed you may need to manually set the path to Qt5 libs/include dirs.

On Kubuntu, you can do it by adding the following to the configure: --qt-includedir=/usr/include/x86_64-linux-gnu/qt5 --qt-libdir=/usr/lib/x86_64-linux-gnu/

Compile MLT and make sure it works: melt myclip.mp4

Get the frameworks branch of Kdenlive

  1. Get the sources:
    git clone git://anongit.kde.org/kdenlive
  2. Get the frameworks branch:
    git checkout -b frameworks origin/frameworks

Compile Kdenlive

You will need to install several Qt/KDE devel packages to successfully compile. On Ubuntu, packages are : qtscript5-dev libkf5xmlgui-dev libkf5newstuff-dev libkf5notifyconfig-dev libkf5plotting-dev libkf5kdelibs4support-dev

This should allow you to compile Kdenlive/KF5 and start helping to port