libraries/qt5: Update README.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Dave Woodfall 2020-04-20 16:01:58 +01:00 committed by Willy Sudiarto Raharjo
parent fbc053c90f
commit 7fc7da0c63
No known key found for this signature in database
GPG Key ID: 887B8374D7333381
1 changed files with 32 additions and 0 deletions

View File

@ -21,6 +21,9 @@ To build the documentation:
DOCS=yes ./qt5.SlackBuild DOCS=yes ./qt5.SlackBuild
(you will need the llvm package from extra/ to build
documentation)
To build the examples: To build the examples:
EXAMPLES=yes ./qt5.SlackBuild EXAMPLES=yes ./qt5.SlackBuild
@ -100,3 +103,32 @@ clarity.
qca-qt5 qca-qt5
psi-plus psi-plus
sddm sddm
============================================================
TROUBLESHOOTING
If Qt5 fails to build, it may be worth using the following
steps.
1 Uninstall the old Qt5 package
2 Log out of root
3 Log back in as root
4 Build and install the new package
5 Log out of root
6 Log back in as root
7 Upgrade all other packages that depend on Qt5
The reasoning behind all the log outs/ins, is because Qt5
installs /etc/profile.d/qt5.sh that sets QT5DIR and adds
QT5DIR/bin to your $PATH when you log in (there's a similar
file for csh.) Even though the old Qt5 is removepkg'd, those
settings are *still there* until you log out.
You can see with a test (assuming bash or a zsh type shell):
env | grep -i qt5
If that command is used before step 4, you shouldn't see
anything qt5 related in PATH and QT5DIR shouldn't exist.