Amarok/Development/Hacking On Amarok HowTo: Difference between revisions
Appearance
< Amarok | Development
No edit summary |
Added a request for help on Kdevelop debugging. |
||
Line 17: | Line 17: | ||
* To find the source of a particular feature, a good method is to find an English string associated with the feature and then search for it via "'''Edit'''" → "'''Find in Files'''". | * To find the source of a particular feature, a good method is to find an English string associated with the feature and then search for it via "'''Edit'''" → "'''Find in Files'''". | ||
* For more on setting up KDevelop 4, see [http://techbase.kde.org/Getting_Started/Set_up_KDE_4_for_development#Setting_up_KDevelop Setting up KDevelop] | * For more on setting up KDevelop 4, see [http://techbase.kde.org/Getting_Started/Set_up_KDE_4_for_development#Setting_up_KDevelop Setting up KDevelop] | ||
** '''Note:''' If anyone knows how to debug Amarok in Kdevelop please add detailed instructions here. | |||
==How to Hack on Amarok's Codebase Using Qt Creator== | ==How to Hack on Amarok's Codebase Using Qt Creator== |
Revision as of 00:18, 20 March 2016
How to become involved
- Most discussion regarding Amarok development happens in IRC. Join us in #amarok on irc.freenode.net.
- Join the mailing list.
- Read everything in the HACKING folder. It goes over the Amarok coding style and other important information.
- Submit your patch. There are several channels to do so:
- Bug Tracker: Search for the problem you are solving on KDE's bugzilla and attach the patch. If there isn't a bug for it yet, create a new bug or wishlist and then attach the patch.
- IRC: IRC has the advantage that a developer might happen to be online and has the time to test your patch, it could be applied immediately or give immediate feedback.
- Mailing lists: Things often get overlooked in the mailing list, so do not rely on it. However it is a good method of bringing up a subject with the development team.
How to Hack on Amarok's Codebase Using KDevelop
- Install the KDevelop IDE (Integrated Development Environment). You should use your distribution's package, or build using Konstruct.
- Fire up KDevelop and from the "Project" menu, select "Open Project...", then choose the amarok.kdevelop file from the extragear/multimedia/amarok/ directory.
- Compile Amarok normally once through the standard means.
- From the "Build" menu select "Build Project" to build Amarok after you have made changes.
- To find the source of a particular feature, a good method is to find an English string associated with the feature and then search for it via "Edit" → "Find in Files".
- For more on setting up KDevelop 4, see Setting up KDevelop
- Note: If anyone knows how to debug Amarok in Kdevelop please add detailed instructions here.
How to Hack on Amarok's Codebase Using Qt Creator
- Fire up Qt Creator, and from the "File" menu select "Open File or Project".
- Navigate to the Amarok source directory and select the file CMakeLists.txt
- NOTE: If Qt Creator opens CMakeLists.txt as a text file and doesn't start the CMake Wizard, you may have to install a separate CMake plugin for QtCreator (the build available in the Ubuntu repositories itemizes it out as 'qtcreator-plugin-cmake').