Qt Creator

Installing Qt Creator

sudo -i

apt-get update
apt-get upgrade
apt list --installed | grep -v oldstable | cut -d/ -f1 | xargs apt-mark unhold

apt-get install gcc g++ clang make-guile build-essential qtbase5-dev qtchooser qt5-qmake qtbase5-dev-tools qtcreator qt5*

Setting Up Environment

Edit vi ~/.bashrc, add the following configuration, and save:

export LIBGL_ALWAYS_SOFTWARE=1
export LD_LIBRARY_PATH=/usr/lib/aarch64-linux-gnu/

Source the environment again:

neardi@LPA3588:~$ source ~/.bashrc

Launching Qt Creator

neardi@LPA3588:~$ qtcreator

../../_images/tool_qtcreator.png

FAQs

Unable to launch Qt Creator by clicking the QT5 icon

Edit vi ~/.profile, add the following configuration, and reboot:

export LIBGL_ALWAYS_SOFTWARE=1
export LD_LIBRARY_PATH=/usr/lib/aarch64-linux-gnu/