aboutsummaryrefslogtreecommitdiff
path: root/BUILDING.md
blob: bc02867edff0ec76375d4ba3e9c35b6431b76cf2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
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
```