-
Notifications
You must be signed in to change notification settings - Fork 78
Building the Qt version
IMPORTANT NOTICE
The following instructions are possibly incomplete, intended for developers or power users. If you just want to use VGMTrans, you don't need to do this; links for the latest version are in the README.
Contents |
---|
Building on Linux |
Building on Windows (VS 2022) |
Building on OS X |
A reasonably modern Linux installation should have no troubles with the required dependencies.
Note: the application uses ALSA, not PulseAudio! You will need pulseaudio-alsa
or pipewire-alsa
to use it.
- A C++17-compatible compiler (latest
clang
is recommended) - CMake >= 3.12
- Qt (QtWidgets, QtSvg) >= 6.0 (recommended >= 6.4)
- Optional: minizip
Use your distribution package manager to install the development packages for Qt6.
- Run
git clone https://github.com/vgmtrans/vgmtrans
and enter the cloned folder - Run
cmake -B build
- Run
cmake --build build --target vgmtrans --parallel
You can install the application using the install
target (permissions needed); be sure to adjust CMAKE_INSTALL_PREFIX
to match your distribution (although installing applications bypassing the package manager is usually a horrible idea).
This method involves use of the command line and doesn't require the Visual Studio IDE.
- Launch the Visual Studio developer command-line (e.g. x64 Native Tools Command Prompt for VS 2022) from any directory you like
- Run
git clone --recursive https://github.com/vgmtrans/vgmtrans && cd vgmtrans
- Run
cmake -B build
- Run
cmake --build build --target vgmtrans --config "Release" --parallel
Roughly the same steps as on Linux.
- brew
- Make sure you have the latest XCode tools (run
xcode-select --install
) - Use brew to install Qt6 and CMake.
- Run
git clone https://github.com/vgmtrans/vgmtrans && cd vgmtrans
- Run
cmake -B build
- Run
cmake --build build --target vgmtrans --parallel