Configure QtCreator in RPi3
-
It's
Build & Run
, but some stuff has changed, so depending on your Qt Creator version, it's underKits
. -
Well, I'm not sure I understood you correctly.
I've found QtCreator in Programming section of Application menu.
But neither section in Application menu mentions Qt framework itself.
The location of QtCreator executive I can check with
"which qtcreator" command.
It's located in /usr/bin. But there is no any folder named mkspec. -
-
No, it's in the devices subfolder. The one dedicated to RPi3.
-
There are 4 subfolders in devices subfolder that are in relation with RPi:
- linux-rasp-pi2-g++
- linux-rasp-pi-g++
- linux-rpi3-g++
- linux-rasp-vc-g++
Inside of all these subfolder there are filses qmake.conf
In every there are settings:
QMAKE_LIBS_EGL = -lEGL -lGLESv2 QMAKE_LIBS_OPENVG = -lEGL -lOpenVG -lGLESv2
I replaced GLESv2 with brcmGLESv2 in all qmake.conf files (i.e. in 4 folders).
Didn't help: when compiling project in QtCreator, I still see the same error message:
cannot find -lGLESv2 -
Might be a silly question but are you sure you are modifying the one from your self-built Qt ?
-
Did you check what your Kits are using as mkspecs ?