From me at mknln.com Tue Apr 5 20:52:46 2016 From: me at mknln.com (Mike Nolan) Date: Tue, 5 Apr 2016 11:52:46 -0700 Subject: [Qtwebengine] Any way to pass arguments to QtWebEngineProcess Message-ID: Hi, Is there currently any way to pass arguments to the QtWebEngine process? I am debugging why touchscreen dragging isn't working (which could be many things) and need to pass the "--touch-events" option to test a theory. Thank you. Mike From carlon.luca at gmail.com Fri Apr 8 03:46:54 2016 From: carlon.luca at gmail.com (Luca Carlon) Date: Fri, 8 Apr 2016 03:46:54 +0200 Subject: [Qtwebengine] No audio output in WebRTC Message-ID: Hello, I'm testing QtWebEngine in Qt 5.6.0 on Mac OS by running the AppRTC demo which is using WebRTC. It seems everything works except audio output from QtWebEngine. I also tested youtube and audio output seems to be ok, so this is something related to WebRTC only. Anyone else who can reproduce this issue? Is there something I should enable maybe? Thank you! Luca -------------- next part -------------- An HTML attachment was scrubbed... URL: From mfong at gameflow.com Sat Apr 9 00:04:27 2016 From: mfong at gameflow.com (Mark Fong) Date: Fri, 8 Apr 2016 22:04:27 +0000 Subject: [Qtwebengine] d3dcompiler_xx.dll missing Message-ID: Hi, I have been building fine with 5.6.0-beta for the last few months on Windows 7. But when I switched over to the final release of 5.6.0, I noticed that the d3dcompiler_47.dll file doesn't get copied over anymore to the qtwebengine/src/core/release/ folder. I did some digging and found that the build.ninja file that gets generated is missing this dll in the "build all:" section (along with libGLESv2.dll and libEGL.dll) compared to the one generated by the 5.6.0-beta build. I also combed the commits over the last year and didn't see anything that would indicate that this was deliberately removed. Does anyone know why this is missing? Thanks, Mark Sent from my iPhone From JDelfour at slb.com Thu Apr 21 18:49:15 2016 From: JDelfour at slb.com (Jonathan Delfour) Date: Thu, 21 Apr 2016 16:49:15 +0000 Subject: [Qtwebengine] Qt 5.4.2 MSVC WebEngine use Message-ID: <81D92678DDBF0543BB4BFA0E669F10FF57CEF823@NL0230MBX05N2.DIR.slb.com> Hi, I have a simple C++ (non Qt Quick) application (that does not use .pro mechanism) built against the Qt 5.4.2 x64 build (with openGL support). As soon as I use the QWebEngineView object in my application, it fails to load with a message "Specified procedure could not be found". With the help of gflags, it seems it fails to find the following demangled procedure: public: __cdecl QOpenGLWidget::QOpenGLWidget(class QWidget * __ptr64,class QFlags) __ptr64 I am not sure to understand why this cannot be found, I have put for the sake of testing all the dll in Qt_DIR\bin next to the application, and all the plug-ins. The preprocessor list I use to build my app are as follow: WIN32;_DEBUG;_WINDOWS;_USRDLL;WIN64;QT_WEBENGINEWIDGETS_LIB;QT_WEBENGINE_LIB;QT_QUICK_LIB;QT_PRINTSUPPORT_LIB;QT_WIDGETS_LIB;QT_GUI_LIB;QT_QML_LIB;QT_NETWORK_LIB;QT_UITOOLS_LIB;QT_CORE_LIB;WIN32PROJECT5_EXPORTS;PLUGIN_VENDOR_NAME="$(VendorName)";PLUGIN_VERSION="$(PluginVersion)";PLUGIN_NAME="$(PluginName)";%(PreprocessorDefinitions) And the input libraries: Qt5Cored.lib;Qt5Guid.lib;Qt5Widgetsd.lib;Qt5WebKitd.lib;Qt5WebKitWidgetsd.lib;Qt5WebEngineWidgetsd.lib;Qt5WebEngined.lib;Qt5OpenGLExtensionsd.lib;Qt5OpenGLd.lib;Qt5Networkd.lib;Qt5Xmld.lib;D:\NotBackedUp\Tools\Qt\5.4\msvc2013_64_opengl\lib\qtmaind.lib;shell32.lib;Qt5Quickd.lib;Qt5PrintSupportd.lib;Qt5Qmld.lib;Qt5UiToolsd.lib;glu32.lib;opengl32.lib;gdi32.lib;user32.lib;tsdkrpc64Dv120.lib;tsdkruntime64Dv120.lib;o2d.lib;%(AdditionalDependencies) I wanted to try a simple example in Qt Creator 3.6.1 but it complains: Project ERROR: Unknown module(s) in QT: webenginewidgets The browser.exe example runs fine (built with visual studio) Do you have any idea of what is wrong? PS: I am on windows 8.1. Thanks, Regards, Jon -------------- next part -------------- An HTML attachment was scrubbed... URL: From Kai.Koehne at qt.io Fri Apr 22 08:41:12 2016 From: Kai.Koehne at qt.io (Kai Koehne) Date: Fri, 22 Apr 2016 06:41:12 +0000 Subject: [Qtwebengine] Qt 5.4.2 MSVC WebEngine use In-Reply-To: <81D92678DDBF0543BB4BFA0E669F10FF57CEF823@NL0230MBX05N2.DIR.slb.com> References: <81D92678DDBF0543BB4BFA0E669F10FF57CEF823@NL0230MBX05N2.DIR.slb.com> Message-ID: > -----Original Message----- > From: QtWebEngine [mailto:qtwebengine-bounces+kai.koehne=qt.io at qt- > project.org] On Behalf Of Jonathan Delfour > Sent: Thursday, April 21, 2016 6:49 PM > To: qtwebengine at qt-project.org > Subject: [Qtwebengine] Qt 5.4.2 MSVC WebEngine use > > Hi, > > > > I have a simple C++ (non Qt Quick) application (that does not use .pro > mechanism) built against the Qt 5.4.2 x64 build (with openGL support). > > As soon as I use the QWebEngineView object in my application, it fails to load > with a message “Specified procedure could not be found”. > > With the help of gflags, it seems it fails to find the following demangled > procedure: > > public: __cdecl QOpenGLWidget::QOpenGLWidget(class QWidget * > __ptr64,class QFlags) __ptr64 This should be defined in Qt5Widgets (at least if you really configured Qt with -opengl). > I am not sure to understand why this cannot be found, I have put for the > sake of testing all the dll in Qt_DIR\bin next to the application, and all the > plug-ins. You should try to open the app in Dependency Walker (depends.exe, http://www.dependencywalker.com). It will first and foremost show you which libraries are picked up. But it also has a 'Profiler' mode where you can launch the application, and it will show you in much detail how also dynamc plugins etc are loaded. > [...] > I wanted to try a simple example in Qt Creator 3.6.1 but it complains: Project > ERROR: Unknown module(s) in QT: webenginewidgets This hints that the Qt installation is broken, or that you are using the wrong Qt (check the 'kit' selected). > The browser.exe example runs fine (built with visual studio) > > Do you have any idea of what is wrong? Just that something in your installation/setup is botched ;) Regards Kai From JDelfour at slb.com Fri Apr 22 16:59:54 2016 From: JDelfour at slb.com (Jonathan Delfour) Date: Fri, 22 Apr 2016 14:59:54 +0000 Subject: [Qtwebengine] Qt 5.4.2 MSVC WebEngine use In-Reply-To: References: <81D92678DDBF0543BB4BFA0E669F10FF57CEF823@NL0230MBX05N2.DIR.slb.com> Message-ID: <81D92678DDBF0543BB4BFA0E669F10FF57CF1105@NL0230MBX05N2.DIR.slb.com> Hi, Thanks for the answer. My application is actually a DLL loaded by an external application and it cannot be simulated outside of this host application as they communicate via RPC and the failure happens after they started to communicate. Depends.exe does not find any missing direct dependency when I defined my module search order to match what happens and try to load that DLL (it does not go far enough as there is no server listening on the RPC channel). Anyway, the issue seems to be that this host application does not use Qt built with -opengl. But for my plugin I built it against the Qt -opengl version. And when loading my plugin it still uses the non opengl version. Mixing binaries leads to crashes. I am not using QtQuick but still require the opengl support to use QWebEngineView? Could you please clarify what is required to run web engine? I solved the Qt Creator issue by assigning the kit (I had it defined but did not find where to assign it :)) and everything works there. Thanks, Jon For Qt Creator, it seems it was using a wrong kit, all good now -----Original Message----- From: Kai Koehne [mailto:Kai.Koehne at qt.io] Sent: Friday, April 22, 2016 1:41 AM To: Jonathan Delfour ; qtwebengine at qt-project.org Subject: RE: Qt 5.4.2 MSVC WebEngine use > -----Original Message----- > From: QtWebEngine [mailto:qtwebengine-bounces+kai.koehne=qt.io at qt- > https://urldefense.proofpoint.com/v2/url?u=http-3A__project.org&d=CwIGaQ&c=uGuXJ43KPkPWEl2imVFDmZQlhQUET7pVRA2PDIOxgqw&r=wuHNpL4dmBFjCvNbawFkog&m=_y52Rrc9LqzBsH7jBF7J2kAxK8rRu1_oJi-sNPaPeqk&s=aApFCKdwu-BTXXhkpAg2PT49Vff07tzhU-thKtnlT7s&e= ] On Behalf Of Jonathan Delfour > Sent: Thursday, April 21, 2016 6:49 PM > To: qtwebengine at qt-project.org > Subject: [Qtwebengine] Qt 5.4.2 MSVC WebEngine use > > Hi, > > > > I have a simple C++ (non Qt Quick) application (that does not use .pro > mechanism) built against the Qt 5.4.2 x64 build (with openGL support). > > As soon as I use the QWebEngineView object in my application, it fails to load > with a message “Specified procedure could not be found”. > > With the help of gflags, it seems it fails to find the following demangled > procedure: > > public: __cdecl QOpenGLWidget::QOpenGLWidget(class QWidget * > __ptr64,class QFlags) __ptr64 This should be defined in Qt5Widgets (at least if you really configured Qt with -opengl). > I am not sure to understand why this cannot be found, I have put for the > sake of testing all the dll in Qt_DIR\bin next to the application, and all the > plug-ins. You should try to open the app in Dependency Walker (depends.exe, https://urldefense.proofpoint.com/v2/url?u=http-3A__www.dependencywalker.com&d=CwIGaQ&c=uGuXJ43KPkPWEl2imVFDmZQlhQUET7pVRA2PDIOxgqw&r=wuHNpL4dmBFjCvNbawFkog&m=_y52Rrc9LqzBsH7jBF7J2kAxK8rRu1_oJi-sNPaPeqk&s=EsyA9eWoIgjcS8KER2l0ui1yrgMcLbwuxuRR7HdFxew&e= ). It will first and foremost show you which libraries are picked up. But it also has a 'Profiler' mode where you can launch the application, and it will show you in much detail how also dynamc plugins etc are loaded. > [...] > I wanted to try a simple example in Qt Creator 3.6.1 but it complains: Project > ERROR: Unknown module(s) in QT: webenginewidgets This hints that the Qt installation is broken, or that you are using the wrong Qt (check the 'kit' selected). > The browser.exe example runs fine (built with visual studio) > > Do you have any idea of what is wrong? Just that something in your installation/setup is botched ;) Regards Kai From Kai.Koehne at qt.io Fri Apr 22 17:10:58 2016 From: Kai.Koehne at qt.io (Kai Koehne) Date: Fri, 22 Apr 2016 15:10:58 +0000 Subject: [Qtwebengine] Qt 5.4.2 MSVC WebEngine use In-Reply-To: <81D92678DDBF0543BB4BFA0E669F10FF57CF1105@NL0230MBX05N2.DIR.slb.com> References: <81D92678DDBF0543BB4BFA0E669F10FF57CEF823@NL0230MBX05N2.DIR.slb.com> <81D92678DDBF0543BB4BFA0E669F10FF57CF1105@NL0230MBX05N2.DIR.slb.com> Message-ID: > -----Original Message----- > [...] > Anyway, the issue seems to be that this host application does not use Qt > built with -opengl. But for my plugin I built it against the Qt -opengl version. > And when loading my plugin it still uses the non opengl version. Mixing > binaries leads to crashes. Yes, this is a delicate setup. You should really use the same Qt version, otherwise bad things will happen (TM). Another option might be to configure your Qt with -qtnamespace and -qtlibinfix. > I am not using QtQuick but still require the opengl support to use > QWebEngineView? > Could you please clarify what is required to run web engine? QWebEngineView uses the SceneGraph in the QtQuick module as a compositor. So yes, even if you use Qt5WebEngineWidgets it uses Qt Quick, which in turn relies on a graphics part directly supporting OpenGL, ANGLE, llvmpipe, or the Qt Quick 2D Renderer. Regards Kai