mirror of
https://git.jami.net/savoirfairelinux/jami-client-qt.git
synced 2025-04-21 21:52:03 +02:00
install: bumped Qt 6.2 to 6.4
Change-Id: I39262a1945ab48f43efbb958ebe323f52f5d1a8d
This commit is contained in:
parent
860f59893b
commit
63687acc71
7 changed files with 20 additions and 20 deletions
|
@ -81,8 +81,8 @@ else()
|
|||
find_package(QT NAMES Qt6 REQUIRED)
|
||||
endif()
|
||||
if (${QT_VERSION_MAJOR} STRLESS 6)
|
||||
if (${QT_VERSION_MINOR} STRLESS 2)
|
||||
message(FATAL_ERROR "Qt 6.2 or higher is required.")
|
||||
if (${QT_VERSION_MINOR} STRLESS 4)
|
||||
message(FATAL_ERROR "Qt 6.4 or higher is required.")
|
||||
endif()
|
||||
endif()
|
||||
|
||||
|
|
22
INSTALL.md
22
INSTALL.md
|
@ -7,9 +7,9 @@ There are essentially two ways to build `client-qt`:
|
|||
|
||||
## Disclaimer
|
||||
|
||||
Because the client-qt is multi-platforms and supporting macOS, we need a recent version of Qt to do rendering with Metal. So, Qt 6.2 is necessary.
|
||||
Because the client-qt is multi-platforms and supporting macOS, we need a recent version of Qt to do rendering with Metal. So, Qt 6.4 is necessary.
|
||||
This version is generally not packaged on a lot of platforms, and to control available plugins and such, we have our own Qt packaged (available on https://jami.net on the distributions we support).
|
||||
So, you will need to get Qt 6.2 first. For this, there is 3 methods:
|
||||
So, you will need to get Qt 6.4 first. For this, there is 3 methods:
|
||||
|
||||
### Qt from https://jami.net (recommended)
|
||||
|
||||
|
@ -43,7 +43,7 @@ sudo dnf update && sudo dnf install jami-libqt
|
|||
|
||||
### Qt from your distribution
|
||||
|
||||
If Qt 6.2 is available, you can use the packages from your distribution:
|
||||
If Qt 6.4 is available, you can use the packages from your distribution:
|
||||
|
||||
It should be (For now qt5 only is packaged by distributions, so names can change).
|
||||
|
||||
|
@ -107,7 +107,7 @@ Then, you can build daemon and the client using:
|
|||
|
||||
If you use a Qt version that is not system-wide installed, you need to
|
||||
specify its path using the `--qt` flag, e.g.
|
||||
`./build.py --install --qt=/home/<username>/Qt/6.2.1/gcc_64`.
|
||||
`./build.py --install --qt=/home/<username>/Qt/6.4.1/gcc_64`.
|
||||
|
||||
Now you will have the daemon in `daemon/bin/dbus/jamid` and the client in
|
||||
`build/jami`. You can now run Jami using:
|
||||
|
@ -123,7 +123,7 @@ Notes:
|
|||
|
||||
## Build only the client
|
||||
|
||||
In order to use the Qt Client it is necessary to have the Qt version 6.2 or higher. If your system does not have it you can install it [from sources or download the binary installer](https://www.qt.io/download).
|
||||
In order to use the Qt Client it is necessary to have the Qt version 6.4 or higher. If your system does not have it you can install it [from sources or download the binary installer](https://www.qt.io/download).
|
||||
|
||||
## Build only this repository
|
||||
|
||||
|
@ -173,7 +173,7 @@ Only 64-bit MSVC build can be compiled.
|
|||
|
||||
- Download [Qt (Open Source)](https://www.qt.io/download-open-source?hsCtaTracking=9f6a2170-a938-42df-a8e2-a9f0b1d6cdce%7C6cb0de4f-9bb5-4778-ab02-bfb62735f3e5)
|
||||
|
||||
- Using the online installer, install the following Qt 6.2.3 components:
|
||||
- Using the online installer, install the following Qt 6.4.3 components:
|
||||
|
||||
- Git 2.10.2
|
||||
- MSVC 2019 64-bit
|
||||
|
@ -196,7 +196,7 @@ Only 64-bit MSVC build can be compiled.
|
|||
|
||||
| | Qt Version |
|
||||
| -------------------- | ---------- |
|
||||
| Minimum requirement: | 6.2.3 |
|
||||
| Minimum requirement: | 6.4.3 |
|
||||
|
||||
- Install [Python3](https://www.python.org/downloads/) for Windows
|
||||
|
||||
|
@ -222,7 +222,7 @@ Only 64-bit MSVC build can be compiled.
|
|||
- Using a new **Non-Elevated Command Prompt**
|
||||
|
||||
```bash
|
||||
python build.py --install --qt <path-to-qt-bin-folder> (e.g. C:/Qt/6.2.3/msvc2019_64)
|
||||
python build.py --install --qt <path-to-qt-bin-folder> (e.g. C:/Qt/6.4.3/msvc2019_64)
|
||||
```
|
||||
|
||||
> **SDK** Note:
|
||||
|
@ -265,7 +265,7 @@ Once the build has finished, you should then be able to use the Visual Studio So
|
|||
|
||||
```
|
||||
python extras\scripts\build-windows.py --init
|
||||
python extras\scripts\build-windows.py --qt <path-to-qt-bin-folder> (e.g. C:/Qt/6.2.3/msvc2019_64)
|
||||
python extras\scripts\build-windows.py --qt <path-to-qt-bin-folder> (e.g. C:/Qt/6.4.3/msvc2019_64)
|
||||
```
|
||||
|
||||
## Building On MacOS
|
||||
|
@ -275,9 +275,9 @@ Once the build has finished, you should then be able to use the Visual Studio So
|
|||
- macOS minimum version 10.15
|
||||
- install python3
|
||||
- download xcode
|
||||
- install Qt 6.2
|
||||
- install Qt 6.4
|
||||
|
||||
Qt 6.2 can be installed via brew
|
||||
Qt 6.4 can be installed via brew
|
||||
|
||||
```bash
|
||||
brew install qt
|
||||
|
|
|
@ -68,7 +68,7 @@ Depends: gnupg,
|
|||
Replaces: jami,
|
||||
jami-libclient,
|
||||
jami-daemon,
|
||||
libqt-jami (>= 6.2.3),
|
||||
libqt-jami (>= 6.4.3),
|
||||
Conflicts: jami,
|
||||
jami-libclient,
|
||||
jami-libclient-gnome,
|
||||
|
@ -84,7 +84,7 @@ Architecture: any
|
|||
Depends: ${shlibs:Depends},
|
||||
${misc:Depends},
|
||||
jami-daemon (=${binary:Version}),
|
||||
libqt-jami (>= 6.2.3)
|
||||
libqt-jami (>= 6.4.3)
|
||||
Provides: jami-qt
|
||||
Replaces: jami-all,
|
||||
jami-libclient (<= 20220516.0214.9b42ad3~dfsg1-1)
|
||||
|
|
|
@ -65,7 +65,7 @@ This package contains Qt libraries for Jami.
|
|||
|
||||
%build
|
||||
echo "Building Qt using %{job_count} parallel jobs"
|
||||
# Qt 6.2 (https://wiki.linuxfromscratch.org/blfs/ticket/14729)
|
||||
# Qt 6.4 (https://wiki.linuxfromscratch.org/blfs/ticket/14729)
|
||||
sed -i 's,default=False,default=True,g' qtwebengine/src/3rdparty/chromium/third_party/catapult/tracing/tracing_build/generate_about_tracing_contents.py
|
||||
# Gcc 13
|
||||
sed -i 's,std::uint32_t,uint32_t,g' qt3d/src/3rdparty/assimp/src/code/AssetLib/FBX/FBXBinaryTokenizer.cpp
|
||||
|
|
|
@ -27,7 +27,7 @@ mutually exclusive required arguments:
|
|||
-z, --zip Build portable archive
|
||||
|
||||
examples:
|
||||
1. build.py --qt=C:/Qt/6.2.3/msvc2019_64 # Build the app using a specific Qt
|
||||
1. build.py --qt=C:/Qt/6.4.3/msvc2019_64 # Build the app using a specific Qt
|
||||
2. build.py --init pack --msi # Build the app and an MSI installer
|
||||
3. build.py --init --tests # Build the app and run tests
|
||||
build.py pack --zip --skip-build # Generate a 7z archive of the app
|
||||
|
|
|
@ -33,7 +33,7 @@ export OSTYPE
|
|||
set -ex
|
||||
|
||||
# Qt_MIN_VER required for client-qt
|
||||
QT_MIN_VER="6.2"
|
||||
QT_MIN_VER="6.4"
|
||||
|
||||
debug=
|
||||
global=false
|
||||
|
|
|
@ -193,8 +193,8 @@ else()
|
|||
find_package(QT NAMES Qt6 REQUIRED)
|
||||
endif()
|
||||
if (${QT_VERSION_MAJOR} STRLESS 6)
|
||||
if (${QT_VERSION_MINOR} STRLESS 2)
|
||||
message(FATAL_ERROR "Qt 6.2 or higher is required.")
|
||||
if (${QT_VERSION_MINOR} STRLESS 4)
|
||||
message(FATAL_ERROR "Qt 6.4 or higher is required.")
|
||||
endif()
|
||||
endif()
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue