Power Tab Editor
Users
- New user? Read the intro page to learn more about the project!
- You can get the latest releases from our downloads page.
- You can report bugs or suggest features on our issue tracker.
Developers
Dependencies:
- CMake >= 3.12
- Boost >= 1.65
- algorithm
- date_time
- endian
- filesystem
- functional
- iostreams
- operators
- range
- rational
- signals2
- stacktrace
- Qt >= 5.9 version or greater
- RapidJSON
- RtMidi
- pugixml
- minizip
- doctest
- (Linux only) - ALSA library (e.g.
libasound2-dev) - (Linux only) - MIDI sequencer (e.g.
timidity-daemon) - A compiler with C++17 support.
Windows:
- Install Git - see https://help.github.com/articles/set-up-git
- Install vcpkg and run
vcpkg install --triplet x64-windows boost-algorithm boost-date-time boost-endian boost-filesystem boost-functional boost-iostreams boost-range boost-rational boost-signals2 boost-stacktrace doctest minizip pugixml rapidjsonto install dependencies. - Install Qt by running
vcpkg install --triplet x64-windows qt5-base(this may take a while), or install a binary release from the Qt website. - Open the project folder in Visual Studio and build.
- If running CMake manually, set
CMAKE_TOOLCHAIN_FILEto[vcpkg root]\scripts\buildsystems\vcpkg.cmake).
- If running CMake manually, set
Linux:
- These instructions assume a recent Ubuntu/Debian-based system, but the package names should be similar for other package managers.
- Install dependencies:
sudo apt updatesudo apt install cmake qtbase5-dev libboost-dev libboost-date-time-dev libboost-filesystem-dev libboost-iostreams-dev rapidjson-dev libasound2-dev librtmidi-dev libpugixml-dev libminizip-dev doctest-devsudo apt-get install timidity-daemon- timidity is not required for building, but is a good sequencer for MIDI playback.- Optionally, use Ninja instead of
make(sudo apt install ninja-build)
- Build:
mkdir build && cd buildcmake ..- Add
-DCMAKE_INSTALL_PREFIX=/some/pathto customize the install directory. - Add
-DCMAKE_BUILD_TYPE=Debugfor a debug build instead of aReleasebuild. - Add
-DCMAKE_CXX_COMPILER=clang++to compile with Clang. - Add
-G Ninjato generate Ninja build files.
- Add
make -j8orninja
- Run:
./bin/powertabeditor./bin/pte_teststo run the unit tests.
- Install:
make installorninja install
OS X:
- Install Xcode along with its Command Line Tools.
- Install dependencies:
brew install boost cmake doctest minizip ninja pugixml qt5 pugixml rapidjson rtmidi
- Build:
mkdir build && cd buildcmake -G Ninja -DCMAKE_BUILD_TYPE=Debug -DCMAKE_PREFIX_PATH=/usr/local/opt/qt5/lib/cmake ..- To generate an Xcode project, switch to
-G Xcodeand then open and buildbuild/powertabeditor.xcodeproj
- To generate an Xcode project, switch to
ninja
- Run:
open ./bin/Power\ Tab\ Editor.app./bin/pte_teststo run the unit tests.- For Xcode, select
Product/Scheme/powertabeditorand thenProduct/Run.