Building on Fedora 34

Install required libraries

dnf install boost-devel cmake qt5-qtwebkit-devel qt5-qtbase-devel libvorbis-devel libsndfile-devel


cmake .

To cross-compile for windows you need MinGW

dnf install mingw64-gcc-c++ mingw64-boost mingw64-libvorbis \
            mingw64-qt5-qtbase-devel mingw64-qt5-qtwebkit mingw64-libvorbis

Also you need to compile libsndfile yourself with

mingw32-configure && make install

Now configure and build lsd2dsl

mingw64-cmake \
    -D CMAKE_CXX_IMPLICIT_INCLUDE_DIRECTORIES="/usr/x86_64-w64-mingw32/sys-root/mingw/include" \
make package