Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
jami-client-qt
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
savoirfairelinux
jami-client-qt
Commits
46251d53
Commit
46251d53
authored
2 years ago
by
Andreas Traczyk
Committed by
Amin Bandali
2 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Update INSTALL.md
Change-Id: Id90601a743d42519aeeafb349614e567d74fe96a
parent
4e4c98e2
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
INSTALL.md
+19
-37
19 additions, 37 deletions
INSTALL.md
with
19 additions
and
37 deletions
INSTALL.md
+
19
−
37
View file @
46251d53
# Build instructions
There is basically two ways to build
`client-qt`
:
...
...
@@ -125,39 +124,36 @@ If you want to install it to the path provided by `CMAKE_INSTALL_PREFIX` you can
make install
```
## Building
O
n
N
ative Windows
## Building
o
n
n
ative Windows
Only 64-bit MSVC build can be compiled.
> Note: command ```./build.py --init``` is not required on the Windows build <br>
**Setup Before Building:**
- Download [Qt (Open Source)](https://www.qt.io/download-open-source?hsCtaTracking=9f6a2170-a938-42df-a8e2-a9f0b1d6cdce%7C6cb0de4f-9bb5-4778-ab02-bfb62735f3e5)<br>
| | Prebuild | Module |
|---|---|---|
| Components: | msvc2019_64 | Qt WebEngine |
- Using the online installer, install the following Qt 6.2.3 components:
- MSVC 2019 64-bit
- Qt 5 Compatibility Module
- Additional Libraries
- Qt Multimedia
- Qt Network Authorization
- Qt Positioning
- Qt WebChannel
- Qt WebEngine
- Qt WebSockets
- Qt WebView
- Download [Visual Studio](https://visualstudio.microsoft.com/) (version >= 2019) <br>
- Install Qt Vs Tools under extensions, and configure msvc2017_64 path under Qt Options <br>
| | Qt Version | SDK | Toolset |
|---|---|---|---|
| Minimum requirement: | 6.2.
0
| 10.0.16299.0 | V142 |
| Minimum requirement: | 6.2.
3
| 10.0.16299.0 | V142 |
- Install [Python3](https://www.python.org/downloads/) for Windows
**Start Building**
- Using Command Prompt
```sh
git clone https://review.jami.net/ring-project
cd ring-project/
git submodule update --init daemon lrc client-qt
git submodule update --recursive --remote daemon lrc client-qt
```
- Using **Elevated Command Prompt**
```sh
python
make-ring
.py --dependencies
python
build
.py --dependencies
```
> Note:
...
...
@@ -174,19 +170,10 @@ Only 64-bit MSVC build can be compiled.
- Using a new **Non-Elevated Command Prompt**
```sh
python
make-ring
.py --install
python
build
.py --install
```
- Then you should be able to use the Visual Studio Solution file in client-windows folder **(Configuration = Release, Platform = x64)**
> Note: <br>
> To control the toolset and the sdk version that are used by msbuild, you can use ```--toolset``` and ```--sdk``` options <br>
> To control which Qt version should be used (qmake, windeployqt), uou can use ```--qtver``` option <br>
> By default: ```toolset=v142```, ```sdk=10.0.16299.0```, ```qtver=5.15.0``` <br>
> For example:
```sh
python make-ring.py --install --toolset v142 --sdk 10.0.16299.0 --qtver 5.15.0
```
### Build Module Individually
- Jami-qt also support building each module (daemon, lrc, jami-qt) seperately
...
...
@@ -194,7 +181,7 @@ Only 64-bit MSVC build can be compiled.
**Daemon**
- Make sure that dependencies is built by make-ring.py
- On MSVC folder (
ring
-project\daemon\MSVC):
- On MSVC folder (
jami
-project\daemon\MSVC):
```sh
cmake -DCMAKE_CONFIGURATION_TYPES="ReleaseLib_win32" -DCMAKE_VS_PLATFORM_NAME="x64" -G "Visual Studio 16 2019" -A x64 -T '$(DefaultPlatformToolset)' ..
python winmake.py -b daemon
...
...
@@ -213,7 +200,7 @@ Only 64-bit MSVC build can be compiled.
```bash
cd lrc
python make-lrc.py
-gb
python make-lrc.py
```
**Jami-qt**
...
...
@@ -222,15 +209,10 @@ Only 64-bit MSVC build can be compiled.
```bash
cd client-windows
python make-client.py
-d
python make-client.py
-b
python make-client.py
init
python make-client.py
```
**Note**
- For all python scripts, both ```--toolset``` and ```--sdk``` options are available.
- For more available options, run scripts with ```-h``` option.
- ```--qtver``` option is available on ```make-lrc.py``` and ```make-client.py```.
## Building On MacOS
**Set up**
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment