0

I've tries sudo apt install qtcreator and menu / preferences / add/remove software - search qtcreator, check qtcreator, apply

both seem to install qtcreator ok. But it can't find any qt kit.

which qmake is in /usr/bin and is a softlink to qtchooser but when I Add it as a kit, it says

The qmake executable /usr/lib/qt5/bin/qmake could not be added: qmake "/usr/lib/qt5/bin/qmake" is not an executable.

is there something further I need to sudo apt install ? qtcreator seems to have several libqt5*5 libraries that are pulled in as dependencies and are already there...

1 Answer 1

2

The qtcreator package from apt only installs Qt Creator without any Qt installation. To use Qt Creator for development on Raspberry Pi, you must install Qt separately. I found this guide that explains how to install Qt 5 on Raspberry Pi through apt package manager.

Alternatively, you can build Qt from source (the link is specifically for building Qt 6 from source) but this might take a very long time if you're building it directly on the Raspberry Pi.

1
  • I've found this works on latest (as of 2022/07/01) 32bit standard raspi os: sudo apt install qtcreator qtbase5-dev qt5-qmake cmake libasound2-dev (asound is for alsa midi) Jul 26, 2022 at 17:40

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.