-
Notifications
You must be signed in to change notification settings - Fork 43
Add instructions on how to build to the README. #187
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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). | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Why would you suggest to fork the repository just to build it? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
If you want to contribute to the project, that is how you do it. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I mean that was my point with this line, I could also remove it. |
||
3. Initiate the git submodules. | ||
``` | ||
cd <forked linux-deply-qt> | ||
camilasan marked this conversation as resolved.
Show resolved
Hide resolved
|
||
git submodule update --init --recursive | ||
``` | ||
4. Create the build folder and built it. | ||
camilasan marked this conversation as resolved.
Show resolved
Hide resolved
|
||
``` | ||
mkdir <build folder> | ||
cd <build folder | ||
cmake ../<forked linux-deply-qt> -DUSE_CCACHE=OFF -DCMAKE_BUILD_TYPE=RelWithDebInfo -DBUILD_TESTING=ON -DSTATIC_BUILD=ON | ||
camilasan marked this conversation as resolved.
Show resolved
Hide resolved
|
||
make | ||
``` |
Uh oh!
There was an error while loading. Please reload this page.