Disabling updater for static build due to missing SSL dependency

This commit is contained in:
Cubitect 2022-04-13 21:24:54 +02:00
parent 20d09dce59
commit e124f59616
3 changed files with 17 additions and 28 deletions

View File

@ -18,21 +18,5 @@ Non-PC platforms, such as macOS, are not formally supported, but you can check [
## Build from source
More detailed build instructions can be found [here](buildguide.md).
If you have Qt5 installed, you can just get the sources:
```
$ git clone --recursive https://github.com/Cubitect/cubiomes-viewer.git
```
prepare build directory
```
$ cd cubiomes-viewer
$ mkdir build
$ cd build
```
build cubiomes-viewer
```
$ qmake ..
$ make
```
Build instructions can be found in the [buildguide](buildguide.md).

View File

@ -1,27 +1,32 @@
# Cubiomes Viewer Build Instructions
Cubiomes Viewer is a Qt5 application and requires at least Qt5.9 and a GNU C++ compiler (GCC or Clang).
Cubiomes Viewer is a Qt5 application and requires:
* Qt5.9 or newer (Qt6 is not supported) and a
* GNU C++ compiler (GCC or Clang).
The cubiomes library is included as a submodule to this repository.
## Get a Compiler
## The Compiler
You should have either GCC or Clang installed.
If you are on Windows you can use MinGW, which can be installed together with Qt, using the Qt Installer.
Windows users can use MinGW, which can be installed together with Qt, using the Qt Installer.
## Get Qt5
Depending on your operating system you may have several options for installing Qt5,
but [Using the Qt Installer](buildguide.md#using-the-qt-installer) should be the most general method. Many Linux distros
already provide Qt in their repositories and you can refer to
[Get Qt from Your Repository](buildguide.md#get-qt-from-your-repository) instead if you wish.
but [Using the Qt Installer](buildguide.md#using-the-qt-installer) should be the most general method.
Many Linux distros already provide Qt in their repositories and you can also
[Get Qt With Your Package Manager](buildguide.md#get-qt-with-your-package-manager) instead if you wish.
Note: for a static build you will have to compile Qt yourself.
### Using the Qt Installer
If you have a Qt account or want to create one, you can use the [Qt Online Installer](https://www.qt.io/download-qt-installer).
You can use the [Qt Online Installer](https://www.qt.io/download-qt-installer) if you have a Qt account or don't mind creating one.
It is also possible to use the [Qt Offline Installer](https://www.qt.io/offline-installers) without an account,
but you have to disconnect from the internet when you launch the installer, otherwise it will require a Qt account again, which is a little irritating.
@ -33,7 +38,7 @@ The only required component is the Qt5 base install for your compiler.
I would also recommend installing QtCreator, as well as MinGW on Windows from the Developer Tools.
### Get Qt from Your Repository
### Get Qt With Your Package Manager
##### Debian
```
@ -57,7 +62,7 @@ The cubiomes-viewer repository includes the cubiomes library as a submodule and
```
$ git clone --recursive https://github.com/Cubitect/cubiomes-viewer.git
```
If you have QtCreator you can now just open the cubiome-viewer.pro file and configure the project.
If you have QtCreator you can now just open the `cubiome-viewer.pro` file and configure the project.
Alternatively you can manually prepare a build directory:
```

View File

@ -105,8 +105,8 @@ RESOURCES += \
rc/examples.qrc
# disable network features completely with: qmake CONFIG+=without_network
!without_network: {
# enable network features with: qmake CONFIG+=with_network
with_network: {
QT += network
DEFINES += "WITH_UPDATER=1"
SOURCES += src/updater.cpp