Closed alexelmi closed 3 years ago
I believe there is a problem with building the documentation tools in the Qt 5.12 series. It started working again around Qt 5.5.15 (at least for me, on a Raspberry Pi 4 running the latest Raspberry Pi OS).
The workaround it to comment out the lines on the script that build and install the docs, e.g. as in this patch:
diff --git a/build-qt.sh b/build-qt.sh index fb29258..79bde8d 100755 --- a/build-qt.sh +++ b/build-qt.sh @@ -111,8 +111,8 @@ then step_2=1 step_3=1 step_4=1
On 2021-04-08 10:19 a.m., Alexander Eichelbaum wrote:
Hi,
I just ran into the issue that the script is not running thru and building Qt 5.12.4 on my Raspberry Pi 3.
The last I can see at the terminal is:
|/root/qtbuild/qt-everywhere-src-5.12.4/qtbase/src/corelib/qdoc_wrapper.sh: 12: exec: /usr/local/Qt-5.12.4/bin/qdoc: not found| |make[5]: [Makefile:1694: prepare_docs] Error 127| |make[4]: [Makefile:1372: sub-corelib-prepare_docs] Error 2| |make[3]: [Makefile:386: sub-src-prepare_docs] Error 2| |make[2]: [Makefile:2090: module-qtbase-prepare_docs] Error 2| |make[1]: [Makefile:1229: html_docs] Error 2| |make: [Makefile:1232: docs] Error 2|
Ive tried running the script (|bash ./build-qt.sh|) on a fresh set up RPi3 (requirements acc. readme.md fulfilled). I've also tried to run several versions of the script (0.3, 0.4 and 0.5) and/or several versions of Qt (5.12.4 and 5.15.5).
Any idea what's going wrong?
Alex
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/tranter/raspberry-pi-qt-builds/issues/11, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAFRTCQFHXFIMYN7DNBCYLLTHW3N7ANCNFSM42S7YCXQ.
-- Jeff Tranter, Engineering Manager, Integrated Computer Solutions. Certified Qt Developer, Scrum Master/Product Owner, Project Manager. ICS - Powering Innovation for High-Impact Products.
Just started the script with the step 5 and step 6 commented out.
While running I observed this:
Failed to open /home/pi/qtbuild/qt-everywhere-src-5.15.2/qtbase/header.LGPL
Failed to open /home/pi/qtbuild/qt-everywhere-src-5.15.2/qtbase/header.LGPL
Failed to open /home/pi/qtbuild/qt-everywhere-src-5.15.2/qtbase/header.LGPL
WARNING: Failure to find: /home/pi/qtbuild/qt-everywhere-src-5.15.2/qtbase/src/widgets/qt5widgets_metatypes.json
the process stopped with:
make[3]: *** Datei ».obj/qfontdialog.o« will be deleted
make[3]: *** [Makefile:130142: .obj/qfontdialog.o] interruption
make[2]: *** [Makefile:610: sub-widgets-make_first] interruption
make[1]: *** [Makefile:51: sub-src-make_first] interruption
make: *** [Makefile:86: module-qtbase-make_first] interruption
I have now a folder /usr/local/Qt-5.15.2/
.
Of course running qmake -v
brings qmake: could not find a Qt installation of ''
Any idea what's wrong there?
Hi,
I just ran into the issue that the script is not running thru and building Qt 5.12.4 on my Raspberry Pi 3.
The last I can see at the terminal is:
/root/qtbuild/qt-everywhere-src-5.12.4/qtbase/src/corelib/qdoc_wrapper.sh: 12: exec: /usr/local/Qt-5.12.4/bin/qdoc: not found
make[5]: *** [Makefile:1694: prepare_docs] Error 127
make[4]: *** [Makefile:1372: sub-corelib-prepare_docs] Error 2
make[3]: *** [Makefile:386: sub-src-prepare_docs] Error 2
make[2]: *** [Makefile:2090: module-qtbase-prepare_docs] Error 2
make[1]: *** [Makefile:1229: html_docs] Error 2
make: *** [Makefile:1232: docs] Error 2
Ive tried running the script (
bash ./build-qt.sh
) on a fresh set up RPi3 (requirements acc. readme.md fulfilled). I've also tried to run several versions of the script (0.3, 0.4 and 0.5) and/or several versions of Qt (5.12.4 and 5.15.5).Any idea what's going wrong?
Alex