Skip to main content
PWilk.1
Associate II
Feb 27, 2020 5:20 PM UTC
Question

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

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.

This topic has been closed for replies.

1 reply

PWilk.2
Associate II
Mar 4, 2020 5:39 PM UTC

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 \

"