Mercurial > minori
annotate INSTALL @ 241:06d6c351925c
*: reorganize resources, +docs, build translations with autotools
author | Paper <paper@paper.us.eu.org> |
---|---|
date | Mon, 22 Jan 2024 16:36:19 -0500 |
parents | |
children | 703fb7d7c917 |
rev | line source |
---|---|
241
06d6c351925c
*: reorganize resources, +docs, build translations with autotools
Paper <paper@paper.us.eu.org>
parents:
diff
changeset
|
1 This is just like any typical autotools-based project. |
06d6c351925c
*: reorganize resources, +docs, build translations with autotools
Paper <paper@paper.us.eu.org>
parents:
diff
changeset
|
2 |
06d6c351925c
*: reorganize resources, +docs, build translations with autotools
Paper <paper@paper.us.eu.org>
parents:
diff
changeset
|
3 To install, it's as simple as: |
06d6c351925c
*: reorganize resources, +docs, build translations with autotools
Paper <paper@paper.us.eu.org>
parents:
diff
changeset
|
4 0). autoreconf -i |
06d6c351925c
*: reorganize resources, +docs, build translations with autotools
Paper <paper@paper.us.eu.org>
parents:
diff
changeset
|
5 This step is only necessary if you're cloning from the repository. |
06d6c351925c
*: reorganize resources, +docs, build translations with autotools
Paper <paper@paper.us.eu.org>
parents:
diff
changeset
|
6 Tarballs will have this step done already. |
06d6c351925c
*: reorganize resources, +docs, build translations with autotools
Paper <paper@paper.us.eu.org>
parents:
diff
changeset
|
7 1). ./configure |
06d6c351925c
*: reorganize resources, +docs, build translations with autotools
Paper <paper@paper.us.eu.org>
parents:
diff
changeset
|
8 Configures the build, finds Qt and the necessary runtime libraries. |
06d6c351925c
*: reorganize resources, +docs, build translations with autotools
Paper <paper@paper.us.eu.org>
parents:
diff
changeset
|
9 |
06d6c351925c
*: reorganize resources, +docs, build translations with autotools
Paper <paper@paper.us.eu.org>
parents:
diff
changeset
|
10 NOTE: If you don't have Qt binaries on your PATH (e.g. MacPorts), |
06d6c351925c
*: reorganize resources, +docs, build translations with autotools
Paper <paper@paper.us.eu.org>
parents:
diff
changeset
|
11 you can temporarily add it by prepending `PATH=qt_path:$PATH" |
06d6c351925c
*: reorganize resources, +docs, build translations with autotools
Paper <paper@paper.us.eu.org>
parents:
diff
changeset
|
12 before configuring. |
06d6c351925c
*: reorganize resources, +docs, build translations with autotools
Paper <paper@paper.us.eu.org>
parents:
diff
changeset
|
13 2). make |
06d6c351925c
*: reorganize resources, +docs, build translations with autotools
Paper <paper@paper.us.eu.org>
parents:
diff
changeset
|
14 Builds the package. |
06d6c351925c
*: reorganize resources, +docs, build translations with autotools
Paper <paper@paper.us.eu.org>
parents:
diff
changeset
|
15 3). make install |
06d6c351925c
*: reorganize resources, +docs, build translations with autotools
Paper <paper@paper.us.eu.org>
parents:
diff
changeset
|
16 Installs the package. Use a suitable permission escalator like sudo |
06d6c351925c
*: reorganize resources, +docs, build translations with autotools
Paper <paper@paper.us.eu.org>
parents:
diff
changeset
|
17 or doas. |
06d6c351925c
*: reorganize resources, +docs, build translations with autotools
Paper <paper@paper.us.eu.org>
parents:
diff
changeset
|
18 |
06d6c351925c
*: reorganize resources, +docs, build translations with autotools
Paper <paper@paper.us.eu.org>
parents:
diff
changeset
|
19 In some cases, the configure script will fail to find Qt. To solve this, put the |
06d6c351925c
*: reorganize resources, +docs, build translations with autotools
Paper <paper@paper.us.eu.org>
parents:
diff
changeset
|
20 path containing qmake into your PATH or configure pkg-config with the correct |
06d6c351925c
*: reorganize resources, +docs, build translations with autotools
Paper <paper@paper.us.eu.org>
parents:
diff
changeset
|
21 paths for Qt[5/6]Widgets. |
06d6c351925c
*: reorganize resources, +docs, build translations with autotools
Paper <paper@paper.us.eu.org>
parents:
diff
changeset
|
22 |
06d6c351925c
*: reorganize resources, +docs, build translations with autotools
Paper <paper@paper.us.eu.org>
parents:
diff
changeset
|
23 On OS X/macOS, you'll probably want an app bundle. To create this, simply call |
06d6c351925c
*: reorganize resources, +docs, build translations with autotools
Paper <paper@paper.us.eu.org>
parents:
diff
changeset
|
24 `scripts/osx/deploy_build.sh` from the build directory. |
06d6c351925c
*: reorganize resources, +docs, build translations with autotools
Paper <paper@paper.us.eu.org>
parents:
diff
changeset
|
25 NOTE: This script relies on `macdeployqt` being in your PATH for it to work |
06d6c351925c
*: reorganize resources, +docs, build translations with autotools
Paper <paper@paper.us.eu.org>
parents:
diff
changeset
|
26 properly. |