## Building * (Recommended) Create a build folder and change into it ``` mkdir build && cd build ``` * Generate the Makefile ``` qmake-qt5 ../src/smolbote.pro * [TODO] Prepare translations * Run make ``` make ``` ### Notes * Don't do any steps marked [TODO] * Windows: MSVC compiler is required because of QtWebEngine dependency * Windows: Passing the -v or -h parameters creates a dialog box instead of writing the output to stdout. This is Qt behaviour. ## Deploying ### Tarball Creating a tarball: ``` tar -I "lzip -9" -cf build.tar.lz release-folder/* ``` Signing a tarball: ``` gpg -u $FINGERPRINT -b $FILENAME ``` -u, --local-user name > Use name as the user ID to sign. This option is silently ignored for the list commands, so that it can be used in an options file. -b, --detach-sign > Make a detached signature. Creating checksum: ``` sha512sum --binary build.tar.lz > checksum.sha512 ``` Verifying checksum: ``` sha512sum --check checksum.sha512 ``` ### Windows ``` QT_DIR\QT_VER\msvc2015_64\windeployqt.exe build-PROFILE\release\qtbrowser.exe ```