mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-09-23 22:34:42 -04:00
Fix & improve guide
This commit is contained in:
parent
8ebd9ba21f
commit
ad481bbbc0
3 changed files with 26 additions and 24 deletions
|
@ -30,7 +30,9 @@ in the aim of creating packages for the supported platforms (and more)
|
||||||
in the [build_scripts](https://github.com/RetroShare/RetroShare/tree/master/build_scripts) directory of this repository.
|
in the [build_scripts](https://github.com/RetroShare/RetroShare/tree/master/build_scripts) directory of this repository.
|
||||||
|
|
||||||
## Compilation on Windows
|
## Compilation on Windows
|
||||||
Follow this file : [WindowsMSys2_InstallGuide.md](https://github.com/RetroShare/RetroShare/blob/master/build_scripts/Windows-msys2/WindowsMSys2_InstallGuide.md)
|
Follow this file : [WindowsMSys2_InstallGuide](https://github.com/RetroShare/RetroShare/blob/master/build_scripts/Windows-msys2/WindowsMSys2_InstallGuide.md)
|
||||||
|
|
||||||
|
With QtCreator : [Windows-QtCreator-InstallGuide](https://github.com/RetroShare/RetroShare/blob/master/build_scripts/Windows/Windows-QtCreator-InstallGuide.md)
|
||||||
|
|
||||||
## Compilation on MacOSX
|
## Compilation on MacOSX
|
||||||
|
|
||||||
|
|
|
@ -3,15 +3,15 @@
|
||||||
|
|
||||||
|
|
||||||
### Install package dependencies:
|
### Install package dependencies:
|
||||||
#### Debian/Ubuntu
|
#### Debian / Ubuntu / Linux Mint
|
||||||
```bash
|
```bash
|
||||||
sudo apt-get install g++ cmake libbz2-dev libjson-c-dev libssl-dev libsqlcipher-dev \
|
sudo apt-get install git g++ cmake libbz2-dev libjson-c-dev libssl-dev libsqlcipher-dev \
|
||||||
libupnp-dev libxss-dev rapidjson-dev libbotan-2-dev libasio-dev
|
libupnp-dev doxygen libxss-dev rapidjson-dev libbotan-2-dev libasio-dev
|
||||||
```
|
```
|
||||||
|
|
||||||
To compile with Qt5:
|
To compile with Qt5:
|
||||||
```bash
|
```bash
|
||||||
sudo apt-get install qt5-qmake qtmultimedia5-dev qt6-5compat-dev libqt5x11extras5-dev
|
sudo apt-get install qt5-qmake qtmultimedia5-dev libqt5x11extras5-dev
|
||||||
```
|
```
|
||||||
|
|
||||||
To compile with Qt6:
|
To compile with Qt6:
|
||||||
|
@ -54,17 +54,15 @@ Additional dependencies for plugins:
|
||||||
libxslt-devel speex-devel speexdsp-devel
|
libxslt-devel speex-devel speexdsp-devel
|
||||||
```
|
```
|
||||||
|
|
||||||
#### Linux Mint
|
#### Arch Linux / Manjaro / EndeavourOS
|
||||||
```bash
|
```bash
|
||||||
sudo apt-get install git g++ cmake qt5-qmake qtmultimedia5-dev \
|
sudo pacman -S base-devel libgnome-keyring cmake qt5-tools qt5-multimedia qt5-x11extras \
|
||||||
libqt5x11extras5-dev libupnp-dev libxss-dev libssl-dev libsqlcipher-dev \
|
rapidjson doxygen libupnp libxslt libxss sqlcipher botan2 bzip2 json-c
|
||||||
rapidjson-dev doxygen libbz2-dev libjson-c-dev libbotan-2-dev libasio-dev
|
|
||||||
```
|
```
|
||||||
|
|
||||||
#### Arch Linux
|
To compile with Qt6:
|
||||||
```bash
|
```bash
|
||||||
pacman -S base-devel libgnome-keyring cmake qt5-tools qt5-multimedia qt5-x11extras \
|
sudo pacman -S qt6-base qt6-multimedia qt6-5compat
|
||||||
rapidjson libupnp libxslt libxss sqlcipher botan2 bzip2 json-c
|
|
||||||
```
|
```
|
||||||
|
|
||||||
### Checkout the source code
|
### Checkout the source code
|
||||||
|
@ -135,6 +133,8 @@ You need to place sqlcipher so that the hierarchy is:
|
||||||
|
|
||||||
### Build infos
|
### Build infos
|
||||||
|
|
||||||
|
Note: If you installed Qt6 you need to use `qmake6` on the command line.
|
||||||
|
|
||||||
For the `FeedReader` it is required to append the config option `CONFIG+=retroshare_plugins`.
|
For the `FeedReader` it is required to append the config option `CONFIG+=retroshare_plugins`.
|
||||||
Make sure `plugins/plugins.pro` contains `FeedReader` in the list of plugins to compile.
|
Make sure `plugins/plugins.pro` contains `FeedReader` in the list of plugins to compile.
|
||||||
|
|
||||||
|
@ -162,10 +162,9 @@ For `Autologin` it is required to append the config option `CONFIG+=rs_autologin
|
||||||
* rs_deep_files_index: build with deep file indexing support
|
* rs_deep_files_index: build with deep file indexing support
|
||||||
* "CONFIG+=..." enable other extra compile time features, you can find the almost complete list in file *<sourcefolder>\retroshare.pri*
|
* "CONFIG+=..." enable other extra compile time features, you can find the almost complete list in file *<sourcefolder>\retroshare.pri*
|
||||||
|
|
||||||
Example:
|
### Examples:
|
||||||
|
|
||||||
```batch
|
```batch
|
||||||
qmake CONFIG-=debug CONFIG+=release CONFIG+=rs_use_native_dialog CONFIG+=rs_gui_cmark
|
qmake CONFIG+=debug CONFIG+=release CONFIG+=rs_use_native_dialog CONFIG+=rs_gui_cmark
|
||||||
qmake CONFIG+=rs_jsonapi CONFIG+=rs_webui CONFIG+=rs_autologin
|
qmake CONFIG+=rs_jsonapi CONFIG+=rs_webui CONFIG+=rs_autologin
|
||||||
qmake CONFIG+=rs_deep_channels_index CONFIG += gxsthewire CONFIG += wikipoos
|
|
||||||
```
|
```
|
|
@ -92,6 +92,8 @@ You need to place sqlcipher so that the hierarchy is:
|
||||||
|
|
||||||
### Build infos
|
### Build infos
|
||||||
|
|
||||||
|
Note: If you installed Qt6 you need to use `qmake6` on the command line.
|
||||||
|
|
||||||
For the `FeedReader` it is required to append the config option `CONFIG+=retroshare_plugins`.
|
For the `FeedReader` it is required to append the config option `CONFIG+=retroshare_plugins`.
|
||||||
Make sure `plugins/plugins.pro` contains `FeedReader` in the list of plugins to compile.
|
Make sure `plugins/plugins.pro` contains `FeedReader` in the list of plugins to compile.
|
||||||
|
|
||||||
|
@ -122,7 +124,6 @@ For `Autologin` it is required to append the config option `CONFIG+=rs_autologin
|
||||||
Example:
|
Example:
|
||||||
|
|
||||||
```batch
|
```batch
|
||||||
qmake CONFIG-=debug CONFIG+=release CONFIG+=rs_use_native_dialog CONFIG+=rs_gui_cmark
|
qmake CONFIG+=debug CONFIG+=release CONFIG+=rs_use_native_dialog CONFIG+=rs_gui_cmark
|
||||||
qmake CONFIG+=rs_jsonapi CONFIG+=rs_webui CONFIG+=rs_autologin
|
qmake CONFIG+=rs_jsonapi CONFIG+=rs_webui CONFIG+=rs_autologin
|
||||||
qmake CONFIG+=rs_deep_channels_index CONFIG += gxsthewire CONFIG += wikipoos
|
|
||||||
```
|
```
|
Loading…
Add table
Add a link
Reference in a new issue