< Kdenlive Revision as of 09:11, 10 January 2015 (view source)Ttguy (talk | contribs) (info on developer mailing list)← Older edit Revision as of 21:14, 11 February 2015 (view source) Ttguy (talk | contribs) (→Developer Mailing List - link to searchable archive of the mailing list)Newer edit → Line 33: Line 33: == Developer Mailing List == == Developer Mailing List == The kdenlive developer mailing list archives can be found [http://mail.kde.org/pipermail/kdenlive/ here] The kdenlive developer mailing list archives can be found [http://mail.kde.org/pipermail/kdenlive/ here] + +A searchable archive of the kdenlive developer mailing list can be found [http://www.mail-archive.com/[email protected]/ here] Information on how to subscribe can be found [https://mail.kde.org/mailman/listinfo/kdenlive here] Information on how to subscribe can be found [https://mail.kde.org/mailman/listinfo/kdenlive here] Revision as of 21:14, 11 February 2015 This page should guide the developer to a build environment and provide a general “getting started”. Porting Kdenlive to Qt5/KF5: Kdenlive development is now mostly moving towards the Qt5/KF5 version. You will find information on this page: Kdenlive/Development/KF5 Contents 1 Getting the sources 2 IDE Setup 2.1 Setting up KDevelop 2.2 Setting up QtCreator 3 MLT documentation 4 Environment variables 5 Developer Mailing List Getting the sources Please refer to the TechBase tutorial Building An Existing Application. You may also be interested in the other tutorials on TechBase. IDE Setup Pick your favourite! Setting up KDevelop adding kdenlive adding mlt (references) Setting up QtCreator After checking out Kdenlive from git—when working on refactoring, you may want to clone two copies, one with the next branch and another one on the refactoring branch—, you can open the CMakeLists.txt in QtCreator, which will load the project if cmake succeeds. If you run/debug Kdenlive, make sure that kdenlive and not kdenlive_render is selected as active project. If you let QtCreator restore the previous session (File > Session manager), it will remember the open documents. Environment variables (see below) can be set in Projects > Build Environment. MLT documentation Kdenlive uses MLT’s C++ API called mlt++. This API is not documented as it is simply a wrapper to C functions. For example, the documentation of Mlt::Consumer::position() can be found in framework/mlt_consumer.c:mlt_consumer_position(). The actual C function name is usually a combination of the class name and the function name, but can also be found by consulting mlt++/MltConsumer.cpp:position(). Environment variables If kdenlive crashes on startup (e.g. in QtCreator) and shows a message like: kdenlive(24309) KXMLGUIClient::setXMLFile: cannot find .rc file "kdenliveui.rc" for component "kdenlive" then you have to ensure the .rc file is found. If CMake is configured to install Kdenlive to /usr/local, the .rc file is put there, but when kdenlive is then run from the build directory, the KXMLGUIClient will not search there. Solution: Set the environment variable KDEDIRS to $KDEDIRS:/usr/local. You can get more information about the paths that are checked by running kdenlive like this: strace build/src/kdenlive 2>&1 | grep kdenliveui.rc Developer Mailing List The kdenlive developer mailing list archives can be found here A searchable archive of the kdenlive developer mailing list can be found here Information on how to subscribe can be found here Retrieved from "https://community.kde.org/index.php?title=Kdenlive/Development&oldid=41495" Content is available under Creative Commons License SA 4.0 unless otherwise noted.