Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 36b6d82

Browse files
committedJan 27, 2025·
Add instructions on how to build to the README.
1 parent 2d9e23f commit 36b6d82

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed
 

‎README.md

+19
Original file line numberDiff line numberDiff line change
@@ -63,3 +63,22 @@ Just like all linuxdeploy plugins, the Qt plugin's behavior can be configured so
6363
QML related:
6464
- `$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.
6565
- `$QML_MODULES_PATHS`: extra directories containing imported QML files (normally doesn't need to be specified).
66+
67+
## How to build it
68+
1. Install the following dependencies:
69+
- [patchelf](https://github.com/NixOS/patchelf)
70+
- [cimg](https://cimg.eu/)
71+
- optional - disable it with `USE_CCACHE` cmake var: [ccache](https://ccache.dev/)
72+
2. [Fork this repository and clone it](https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/working-with-forks/fork-a-repo).
73+
3. Initiate the git submodules.
74+
```
75+
cd <forked linux-deply-qt>
76+
git submodule update --init --recursive
77+
```
78+
4. Create the build folder and built it.
79+
```
80+
mkdir <build folder>
81+
cd <build folder
82+
cmake ../<forked linux-deply-qt> -DUSE_CCACHE=OFF -DCMAKE_BUILD_TYPE=RelWithDebInfo -DBUILD_TESTING=ON -DSTATIC_BUILD=ON
83+
make
84+
```

0 commit comments

Comments
 (0)
Please sign in to comment.