-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Compiling in other IDEs
It's recommended that all developers compile in Qt Creator: a cross-platform IDE that comes with Qt and is specifically designed for building Qt software. The internal team uses Qt Creator, so you'll find it's better supported than the other options.
Nevertheless, if you prefer to use a different IDE, feel free to add instructions for it below. Note that subheadings under each IDE must be unique across all IDEs for anchor links to work properly on this page.
Instructions assume you have already completed the required steps in:
- Set up developer environment
- Install Qt and Qt Creator
- Get MuseScore's source code
- Install dependencies
If you're a new developer, you should compile on the command line before you attempt to set up an IDE.
Summary:
Your CMake profile for MuseScore is where you can make configuration changes. Create one for MuseScore, and deselect the "share" box so it doesn't bother you in other projects. Set the build type to Debug.
It is recommended under the Qt Creator guide to have a dummy install directory under your build. To do this in CLion, add -DCMAKE_INSTALL_PREFIX=$CMakeCurrentBuildDir$/install
to the CMake Options field.
Under the run configurations menu (left of the green run arrow), click edit configurations. Create a new CMake application and choose a name for it (e.g. TestRun). Change the target to "All targets" (the topmost option in the dropdown).
Set the executable field to $CMakeCurrentBuildDir$/install/bin/mscore
. Under "Before launch," remove the default build step and add the install step.
With the new run configuration, debugging should work as normal with CLion.
Instructions are here in the old Developer's Handbook. Feel free to transfer them to this page (omit anything covered in Prerequisites).
Instructions are here in the old Developer's Handbook. Feel free to transfer them to this page (omit anything covered in Prerequisites).
Testing
- Manual testing
- Automatic testing
Translation
Compilation
- Set up developer environment
- Install Qt and Qt Creator
- Get MuseScore's source code
- Install dependencies
- Compile on the command line
- Compile in Qt Creator
Beyond compiling
Misc. development
Architecture general
- Architecture overview
- AppShell
- Modularity
- Interact workflow
- Channels and Notifications
- Settings and Configuration
- Error handling
- Launcher and Interactive
- Keyboard Navigation
Audio
Engraving
- Style settings
- Working with style files
- Style parameter changes for 4.0
- Style parameter changes for 4.1
- Style parameter changes for 4.2
- Style parameter changes for 4.3
- Style parameter changes for 4.4
Extensions
- Extensions overview
- Manifest
- Forms
- Macros
- Api
- Legacy plugin API
Google Summer of Code
References