I believe it succeeded. I'll validate, and then I think I'm going to update the wiki :).
Unsolved If I configure Qt 5.10 for a build on Windows
Unsolved Does QtWebEngine support MutationObserver?
@yanandli2002
it should be supported.
But actually waiting for an answer here takes longer than simply trying it yourself within 5 minutes.
Solved QWebChannel - js: Uncaught ReferenceError: qt is not defined
@maximus
Just wanted to know, will c++ objects (workoutCreator) available to other javascript also?
I am getting "undefined" error while accessing c++ object slots/function from script other than qwebchannel.js
Unsolved JSON.stringify problem
@yetanotherqtfan
Don't understand what your problem/issue/question is? That output is the JSON stringification of the object. All that stringify should gurantee is that the resulting string can be passed around safely, and that JSON.parse(JSON.stringify(obj)) should return an object that is the same JS object as you started with. So what does JSON.parse() return in your case?
" is the HTML entitization of the " character.
Unsolved QTWebEngine Smartcard client certificate
In chrome/chromium, when I want to access a site, which requires a x.509 client certificate, a dialog will appear, where I can select a certificate. Then I will be prompted to enter the pin, to proceed with the request.
Is there any possibility to select a certificate stored on a smartcard/HSM and getting prompted for the pin in QtWebEngine?
There is also a question open on stackoverflow regarding this/a connected topic, but I am not getting a response there, so I try to get an answer here instead..
The topic on stackoverflow is more about a different approach but is also not working. I am trying both ways to get better results.
Operating System is windows 10.
I would like to achieve it with the windows CNG at best. (but any other methods/tips also welcomed)
Thank you already in advance very much.
Unsolved Change localStorage cache location at runtime with WebEngineProfile.storageName?
I'm building an application where it is necessary to pre-start WebEngine instances and then load JS into them dynamically. Because I want each app to have its own localStorage, and because I don't know which app I'm going to load into which WebEngine instance, I have a requirement that localStorage needs to be changed at runtime.
It seems like it would be as easy as changing the storageName
property on that WebEngineView's WebEngineProfile, but that seems to have no effect on localStorage. I've tried creating totally new WebEngineProfiles. I've tried it with every option, but no matter what, WebEngine continues to store localStorage in its original location on disk.
Is this even possible, and if not, how would I work around this?
Unsolved Access WebEngineView from C++
Hi there,
How can i access QML based WebEngineView from C++? I want to do that so i can do my UI in QML while do business logic in C++ with direct access to WebEngineView.
Please advise
Thanks
Unsolved How to get the return value synchronously ,when invoking a slot medthod with qwebchannel.js?
Hi guys,I had read the help document about qwebchannel.js as the picture shows, but I want to get the return value synchronously. How should i do ? Can i get the return value synchronously? Thank you!
Unsolved How to manage the lifecycle of a lambda function in QWebEnginePage::runJavaScript method
QWebEngineView webEngineView;
//...
webEngineView->page()->runJavaScript("...", [this](const QVariant &v)
{
this->f();
});
The problem is that sometimes 'this' is destructed when the lambda function is called. Suppose 'this' is derived from QObject, how can we ensure that 'this' is valid when the lambda function is called? For example when using QObject::connect when we specify a context for lambd function, and when the destination object is destroyed the connection is disconnected automatically.
Unsolved QtWebEngine Linux deployment problem
I have a program on Qt using QtWebEngine, which I compiled on Ubuntu. I need to run this program on other computers with Ubuntu.
I tried to run my program on the VM and on a real computer. I got the same result. The program does not start, but the console displays the following:
Qt WebEngine ICU data not found at /home/username/Qt/Qt5.9.2/5.9.2/gcc_64/resources. Trying parent directory...
Qt WebEngine ICU data not found at /home/username/Qt/Qt5.9.2/5.9.2/gcc_64. Trying application directory...
Qt WebEngine ICU data not found at /home/new_username/Downloads/appname/libexec. Trying fallback directory... The application MAY NOT work.
Path override failed for key base::DIR_QT_LIBRARY_DATA and path '/home/new_username/.QtWebEngineProcess'
Installed Qt WebEngine locales directory not found at location /home/username/Qt/Qt5.9.2/5.9.2/gcc_64/translations/qtwebengine_locales. Trying application directory...
Qt WebEngine locales directory not found at location /home/new_username/Downloads/appname/libexec/qtwebengine_locales. Trying fallback directory... Translations MAY NOT not be correct.
Path override failed for key ui::DIR_LOCALES and path '/home/new_username/.QtWebEngineProcess'
[0213/200348.562665:ERROR:icu_util.cc(178)] Invalid file descriptor to ICU data received.
[0213/200348.562776:FATAL:content_main_runner.cc(691)] Check failed: base::i18n::InitializeICU().
#0 0x7fbebaec9b2e <unknown>
#1 0x7fbebaedb83e <unknown>
#2 0x7fbebaea8072 <unknown>
#3 0x7fbebaea158d <unknown>
#4 0x7fbeba5c5eb9 QtWebEngine::processMain()
#5 0x0000004009f3 <unknown>
#6 0x7fbeb6a111c1 __libc_start_main
#7 0x000000400a31 <unknown>
[5347:5347:0213/200348.725463:FATAL:zygote_host_impl_linux.cc(182)] Check failed: ReceiveFixedMessage(fds[0], kZygoteBootMessage, sizeof(kZygoteBootMessage), &boot_pid).
#0 0x7fcbe8994b2e <unknown>
#1 0x7fcbe89a683e <unknown>
#2 0x7fcbe86065d3 <unknown>
#3 0x7fcbe86052cb <unknown>
#4 0x7fcbe860586e <unknown>
#5 0x7fcbe82c165d <unknown>
#6 0x7fcbe82c4f03 <unknown>
#7 0x7fcbe80bf39f <unknown>
#8 0x7fcbe80c0675 <unknown>
#9 0x7fcbe80b09d9 <unknown>
#10 0x7fcbe80b0d2e QtWebEngineCore::WebContentsAdapter::WebContentsAdapter()
#11 0x7fcbf18aabb1 <unknown>
#12 0x7fcbf18ab734 QWebEnginePage::QWebEnginePage()
#13 0x7fcbf18b881b QWebEngineView::page()
#14 0x7fcbf18b8ff1 QWebEngineView::showEvent()
#15 0x7fcbf0f7b9b8 QWidget::event()
#16 0x7fcbf0f3f5ec QApplicationPrivate::notify_helper()
#17 0x7fcbf0f46a17 QApplication::notify()
#18 0x7fcbef4ed2b8 QCoreApplication::notifyInternal2()
#19 0x7fcbf0f78963 QWidgetPrivate::show_helper()
#20 0x7fcbf0f7b505 QWidget::setVisible()
#21 0x7fcbf0f787f8 QWidgetPrivate::showChildren()
#22 0x7fcbf0f7885f QWidgetPrivate::show_helper()
#23 0x7fcbf0f787e7 QWidgetPrivate::showChildren()
#24 0x7fcbf0f7885f QWidgetPrivate::show_helper()
#25 0x7fcbf0f7b505 QWidget::setVisible()
#26 0x7fcbf0f787f8 QWidgetPrivate::showChildren()
#27 0x7fcbf0f7885f QWidgetPrivate::show_helper()
#28 0x7fcbf0f7b505 QWidget::setVisible()
#29 0x7fcbf0f787f8 QWidgetPrivate::showChildren()
#30 0x7fcbf0f7885f QWidgetPrivate::show_helper()
#31 0x7fcbf0f787e7 QWidgetPrivate::showChildren()
#32 0x7fcbf0f7885f QWidgetPrivate::show_helper()
#33 0x7fcbf0f787e7 QWidgetPrivate::showChildren()
#34 0x7fcbf0f7885f QWidgetPrivate::show_helper()
#35 0x7fcbf0f7b505 QWidget::setVisible()
#36 0x558b6fe3b3c0 <unknown>
#37 0x7fcbee3501c1 __libc_start_main
#38 0x558b6fe3b67a <unknown>
Aborted (core dumped)
To start the program, I run appname.sh .
#! /bin/sh
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:"lib"
export LD_LIBRARY_PATH
exec ./appname
qt.conf:
[Paths]
Prefix=.
The location of the files in the "appname" folder:
appname
appname.sh
qt.conf
This folder also contains all the files and folders copied from the path /home/username/Qt/Qt5.9.2/5.9.2/gcc_64/ (I did this in order to understand that all the necessary files are exactly here).
/home/username/Qt/Qt5.9.2/5.9.2/gcc_64/ - this is the path by which I installed Qt in the system on which I compiled the program.
What's wrong, why are there so many errors? I have all the files here, so I'm confused.
Thanks!
Unsolved How can I create audio visualizer for WebEngineView
There are some Qt audio visualizer example. But these are written for multimedia classes. How can I get audio of web view video (youtube, dailymotion etc..). And how can I visualize it at the same time? (If possible in qml)
Unsolved Javascript/JSON/HTML5/websocket support in QtWebEngine Quick Nano browser?
Hello,
We have a task to stream video to a 800x480 LCD from a camera providing MJPEG or from rstp server providing MPEG3 or MJPEG streams.
Hardware platform is ARM (i.MX6). LCD is supported via the Linux Framebuffer driver. No X11, no Wayland.
What we need are:
- https
- websocket compatibility with linux libwebsockets
- json and javascript
- HTML5
Putting aside possible performance issues, the questions are:
- does the example browser (Quick Nano) provided with Qtwebengine support the above features?
- If not, could someone please comment on the possibility of adding a missing feature(s) to the Quick Nano browser example?
- Any other ready browsers? Chromium and Firefox (from Yocto meta-browser) are out of question because they don't support Linux Framebuffer yet.
Any other hints would be appreciated.
Regards,
Sergei
Solved Unable to load pepper flash
@RaquelCesar I am also facing the same error. I have tried giving the permission but didn't solve the issue.
Could you please share your libpepflashplayer.so
Unsolved Managing downloads with QTWebEngine (QML based)
Hi there,
How can i detect that a download is triggered in QML based QTWebEngine? What i want to do is detect when page triggered a download, move this download to a custom location and then know whether it was successfuly finished or not?
Please advise
Thanks
Unsolved Qt5: can WebGL work with ANGLE on Windows via QtWebEngine?
Nowadays the software renderer for WebGL works fine. I wonder if there is some easy way to detect if the video adapter is affected (probably intel && being "old") and if that's the case, to switch to software renderer, at run-time - maybe before initializing QApplication? in order to pass --enable-webgl-software-rendering parameter programmatically.
Unsolved Usage of Chromium GPL Components with a proprietary software
So basically we have a proprietary software that uses QtWebEngine.
Currently as far as I understand all the Chromium GPL libs are being linked into the QtWebEngineProcess and then communicates and renders the HTML pages into the proprietary QT application.
Does that mean that the proprietary application needs to be GPL license compatible ?
I have taken a look at https://www.gnu.org/licenses/gpl-faq.html#GPLInProprietarySystem
and I quote:
However, in many cases you can distribute the GPL-covered software alongside your proprietary system. To do this validly, you must make sure that the free and nonfree programs communicate at arms length, that they are not combined in a way that would make them effectively a single program.
So does that consider as arms length ?
Unsolved QtWebEngine crosscompile linking want very large /tmp/sometempfile (memory exhausted error)
Hi
I use the Ubuntu x64 for my host mashine to build rootfs for Fscale IMX6.
I try build qtwebengine (Qt 5.9.1) by "buildroot" and have no success.
All tasks for build *.so file is complited. Link step use all ram memory and a bit the swap. About 6...7 GB for this.
Some time late i got an error "memory exhausted". So what I can do for succes?
Unsolved Qt WebEngine didn't build from qt-everwhere-src-5.10.0
neither webengine nor WebEngine substrings appear in qt-build/config.log.
Before reaching out on forum, I did try the following:
cd qt-build (at same level as qt-everywhere-src-5.10.0)
mkdir qtwebengine
cd qtwebengine
../qtbase/qmake ../qt-everywhere-src-5.10.0/qtwebengine
it said that there was no file in qt-build/qtwebengine named qtwebengine-config.pri. That is correct; nothing is in qt-build-qtwebengine at the point of doing the qmake. as it happens, there is a file called cofigure.pri inside of the source directory for qtwebengine, but not one called qtwebengine-config.pri
Unsolved How to open multiple sessions?
I want to open multiple facebook accounts. Can I do this with the Qt Webkit Engine?
Unsolved Qt WebEngine mac framework overlaps/conflicts with Photoshop's bundled CEF
Hello,
I have a plug-in for Photoshop which uses Qt WebEngine, but this overlaps/conflicts with the CEF which is bundled in Photoshop. I get a lot of warnings such as:
objc[4910]: Class CrCoreCursor is implemented in both /Library/Frameworks/MyLib.framework/Contents/Frameworks/QtWebEngineCore.framework/Versions/5/QtWebEngineCore (0x152aefc28) and /Applications/Adobe Photoshop CC 2017/Adobe Photoshop CC 2017.app/Contents/Required/Plug-ins/Spaces/Frameworks/Chromium Embedded Framework.framework/Chromium Embedded Framework (0x15c643f98). One of the two will be used. Which one is undefined.
……
Any ideas how this might get fixed? I certainly need Qt and its WebEngine, and I also can't remove PS's CEF...
Thank you!