update readme

This commit is contained in:
Gaëlle Braud 2023-10-06 09:58:06 +00:00
parent 624b6621f1
commit 68e29b2637
2 changed files with 30 additions and 6 deletions

View file

@ -34,10 +34,13 @@ set(APP_TARGETS ${LinphoneCxx_TARGET})
set(QT_DEFAULT_MAJOR_VERSION 6)
set(QT_PACKAGES Core Quick Qml Widgets)# Search Core at first for initialize Qt scripts for next find_packages.
#find_package(Qt6 REQUIRED COMPONENTS Core)
find_package(Qt6 REQUIRED COMPONENTS Core)
find_package(Qt6 REQUIRED COMPONENTS ${QT_PACKAGES})
qt6_standard_project_setup()
#qt6_standard_project_setup()
set(CMAKE_AUTOMOC ON)
set(CMAKE_AUTORCC ON)
set(CMAKE_AUTOUIC ON)
set(_LINPHONEAPP_SOURCES main.cpp)
set(_LINPHONEAPP_QML_FILES)

View file

@ -4,10 +4,10 @@ export PATH=$PATH:~/Qt/6.5.2/gcc_64/bin
optional: export Qt6_DIR=~/Qt/6.5.2/gcc_64/lib/cmake/Qt6
mkdir build
cd build
cmake .. -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_BUILD_PARALLEL_LEVEL=10
cmake --build . --target install --parallel 10
mkdir build \
cd build \
cmake .. -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_BUILD_PARALLEL_LEVEL=10 \
cmake --build . --target install --parallel 10 \
- Linphone : Application code.
@ -34,3 +34,24 @@ cmake --build . --target install --parallel 10
- linphone-sdk
- Qt install on Linux :
```
sudo apt install qt6-base-dev
```
- Problème à l'exécution : module "QtQuick.\*" is not installed
- Install required packages :
- qml-qt6
- qml6-module-qtquick
- qml6-module-qtquick-layouts
- qml6-module-qtqml-workerscript
- qml6-module-qtquick-controls
- qml6-module-qtquick-templates
and any other package missing when running exe\
with
```
sudo apt update && sudo apt install
```