aboutsummaryrefslogtreecommitdiff
path: root/BUILDING.md
diff options
context:
space:
mode:
authorAqua-sama <aqua@iserlohn-fortress.net>2017-01-11 12:30:06 +0100
committerAqua-sama <aqua@iserlohn-fortress.net>2017-01-11 12:30:06 +0100
commit9811eebd70642dc1eeca5c63fdc50e64ec5de99e (patch)
tree925a4b984699ca80dca70d620a2ea5c51cbf0636 /BUILDING.md
parentInitial commit (diff)
downloadsmolbote-9811eebd70642dc1eeca5c63fdc50e64ec5de99e.tar.xz
Added BUILDING and LICENSE
Diffstat (limited to 'BUILDING.md')
-rw-r--r--BUILDING.md46
1 files changed, 46 insertions, 0 deletions
diff --git a/BUILDING.md b/BUILDING.md
new file mode 100644
index 0000000..bc02867
--- /dev/null
+++ b/BUILDING.md
@@ -0,0 +1,46 @@
+### How to build
+
+```
+mkdir build && cd build
+qmake-qt5 ../src/qt-simplebrowser.pro
+make
+```
+
+## Notes
+* 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_VERSION\msvc2015_64\windeployqt.exe build-PROFILE\release\qtbrowser.exe
+```