[SOLVED] QTWebengine apps displays blank page in LFS 9.0.
Linux From ScratchThis Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
Distribution: Linux From Scratch, Slackware64, Partedmagic
Posts: 2,755
Rep:
QTWebengine apps displays blank page in LFS 9.0.
I have a weird problem with qtwebengine on lfs 9.0 stable, it wont display any page data, I have tried both local and remote files, in falkon ( for instance ) everything displays fine, controls einput boxes etc, but entering a url just produces a blank tab, selecting 'New tab' doesn't display speed dial, jus a blank tab, selecting bookmark etc does the same.
I also get the same results when using the simple browser example, all controls etc are OK but wont display a URL, same with the minimal example.
Doesn't matter if I select a remote URL or local one, on or off the commandline.
Chromium & links work fine as normal user or root, so not a permmision/connection problem.
QT5 compiles/installs with no error, QTWebkit compiles/installs with no error, falkon and the examples from webkit likewise.
Everything works as expected in my 8.2 system.
Googled my a** off but nothing, rebuilt qt5/webkit/entire system no change.
VERY oddly if I cp my falkon config files to the 9.0 system cached pages display fine in falkon, I can follow links etc but opening a link in a new tab/window displays nothing again.
Extra Info:
No errors displayed using minimal example, but when using falkon I get this in 9.0
Code:
QWebEngineUrlScheme::registerScheme: Too late to register scheme "falkon"
QWebEngineUrlScheme::registerScheme: Too late to register scheme "extension"
Please register the custom scheme 'falkon' via QWebEngineUrlScheme::registerScheme() before installing the custom scheme handler.
Please register the custom scheme 'extension' via QWebEngineUrlScheme::registerScheme() before installing the custom scheme handler.
Use of deprecated not thread-safe setter, use setUrlRequestInterceptor instead.
Last edited by Keith Hedger; 02-03-2020 at 07:48 AM.
Reason: xtra info
I don't know if I point you in the right direction. Qt, falkon, qt5-webengine, change all the time. And depends have to match. And all of the depends of the depends. And there are also patches for it looks like. That's what package managers and maintainers are for.
I'm a month out of date, but this what I have.
Falkon 3.1.0
Qt5<stuff> 5.14.0
As i wrote in another post (can't find it at the moment) - I fixed this by compiling qt-webengine _without_ the "qtwebengine-5.13.0-background_rendering_fix-1" patch. This is for a desktop system with AMD (Radeon) graphics if that means anything.
I have since dropped qt-webengine in favor of qt-webkit with the otter-brower instead of falkon. I only used falkon for browsing local web-pages anyway and webengine takes so long to build - might as well try building chromium as that.
Distribution: Linux From Scratch, Slackware64, Partedmagic
Posts: 2,755
Original Poster
Rep:
Thanks I will try that and the otta browser, just trying upgrading qt5/webengine to 5.14.1 which doesnt use that patch, i will post back if it works, it just takes sooooooo llloooooonnnggg to compile these two.
Distribution: Linux From Scratch, Slackware64, Partedmagic
Posts: 2,755
Original Poster
Rep:
Quote:
Originally Posted by bryan_S
As i wrote in another post (can't find it at the moment) - I fixed this by compiling qt-webengine _without_ the "qtwebengine-5.13.0-background_rendering_fix-1" patch. This is for a desktop system with AMD (Radeon) graphics if that means anything.
I have since dropped qt-webengine in favor of qt-webkit with the otter-brower instead of falkon. I only used falkon for browsing local web-pages anyway and webengine takes so long to build - might as well try building chromium as that.
THANKS!!!!
That done the trick, if I could give u more rep I would!
Been going round and round in circles over this, what a stupid patch! obviously not checked properly.
Usually I have nothing but praise for the great job the (B)LFS dev do, but frankley vers 9 has been a right mess, they just seem to have lost the plot with this one, seems they just compile the software and if it doesn't throw up any errors it gets passed as working, I know they have limited time/resources and can't check every thing but come on, this should have been caught, I dont't have anything particully weird in the way of hardware, guess they just had an off week! I still think they do a good job on the whole.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.