Solved Beaglebone Black Webengine fails
-
Hi,
I've this problem already for a few days and I need help...
I would like to have a web browser without an X server ( with linuxfb ) on the Beaglebone Black.
To do this I compiled an image with QtWebengine using the Yocto project with the help of this Website.My recives:
.
├── bbb
│ ├── build
│ └── meta-bbb
└── poky-dunfell
├── meta
├── meta-arm
├── meta-jumpnow
├── meta-openembedded
├── meta-poky
├── meta-qt5
├── meta-security
├── meta-selftest
├── meta-skeleton
└── meta-tiThe build process worked out very well...
Then I programmed a minimal browser with QWebEngineView.Code:
int main (int argc, char * argv []) { QApplication a (argc, argv); QWebEngineView view; view.setUrl (QUrl ("https://www.qt.io")); view.resize (1024,750); view.show (); return a.exec }
When I run this program from the host PC everything works
perfect.Then I compiled the code for the Beaglebone using the Yocto SDK.
Now when I run the program, the UI is displayed, but the WebView fails to load with these error messages:$ dmesg
...
Unhandled prefetch abort: debug event (0x002) at 0xb27e5940
Unhandled prefetch abort: debug event (0x002) at 0xb27e5940If I try to load another Webpage with webview.setUrl() these two error messages keeps spamming.
Next i tried to debug it with gdb, but with no success...
Have you any ideas where the problem is?Thank you for your help,
Lukas -
This post is deleted! -
@Gruener said in Beaglebone Black Webengine fails:
Have you any ideas where the problem is?
I'd try building a simple Qt GUI app (not using QWebEngine at all, with just a couple buttons and labels) and run it in the BBB.
That way I'll be able to rule if the problem is QWebEngine or something else related to your target device. -
Thanks for replying :->
Yesterday I figured out what the problem was:
Had a problem with opengl and the sgx graphics driver.
But now it works perfectly