Linux Arm Not Displaying QString correctly in Debugger
-
I have recently installed a new version of Qt5.15.8 on a Raspberry Pi OS 64.
Previously I was using Qt on a Pi and the debugger would display QStrings ok, can't remember what version of Qt5 I was using as the SD card was corrupted, hence the new install. On this new installation it is as though the helpers are not working, though they are checked.
I have Qt working on a windows machine ok.
Any ideas?
-
-
This is on bookworm version of Raspian OS. Further investigation, it seems that the apt-get repositories don't install or have available the qt5 debug symbols.
I have tried installing Qt6.8.0 on two pi's, a Pi4 and a Pi5 from the installer to no avail. The installer itself crashes, fixed by installing the missing library file. The the installer proceeds, but then crashes installing components:
Error during installation process (qt.qt6.680.linux_gcc_arm64): Failed to run command: "/home/davidg/Qt/6.8.0/gcc_arm64/bin/qmake": Process crashed
I can only assume Qt6.8.0 has not been qualified to install on a Raspberry Pi.
-
I have now successfuly installed the online installer for Qt6 on a fresh Pi OS64. I had to install some dependencies including some to get the online installer to run without crashing.
From the Installer, I selected custom install, selected an older Qt6, then selected the components I required including Qt Creator and debug symbols. The online install then proceeded to completion without problems. QtCreator was added to the Progamming Menu making it easy to launch.
I am back to being able to run the QtCreator debugger and view items like QString correctly, although it took me several days of frustration to get there.
I planned to detail the dependencies I installed but this forum thought it was spam.
-