From 37d273ac4c4822da5d80ae69cde8ddbdf238e77b Mon Sep 17 00:00:00 2001 From: Camila Ayres Date: Thu, 19 Sep 2024 21:30:29 +0200 Subject: [PATCH 1/2] Add instructions on how to build to the README. --- README.md | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/README.md b/README.md index bd11994..a8a4b1d 100644 --- a/README.md +++ b/README.md @@ -63,3 +63,22 @@ Just like all linuxdeploy plugins, the Qt plugin's behavior can be configured so QML related: - `$QML_SOURCES_PATHS`: directory containing the application's QML files — useful/needed if QML files are "baked" into the binaries. `$QT_INSTALL_QML` is prepended to this list internally. - `$QML_MODULES_PATHS`: extra directories containing imported QML files (normally doesn't need to be specified). + +## How to build it +1. Install the following dependencies: +- [patchelf](https://github.com/NixOS/patchelf) +- [cimg](https://cimg.eu/) +- optional - disable it with `USE_CCACHE` cmake var: [ccache](https://ccache.dev/) +2. [Fork this repository and clone it](https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/working-with-forks/fork-a-repo). +3. Initiate the git submodules. +``` +cd +git submodule update --init --recursive +``` +4. Create the build folder and built it. +``` +mkdir +cd -DUSE_CCACHE=OFF -DCMAKE_BUILD_TYPE=RelWithDebInfo -DBUILD_TESTING=ON -DSTATIC_BUILD=ON +make +``` From d43033e9ae94856a712822913fe2054252c66624 Mon Sep 17 00:00:00 2001 From: Camila Ayres Date: Mon, 24 Feb 2025 10:27:06 +0100 Subject: [PATCH 2/2] Fix typos and improve instructions. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Thorbjørn Lindeijer --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index a8a4b1d..8494525 100644 --- a/README.md +++ b/README.md @@ -68,17 +68,17 @@ QML related: 1. Install the following dependencies: - [patchelf](https://github.com/NixOS/patchelf) - [cimg](https://cimg.eu/) -- optional - disable it with `USE_CCACHE` cmake var: [ccache](https://ccache.dev/) +- optional - disable it with `USE_CCACHE=OFF` cmake var: [ccache](https://ccache.dev/) 2. [Fork this repository and clone it](https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/working-with-forks/fork-a-repo). 3. Initiate the git submodules. ``` -cd +cd git submodule update --init --recursive ``` -4. Create the build folder and built it. +4. Create the build folder and build it. ``` mkdir cd -DUSE_CCACHE=OFF -DCMAKE_BUILD_TYPE=RelWithDebInfo -DBUILD_TESTING=ON -DSTATIC_BUILD=ON +cmake ../ -DUSE_CCACHE=OFF -DCMAKE_BUILD_TYPE=RelWithDebInfo -DBUILD_TESTING=ON -DSTATIC_BUILD=ON make ```