cancel
Showing results for 
Search instead for 
Did you mean: 

How to include QMessageBox in Openstlinux_eglfs st-example-image-qt image ?

PWilk.1
Associate II

I have a recipe for a simple QT5 UI app that builds and runs on the STM32MP157C-DK2 display just fine.

When the simple app is enhanced to provide network connectivity by including the QTcpServer, QTcpSocket, QNetworkInterface and QMessageBox amongst others, bitbake fails with :-

QMessageBOX : No such file or directory.

The qt.io site indicates that QMessageBox is provided by QtWidgets but I can't find how to map that to a recipe DEPEND within open embedded framework.

Similarly, QTcpServer is listed as being provided by network.

Please could someone let me know how to determine the required recipe DEPENDS.

And whether I need to include more of QT5 within the openstlinux build environment.

Thanks in advance.

1 REPLY 1
PWilk.2
Associate II

Turned out we didn't need QMessageBox, but in case it helps someone else :-

QTcpSocket, QTcpServer and QNetworkInterface

were satisfied using the qtwebsockets entry in the follwing recipe DEPENDS line

DEPENDS += "qtbase qtdeclarative qtquickcontrols qtquickcontrols2 qtwebsockets \

"