Qt 6.7.2 tools suddenly stopped working
-
I’m running Qt 6.7.2 on ubuntu 22.04.3. I installed Q6 6.7.2 in HOME with the online installer tool. Somehow my installed Qt tools have stopped working. E.g. qtcreator now fails with:
% qtcreator qtcreator: $HOME/Qt6/Tools/QtCreator/bin/../lib/Qt/lib/libQt6Core.so.6: version `Qt_6.7' not found (required by $HOME/Qt6//6.7.2/gcc_64/lib/libQt6DBus.so.6)I get the same error for qtdesignstudio.
I get the same error if I execute directly from qtcreator bin/ directory:% cd $HOME/Qt6/Tools/QtCreator/bin ./qtcreator ./qtcreator: $HOME/Qt6/Tools/QtCreator/bin/../lib/Qt/lib/libQt6Core.so.6: version `Qt_6.7' not found (required by $HOME/Qt6/6.7.2/gcc_64//lib/libQt6DBus.so.6)My PATH and LD_LIBRARY_PATH are set as follows:
% echo $PATH $HOME/Qt6/Tools/QtDesignStudio/bin:$HOME/Qt6/Tools/QtCreator/bin:$HOME/Qt6/6.7.2/gcc_64/bin:/usr/lib/ccache:/opt/gcc-arm-none-eabi-10-2020-q4-major/bin:$HOME/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/snap/bin:$HOME/.local/bin % echo $LD_LIBRARY_PATH $HOME/Qt6//6.7.2/gcc_64/lib:These failures are mysterious, as the tools were working last time I tried them several weeks ago, and I don't know what relevant changes I've made to my system.
Thanks!
-
Hi,
Why are you setting LD_LIBRARY_PATH like that ?
-
T Tom asso has marked this topic as solved on