diff options
author | Dominik Riebeling <Dominik.Riebeling@gmail.com> | 2022-03-11 20:43:06 +0100 |
---|---|---|
committer | Dominik Riebeling <Dominik.Riebeling@gmail.com> | 2022-03-12 20:40:08 +0100 |
commit | 7319356dfdeaf16282ef39d05a3213c1d7dc324d (patch) | |
tree | 66534b8b925e08a4fb65b7542cba50069b911c7c | |
parent | 748b00a7fcd0e9d820fd04fdf13422eaad4c2dd4 (diff) | |
download | rockbox-7319356dfdeaf16282ef39d05a3213c1d7dc324d.tar.gz rockbox-7319356dfdeaf16282ef39d05a3213c1d7dc324d.zip |
rbutil: Update build instructions.
Change-Id: Iaf08b0c84997d77b034dc23f40021c2dd52fc454
-rw-r--r-- | utils/rbutilqt/INSTALL | 37 |
1 files changed, 14 insertions, 23 deletions
diff --git a/utils/rbutilqt/INSTALL b/utils/rbutilqt/INSTALL index 884e7b3739..81cf748e10 100644 --- a/utils/rbutilqt/INSTALL +++ b/utils/rbutilqt/INSTALL | |||
@@ -20,43 +20,34 @@ for Rockbox. | |||
20 | Requirements: | 20 | Requirements: |
21 | ============= | 21 | ============= |
22 | - gcc | 22 | - gcc |
23 | - Qt 4.5.0 or later | 23 | - Qt 5 |
24 | - at least the following folders from Rockbox svn: | 24 | - at least the following folders from Rockbox tree: |
25 | o lib/rbcodec/codecs/libspeex | 25 | o lib/rbcodec/codecs/libspeex |
26 | o rbutil/ | 26 | o utils/ |
27 | o tools/ | 27 | o tools/ |
28 | - libusb (Linux only) | 28 | - libusb (Linux only) |
29 | 29 | ||
30 | Building: | 30 | Building: |
31 | ========= | 31 | ========= |
32 | - run qmake | 32 | - run cmake in the utils/ folder |
33 | - run make | 33 | - run make |
34 | 34 | ||
35 | Build Options: | 35 | Build Options: |
36 | ============== | 36 | ============== |
37 | - static | 37 | There are no build options to set by the user. If your Qt installation is not |
38 | add "-config static" to the qmake call to build a static binary. Note that | 38 | in the PATH or a standard search location you might need to set |
39 | this also requires that you have a statically built version of Qt. | 39 | CMAKE_PREFIX_PATH to point to it. |
40 | - dbg | ||
41 | add "-config dbg" to build with debug symbols. | ||
42 | - silent | ||
43 | add "-config silent" to the qmake call. This is an undocumented feature of | ||
44 | Qt itself. Note that this doesn't seem to work on Windows and Mac OS X until | ||
45 | recent versions of Qt. | ||
46 | 40 | ||
47 | Installation / Deployment: | 41 | Installation / Deployment: |
48 | ========================== | 42 | ========================== |
49 | Rockbox Utility is build as all-in-one binary. This means for distribution | 43 | For deployment the generated build system contains a target |
50 | you need: | 44 | deploy_RockboxUtility (there's also a target deploy which will also deploy |
51 | - RockboxUtility (main binary) | 45 | other tools.) Depending on the system deployment will create a zip file |
52 | - rbutil_*.qm (translation files, only for non-static builds) | 46 | (Windows), dmg (MacOS) or AppImage (Linux). |
53 | You don't need any other files like configuration files, especially | ||
54 | rbutil.ini which will get included into the binary. | ||
55 | |||
56 | The script utils/common/deploy-rbutil.py automates building deployment | ||
57 | binaries. For a complete list of paths to get from svn to build please check | ||
58 | its source. | ||
59 | 47 | ||
48 | The script utils/common/tarball-rbutil.py automates building a source archive. | ||
49 | For a complete list of paths to get from the repository to build please check | ||
50 | its source. | ||
60 | 51 | ||
61 | The website for Rockbox Utility is | 52 | The website for Rockbox Utility is |
62 | http://www.rockbox.org/wiki/RockboxUtility | 53 | http://www.rockbox.org/wiki/RockboxUtility |