Building on Fedora 30

Install required libraries

dnf install minizip-devel boost-devel cmake \
            qt5-qtbase-devel libvorbis-devel libsndfile-devel


cmake . -DCMAKE_BUILD_TYPE=Release

To cross-compile for windows you need MinGW

dnf install mingw32-gcc-c++ mingw32-minizip mingw32-boost \
            mingw32-qt5-qtbase-devel mingw32-libvorbis

Also you need to compile libsndfile yourself with

mingw32-configure && make install

Now configure and build lsd2dsl

mingw32-cmake -DCMAKE_BUILD_TYPE=Release \
    -D CMAKE_CXX_IMPLICIT_INCLUDE_DIRECTORIES="/usr/i686-w64-mingw32/sys-root/mingw/include" \
make package