From jocelyn.turcotte at digia.com Fri Jun 6 12:41:40 2014 From: jocelyn.turcotte at digia.com (Jocelyn Turcotte) Date: Fri, 6 Jun 2014 12:41:40 +0200 Subject: [Qtwebengine] Is there any public API/Class specification available for QWebEngine? In-Reply-To: References: Message-ID: <20140606104140.GD4178@poutine.it.local> Hello Arun, we will have it generated along with the rest of the public Qt documentation when we release with 5.4. You can generate the documentation yourself using "make docs", but it's quite common that you have to treat the build system properly to get this working so I wouldn't recommend it. Until then you can access our QWidget API doc sources directly: and you can have a look at the porting guide draft (we should put it in the documentation as well once the guide is ready to publish): Feel free to ask about specific details on this list as well. Cheers, Jocelyn On Thu, May 29, 2014 at 12:34:00AM +0530, Arunprasad Rajkumar wrote: > Hello Folks, > > Is there any public API/Class specification/document available for > QtWebEngine as like QtWebkit? > > >
> > _______________________________________________ > QtWebEngine mailing list > QtWebEngine at qt-project.org > http://lists.qt-project.org/mailman/listinfo/qtwebengine From jocelyn.turcotte at digia.com Fri Jun 6 14:37:02 2014 From: jocelyn.turcotte at digia.com (Jocelyn Turcotte) Date: Fri, 6 Jun 2014 14:37:02 +0200 Subject: [Qtwebengine] MacOS X build - 'file not found' errors (gyp issues?) In-Reply-To: References: Message-ID: <20140606123702.GE4178@poutine.it.local> Hello Mikalai, On Thu, May 29, 2014 at 04:21:38PM +0300, Иванович Василий wrote: > Hi, > > I'm unsuccessfully trying to build QtWebEngine on MacOS X 10.9.3 (latest > XCode 5, latest Qt 5.3), both QtWebEngine tech preview and master give > similar 'file not found' errors. Below you can the one from building the > tech preview. I tried python 2.6 and 2.7 for gyp (i have no experience with > gyp) - nothing helped. > > build log: > > In file included from backing_store_qt.cpp:42: > > *./backing_store_qt.h:45:10: **fatal error: * > * 'content/browser/renderer_host/backing_store.h' file not found* > #include "content/browser/renderer_host/backing_store.h" > * ^* It looks like the src/3rdparty git submodule might be outdated or uninitialized. The file backingstore_qt.cpp has been removed a while ago so you might want to update to the master branch of our git repository. Could you make sure that you updated and ran the init-repository.py script, as documented in the README.md file? Cheers, Jocelyn From jacobzzz at gmail.com Mon Jun 9 17:03:19 2014 From: jacobzzz at gmail.com (JacobZ) Date: Mon, 9 Jun 2014 08:03:19 -0700 Subject: [Qtwebengine] Welcome to the "QtWebEngine" mailing list In-Reply-To: References: Message-ID: Hi , I am trying to get QtWebengine, quicknanobrowser running on the Freescale i.MX6 reference board using Yocto toolchain and sysroot ('bitbake core-image-minimal' with eglfs (seen on http://wiki.wandboard.org/index.php/Building_Qt5_using_yocto_on_Wandboard ). I built Qt-5.2.1 and have it running on the iMX6 with the QCinematicExperience example. But the Qt-5.2.1/qml/QtQuick/'Controls', 'Layouts' folders, QtWebEngine are missing, and this causes quicknanobrowser to fail with the error messages: root at imx6qsabresd:/usr/lib/qt5# ~/quicknanobrowser -platform eglfs ... QT_QPA_EGLFS_PHYSICAL_HEIGHT (in millimeters). QQmlApplicationEngine failed to load component qrc:/quickwindow.qml:42 module "QtWebEngine" is not installed qrc:/quickwindow.qml:43 module "QtQuick.Controls" is not installed qrc:/quickwindow.qml:45 module "QtQuick.Layouts" is not installed qrc:/quickwindow.qml:47 module "QtQuick.Controls.Private" is not installed qrc:/quickwindow.qml:44 module "QtQuick.Controls.Styles" is not installed The Boot2Qt installation has these folders though. So I looked back at my Qt-5.2.1 make log and I see ============================================ *make[1]: Entering directory `/home/jz/qt/build-imx6-yocto-tc-Qt-5.2.1/qtquickcontrols'Some of the required modules (contains(QT_CONFIG, accessibility)) are not available.Skipped.*============================================ Is accessibility required for QtWebengine, quicknanobrowser to work? When I add accessibility to the configure command, there are accessibility make errors and the build fails. ============================================ *.obj/qeglfsintegration.o: In function `QEglFSIntegration::QEglFSIntegration()':qeglfsintegration.cpp:(.text+0x668): undefined reference to `vtable for QFontconfigDatabase'.obj/qeglfsintegration.o:(.data.rel.ro +0x44): undefined reference to `QPlatformIntegration::accessibility() const'.obj/qeglfsintegration.o:(.data.rel.ro +0x6c): undefined reference to `QPlatformIntegration::createPlatformSessionManager(QString const&, QString const&) const'* ============================================ Can you advise a good configure command line (instructions?) to build Qt-5.2.1 using Yocto for the i.MX6 board, and get QtWebengine, quicknanobrowser running? The configure line I used is below ~/qt/build-imx6-yocto-tc-Qt-5.2.1$ ../qt-everywhere-opensource-src-5.2.1/configure -v -opensource -confirm-license -device imx6 -device-option CROSS_COMPILE=/opt/poky/1.5.1/sysroots/x86_64-pokysdk-linux/usr/bin/arm-poky-linux-gnueabi/arm-poky-linux-gnueabi- -sysroot ~/imx/fsl-bsp/build-imx6qsabresd/tmp/sysroots/imx6qsabresd -prefix ~/qt5.2.1-imx6 -platform linux-g++ -shared -no-pch -no-rpath -pkg-config -no-accessibility -no-dbus -no-icu -no-directfb -evdev -no-fontconfig -no-opengl -opengl es2 -eglfs -no-glib -no-gtkstyle -no-iconv -system-libjpeg -no-kms -system-libpng -no-linuxfb -no-mitshm -no-nis -openssl -qt-pcre -release -no-sm -no-sql-db2 -no-sql-ibase -no-sql-mysql -no-sql-oci -no-sql-odbc -no-sql-psql -no-sql-sqlite -no-sql-sqlite2 -no-sql-tds -nomake tests -tslib -libudev -widgets -no-xcb -no-xcursor -no-xfixes -no-xinerama -no-xinput -no-xinput2 -no-xkb -no-xrandr -no-xrender -no-xshape -no-xsync -no-xvideo -system-zlib Thanks in advance ================== I can send the full make log (500K tgz), but here is the snippet from the log showing the skipped qtquickcontrols . Info: creating cache file /home/jz/qt/build-imx6-yocto-tc-Qt-5.2.1/qtgraphicaleffects/.qmake.cache Info: creating cache file /home/jz/qt/build-imx6-yocto-tc-Qt-5.2.1/qtmultimedia/.qmake.cache Checking for openal... Info: creating cache file /home/jz/qt/build-imx6-yocto-tc-Qt-5.2.1/qtsensors/.qmake.cache make[1]: Entering directory `/home/jz/qt/build-imx6-yocto-tc-Qt-5.2.1/qtdoc' cd doc/ && ( test -e Makefile || /home/jz/qt/build-imx6-yocto-tc-Qt-5.2.1/qtbase/bin/qmake /home/jz/qt/qt-everywhere-opensource-src-5.2.1/qtdoc/doc/doc.pro -o Makefile ) && make -f Makefile make[1]: Entering directory `/home/jz/qt/build-imx6-yocto-tc-Qt-5.2.1/qtquickcontrols' Some of the required modules (contains(QT_CONFIG, accessibility)) are not available. Skipped. make[1]: Leaving directory `/home/jz/qt/build-imx6-yocto-tc-Qt-5.2.1/qtquickcontrols' make[1]: Entering directory `/home/jz/qt/build-imx6-yocto-tc-Qt-5.2.1/qtgraphicaleffects' cd src/ && ( test -e Makefile || /home/jz/qt/build-imx6-yocto-tc-Qt-5.2.1/qtbase/bin/qmake /home/jz/qt/qt-everywhere-opensource- -------------- next part -------------- An HTML attachment was scrubbed... URL: From mojtaba.shahi3000 at gmail.com Thu Jun 12 14:23:00 2014 From: mojtaba.shahi3000 at gmail.com (mojtaba shahi Senobari) Date: Thu, 12 Jun 2014 16:53:00 +0430 Subject: [Qtwebengine] Set WebSwtings for WebEngineView Message-ID: Hi I have just build and test QtWebEngine. I have some problem here, in webkit2 we used setting to set settings like enablejavascrpts and allowlocalfiles and .... and in webkit 3 via experimental. I want to know is there any way to set this settings into chromium from qml, if not is there any other way? I want to move from webkit webview to webengine but i want to know can i have some feature like postmessage, set settings in QtWebengine WebEngineView? Thank you Moji -------------- next part -------------- An HTML attachment was scrubbed... URL: From notorious at telenet.be Thu Jun 12 15:11:56 2014 From: notorious at telenet.be (Notorious) Date: Thu, 12 Jun 2014 15:11:56 +0200 Subject: [Qtwebengine] Compiling with mp3 support Message-ID: <5399A71C.6080606@telenet.be> Hi all, Is there any possibility to compile the chrome snapshot with mp3 support? (http://html5test.com/) This would eliminate the need for flash on a lot of the music streaming websites. Or is this only available on newer versions eg 35? Kind Regards From jocelyn.turcotte at digia.com Fri Jun 13 18:57:42 2014 From: jocelyn.turcotte at digia.com (Jocelyn Turcotte) Date: Fri, 13 Jun 2014 18:57:42 +0200 Subject: [Qtwebengine] Compiling with mp3 support In-Reply-To: <5399A71C.6080606@telenet.be> References: <5399A71C.6080606@telenet.be> Message-ID: <20140613165742.GA24112@poutine.it.local> Hello, we don't enable mp3 support in the open source version by default because Chromium itself doesn't. See http://www.chromium.org/audio-video for more info. It is possible to enable the documented GYP flags there by running qmake in qtwebengine with: qmake WEBENGINE_CONFIG+=proprietary_codecs but be aware that if you do so, I would guess that you are responsible for getting a license for those codecs yourself. Cheers, Jocelyn "I am not a lawyer" Turcotte On Thu, Jun 12, 2014 at 03:11:56PM +0200, Notorious wrote: > Hi all, > > Is there any possibility to compile the chrome snapshot with mp3 > support? (http://html5test.com/) > This would eliminate the need for flash on a lot of the music streaming > websites. > > Or is this only available on newer versions eg 35? > > Kind Regards > _______________________________________________ > QtWebEngine mailing list > QtWebEngine at qt-project.org > http://lists.qt-project.org/mailman/listinfo/qtwebengine From notorious at telenet.be Mon Jun 16 18:49:01 2014 From: notorious at telenet.be (Notorious) Date: Mon, 16 Jun 2014 18:49:01 +0200 Subject: [Qtwebengine] gl_context_glx.cc(69) Failed to create GL context with glXCreateContextAttribsARB Message-ID: <539F1FFD.4070700@telenet.be> Hi all, When using qWebEngine on a laptop with i915 graphics driver (Intel 3rd gen GPU) on kernel 3.14-1 nothing gets rendered and following messages occur: gl_context_glx.cc(69) Failed to create GL context with glXCreateContextAttribsARB command_buffer_proxy_impl.cc(165) Failed to initialize command buffer service. I googled around and apparently this patch (https://codereview.chromium.org/93593002/) was created to automatically fall back on sofware rendering if this situation does occur. As far as I can see these changes are present in the chromium fork on qt-labs, but it obviously doesn't fall back on software rendering. Is there any way to force software rendering to work around this issue? As with "chromium --disable-gpu"? Kind Regards From jocelyn.turcotte at digia.com Mon Jun 16 19:09:26 2014 From: jocelyn.turcotte at digia.com (Jocelyn Turcotte) Date: Mon, 16 Jun 2014 19:09:26 +0200 Subject: [Qtwebengine] gl_context_glx.cc(69) Failed to create GL context with glXCreateContextAttribsARB In-Reply-To: <539F1FFD.4070700@telenet.be> References: <539F1FFD.4070700@telenet.be> Message-ID: <20140616170926.GB24112@poutine.it.local> Hello, The issue that you're facing should be fixed by the change , currently integrating. we don't have any plan yet to fallback to software rendering since Qt itself still requires GL on all graphic hardware. When Qt has a concrete plan on how to handle faulty drivers we should also add support to QtWebEngine. Cheers, Jocelyn On Mon, Jun 16, 2014 at 06:49:01PM +0200, Notorious wrote: > Hi all, > > When using qWebEngine on a laptop with i915 graphics driver (Intel 3rd > gen GPU) on kernel 3.14-1 nothing gets rendered and following messages > occur: > gl_context_glx.cc(69) Failed to create GL context with > glXCreateContextAttribsARB > command_buffer_proxy_impl.cc(165) Failed to initialize command buffer > service. > > I googled around and apparently this patch > (https://codereview.chromium.org/93593002/) was created to automatically > fall back on sofware rendering if this situation does occur. > As far as I can see these changes are present in the chromium fork on > qt-labs, but it obviously doesn't fall back on software rendering. > > Is there any way to force software rendering to work around this issue? > As with "chromium --disable-gpu"? > > Kind Regards > _______________________________________________ > QtWebEngine mailing list > QtWebEngine at qt-project.org > http://lists.qt-project.org/mailman/listinfo/qtwebengine From notorious at telenet.be Tue Jun 17 14:01:13 2014 From: notorious at telenet.be (Notorious) Date: Tue, 17 Jun 2014 14:01:13 +0200 Subject: [Qtwebengine] gl_context_glx.cc(69) Failed to create GL context with glXCreateContextAttribsARB In-Reply-To: <20140616170926.GB24112@poutine.it.local> References: <539F1FFD.4070700@telenet.be> <20140616170926.GB24112@poutine.it.local> Message-ID: <53A02E09.8070206@telenet.be> Hi, I committed this patch and recompiled, no changes... Kind Regards On 06/16/2014 07:09 PM, Jocelyn Turcotte wrote: > Hello, > > The issue that you're facing should be fixed by the change > , currently integrating. > > we don't have any plan yet to fallback to software rendering since Qt itself > still requires GL on all graphic hardware. When Qt has a concrete plan on > how to handle faulty drivers we should also add support to QtWebEngine. > > Cheers, > Jocelyn > > > On Mon, Jun 16, 2014 at 06:49:01PM +0200, Notorious wrote: >> Hi all, >> >> When using qWebEngine on a laptop with i915 graphics driver (Intel 3rd >> gen GPU) on kernel 3.14-1 nothing gets rendered and following messages >> occur: >> gl_context_glx.cc(69) Failed to create GL context with >> glXCreateContextAttribsARB >> command_buffer_proxy_impl.cc(165) Failed to initialize command buffer >> service. >> >> I googled around and apparently this patch >> (https://codereview.chromium.org/93593002/) was created to automatically >> fall back on sofware rendering if this situation does occur. >> As far as I can see these changes are present in the chromium fork on >> qt-labs, but it obviously doesn't fall back on software rendering. >> >> Is there any way to force software rendering to work around this issue? >> As with "chromium --disable-gpu"? >> >> Kind Regards >> _______________________________________________ >> QtWebEngine mailing list >> QtWebEngine at qt-project.org >> http://lists.qt-project.org/mailman/listinfo/qtwebengine From jocelyn.turcotte at digia.com Tue Jun 17 14:17:04 2014 From: jocelyn.turcotte at digia.com (Jocelyn Turcotte) Date: Tue, 17 Jun 2014 14:17:04 +0200 Subject: [Qtwebengine] gl_context_glx.cc(69) Failed to create GL context with glXCreateContextAttribsARB In-Reply-To: <53A02E09.8070206@telenet.be> References: <539F1FFD.4070700@telenet.be> <20140616170926.GB24112@poutine.it.local> <53A02E09.8070206@telenet.be> Message-ID: <20140617121704.GC24112@poutine.it.local> Hello, the actual fix is in the src/3rdparty submodule . The patch I linked was updating the ref of src/3rdparty to include that change. Could you make sure that you also ran git submodule update? If it still doesn't work, do you know if you got that problem only with the kernel update, or did you have the issue before as well? Cheers, Jocelyn On Tue, Jun 17, 2014 at 02:01:13PM +0200, Notorious wrote: > Hi, > > I committed this patch and recompiled, no changes... > > Kind Regards > > On 06/16/2014 07:09 PM, Jocelyn Turcotte wrote: > > Hello, > > > > The issue that you're facing should be fixed by the change > > , currently integrating. > > > > we don't have any plan yet to fallback to software rendering since Qt itself > > still requires GL on all graphic hardware. When Qt has a concrete plan on > > how to handle faulty drivers we should also add support to QtWebEngine. > > > > Cheers, > > Jocelyn > > > > > > On Mon, Jun 16, 2014 at 06:49:01PM +0200, Notorious wrote: > >> Hi all, > >> > >> When using qWebEngine on a laptop with i915 graphics driver (Intel 3rd > >> gen GPU) on kernel 3.14-1 nothing gets rendered and following messages > >> occur: > >> gl_context_glx.cc(69) Failed to create GL context with > >> glXCreateContextAttribsARB > >> command_buffer_proxy_impl.cc(165) Failed to initialize command buffer > >> service. > >> > >> I googled around and apparently this patch > >> (https://codereview.chromium.org/93593002/) was created to automatically > >> fall back on sofware rendering if this situation does occur. > >> As far as I can see these changes are present in the chromium fork on > >> qt-labs, but it obviously doesn't fall back on software rendering. > >> > >> Is there any way to force software rendering to work around this issue? > >> As with "chromium --disable-gpu"? > >> > >> Kind Regards > >> _______________________________________________ > >> QtWebEngine mailing list > >> QtWebEngine at qt-project.org > >> http://lists.qt-project.org/mailman/listinfo/qtwebengine > > _______________________________________________ > QtWebEngine mailing list > QtWebEngine at qt-project.org > http://lists.qt-project.org/mailman/listinfo/qtwebengine From notorious at telenet.be Tue Jun 17 15:57:15 2014 From: notorious at telenet.be (Notorious) Date: Tue, 17 Jun 2014 15:57:15 +0200 Subject: [Qtwebengine] gl_context_glx.cc(69) Failed to create GL context with glXCreateContextAttribsARB In-Reply-To: <20140617121704.GC24112@poutine.it.local> References: <539F1FFD.4070700@telenet.be> <20140616170926.GB24112@poutine.it.local> <53A02E09.8070206@telenet.be> <20140617121704.GC24112@poutine.it.local> Message-ID: <53A0493B.1040206@telenet.be> Hi, I re-fetched & recompiled the whole repository to no avail. So I upgraded the kernel to 3.15, same result. Any ideas? Kind Regards On 06/17/2014 02:17 PM, Jocelyn Turcotte wrote: > Hello, > > the actual fix is in the src/3rdparty submodule > . The patch I linked was > updating the ref of src/3rdparty to include that change. > > Could you make sure that you also ran git submodule update? > > If it still doesn't work, do you know if you got that problem only with > the kernel update, or did you have the issue before as well? > > Cheers, > Jocelyn > > > On Tue, Jun 17, 2014 at 02:01:13PM +0200, Notorious wrote: >> Hi, >> >> I committed this patch and recompiled, no changes... >> >> Kind Regards >> >> On 06/16/2014 07:09 PM, Jocelyn Turcotte wrote: >>> Hello, >>> >>> The issue that you're facing should be fixed by the change >>> , currently integrating. >>> >>> we don't have any plan yet to fallback to software rendering since Qt itself >>> still requires GL on all graphic hardware. When Qt has a concrete plan on >>> how to handle faulty drivers we should also add support to QtWebEngine. >>> >>> Cheers, >>> Jocelyn >>> >>> >>> On Mon, Jun 16, 2014 at 06:49:01PM +0200, Notorious wrote: >>>> Hi all, >>>> >>>> When using qWebEngine on a laptop with i915 graphics driver (Intel 3rd >>>> gen GPU) on kernel 3.14-1 nothing gets rendered and following messages >>>> occur: >>>> gl_context_glx.cc(69) Failed to create GL context with >>>> glXCreateContextAttribsARB >>>> command_buffer_proxy_impl.cc(165) Failed to initialize command buffer >>>> service. >>>> >>>> I googled around and apparently this patch >>>> (https://codereview.chromium.org/93593002/) was created to automatically >>>> fall back on sofware rendering if this situation does occur. >>>> As far as I can see these changes are present in the chromium fork on >>>> qt-labs, but it obviously doesn't fall back on software rendering. >>>> >>>> Is there any way to force software rendering to work around this issue? >>>> As with "chromium --disable-gpu"? >>>> >>>> Kind Regards >>>> _______________________________________________ >>>> QtWebEngine mailing list >>>> QtWebEngine at qt-project.org >>>> http://lists.qt-project.org/mailman/listinfo/qtwebengine >> _______________________________________________ >> QtWebEngine mailing list >> QtWebEngine at qt-project.org >> http://lists.qt-project.org/mailman/listinfo/qtwebengine From notorious at telenet.be Tue Jun 17 16:03:57 2014 From: notorious at telenet.be (Notorious) Date: Tue, 17 Jun 2014 16:03:57 +0200 Subject: [Qtwebengine] gl_context_glx.cc(69) Failed to create GL context with glXCreateContextAttribsARB In-Reply-To: <53A0493B.1040206@telenet.be> References: <539F1FFD.4070700@telenet.be> <20140616170926.GB24112@poutine.it.local> <53A02E09.8070206@telenet.be> <20140617121704.GC24112@poutine.it.local> <53A0493B.1040206@telenet.be> Message-ID: <53A04ACD.7050407@telenet.be> Hello, Attached output of chrome://gpu from latest stable chromium. Apparently this one (35.0.1916.153) is using hardware rendering with no problems.. Kind Regards On 06/17/2014 03:57 PM, Notorious wrote: > Hi, > > I re-fetched & recompiled the whole repository to no avail. > So I upgraded the kernel to 3.15, same result. > > Any ideas? > > Kind Regards > > On 06/17/2014 02:17 PM, Jocelyn Turcotte wrote: >> Hello, >> >> the actual fix is in the src/3rdparty submodule >> . The patch I linked was >> updating the ref of src/3rdparty to include that change. >> >> Could you make sure that you also ran git submodule update? >> >> If it still doesn't work, do you know if you got that problem only with >> the kernel update, or did you have the issue before as well? >> >> Cheers, >> Jocelyn >> >> >> On Tue, Jun 17, 2014 at 02:01:13PM +0200, Notorious wrote: >>> Hi, >>> >>> I committed this patch and recompiled, no changes... >>> >>> Kind Regards >>> >>> On 06/16/2014 07:09 PM, Jocelyn Turcotte wrote: >>>> Hello, >>>> >>>> The issue that you're facing should be fixed by the change >>>> , currently integrating. >>>> >>>> we don't have any plan yet to fallback to software rendering since Qt itself >>>> still requires GL on all graphic hardware. When Qt has a concrete plan on >>>> how to handle faulty drivers we should also add support to QtWebEngine. >>>> >>>> Cheers, >>>> Jocelyn >>>> >>>> >>>> On Mon, Jun 16, 2014 at 06:49:01PM +0200, Notorious wrote: >>>>> Hi all, >>>>> >>>>> When using qWebEngine on a laptop with i915 graphics driver (Intel 3rd >>>>> gen GPU) on kernel 3.14-1 nothing gets rendered and following messages >>>>> occur: >>>>> gl_context_glx.cc(69) Failed to create GL context with >>>>> glXCreateContextAttribsARB >>>>> command_buffer_proxy_impl.cc(165) Failed to initialize command buffer >>>>> service. >>>>> >>>>> I googled around and apparently this patch >>>>> (https://codereview.chromium.org/93593002/) was created to automatically >>>>> fall back on sofware rendering if this situation does occur. >>>>> As far as I can see these changes are present in the chromium fork on >>>>> qt-labs, but it obviously doesn't fall back on software rendering. >>>>> >>>>> Is there any way to force software rendering to work around this issue? >>>>> As with "chromium --disable-gpu"? >>>>> >>>>> Kind Regards >>>>> _______________________________________________ >>>>> QtWebEngine mailing list >>>>> QtWebEngine at qt-project.org >>>>> http://lists.qt-project.org/mailman/listinfo/qtwebengine >>> _______________________________________________ >>> QtWebEngine mailing list >>> QtWebEngine at qt-project.org >>> http://lists.qt-project.org/mailman/listinfo/qtwebengine > _______________________________________________ > QtWebEngine mailing list > QtWebEngine at qt-project.org > http://lists.qt-project.org/mailman/listinfo/qtwebengine -------------- next part -------------- An HTML attachment was scrubbed... URL: From jocelyn.turcotte at digia.com Tue Jun 17 16:52:26 2014 From: jocelyn.turcotte at digia.com (Jocelyn Turcotte) Date: Tue, 17 Jun 2014 16:52:26 +0200 Subject: [Qtwebengine] gl_context_glx.cc(69) Failed to create GL context with glXCreateContextAttribsARB In-Reply-To: <53A04ACD.7050407@telenet.be> References: <539F1FFD.4070700@telenet.be> <20140616170926.GB24112@poutine.it.local> <53A02E09.8070206@telenet.be> <20140617121704.GC24112@poutine.it.local> <53A0493B.1040206@telenet.be> <53A04ACD.7050407@telenet.be> Message-ID: <20140617145226.GD24112@poutine.it.local> Yes that card should definitely work. I have an HD3000 here, most probably using the same driver as you on linux 3.14.4 and the mentioned patch fixed it for me. It's a bit difficult to investigate without seeing the issue directly, but you're probably getting a BadMatch because of the shared context not matching the display or the config (e.g. if you have more than one screen on the laptop). It would be great if you could visit #qtwebengine on freenode to try some things out, install an X error handler in src/3rdparty/chromium/ui/gl/gl_context_glx.cc, try with a NULL share_handle to see if we still get the error, etc. Cheers, Jocelyn On Tue, Jun 17, 2014 at 04:03:57PM +0200, Notorious wrote: > Hello, > > Attached output of chrome://gpu from latest stable chromium. > Apparently this one (35.0.1916.153) is using hardware rendering with > no problems.. > > Kind Regards > > On 06/17/2014 03:57 PM, Notorious wrote: > >Hi, > > > >I re-fetched & recompiled the whole repository to no avail. > >So I upgraded the kernel to 3.15, same result. > > > >Any ideas? > > > >Kind Regards > > > >On 06/17/2014 02:17 PM, Jocelyn Turcotte wrote: > >>Hello, > >> > >>the actual fix is in the src/3rdparty submodule > >>. The patch I linked was > >>updating the ref of src/3rdparty to include that change. > >> > >>Could you make sure that you also ran git submodule update? > >> > >>If it still doesn't work, do you know if you got that problem only with > >>the kernel update, or did you have the issue before as well? > >> > >>Cheers, > >>Jocelyn > >> > >> > >>On Tue, Jun 17, 2014 at 02:01:13PM +0200, Notorious wrote: > >>>Hi, > >>> > >>>I committed this patch and recompiled, no changes... > >>> > >>>Kind Regards > >>> > >>>On 06/16/2014 07:09 PM, Jocelyn Turcotte wrote: > >>>>Hello, > >>>> > >>>>The issue that you're facing should be fixed by the change > >>>>, currently integrating. > >>>> > >>>>we don't have any plan yet to fallback to software rendering since Qt itself > >>>>still requires GL on all graphic hardware. When Qt has a concrete plan on > >>>>how to handle faulty drivers we should also add support to QtWebEngine. > >>>> > >>>>Cheers, > >>>>Jocelyn > >>>> > >>>> > >>>>On Mon, Jun 16, 2014 at 06:49:01PM +0200, Notorious wrote: > >>>>>Hi all, > >>>>> > >>>>>When using qWebEngine on a laptop with i915 graphics driver (Intel 3rd > >>>>>gen GPU) on kernel 3.14-1 nothing gets rendered and following messages > >>>>>occur: > >>>>>gl_context_glx.cc(69) Failed to create GL context with > >>>>>glXCreateContextAttribsARB > >>>>>command_buffer_proxy_impl.cc(165) Failed to initialize command buffer > >>>>>service. > >>>>> > >>>>>I googled around and apparently this patch > >>>>>(https://codereview.chromium.org/93593002/) was created to automatically > >>>>>fall back on sofware rendering if this situation does occur. > >>>>>As far as I can see these changes are present in the chromium fork on > >>>>>qt-labs, but it obviously doesn't fall back on software rendering. > >>>>> > >>>>>Is there any way to force software rendering to work around this issue? > >>>>>As with "chromium --disable-gpu"? > >>>>> > >>>>>Kind Regards > >>>>>_______________________________________________ > >>>>>QtWebEngine mailing list > >>>>>QtWebEngine at qt-project.org > >>>>>http://lists.qt-project.org/mailman/listinfo/qtwebengine > >>>_______________________________________________ > >>>QtWebEngine mailing list > >>>QtWebEngine at qt-project.org > >>>http://lists.qt-project.org/mailman/listinfo/qtwebengine > >_______________________________________________ > >QtWebEngine mailing list > >QtWebEngine at qt-project.org > >http://lists.qt-project.org/mailman/listinfo/qtwebengine > > Graphics Feature Status > > • Canvas: Software only, hardware acceleration unavailable > • 3D CSS: Hardware accelerated > • Compositing: Hardware accelerated on all pages and threaded > • CSS Animation: Accelerated and threaded > • Flash 3D: Hardware accelerated > • Flash Stage3D: Unavailable. Hardware acceleration unavailable > • Flash Stage3D Baseline profile: Unavailable. Hardware acceleration > unavailable > • Video: Hardware accelerated > • Video Decode: Software only, hardware acceleration unavailable > • Video Encode: Hardware accelerated > • WebGL: Hardware accelerated > > Driver Bug Workarounds > > • clear_uniforms_before_first_program_use > • count_all_in_varyings_packing > • disable_ext_occlusion_query > • disable_multisampling > • disable_post_sub_buffers_for_onscreen_surfaces > > Problems Detected > > • Accelerated 2d canvas is unstable in Linux at the moment > Disabled Features: accelerated_2d_canvas > • Stage3D is not supported on Linux: 129848 > Disabled Features: flash_stage3d > • Accelerated video decode is unavailable on Mac and Linux: 137247, 133828 > Disabled Features: accelerated_video_decode > • EXT_occlusion_query appears to be buggy with Intel GPUs on Linux > Applied Workarounds: disable_ext_occlusion_query > • Clear uniforms before first program use on all platforms: 124764, 349137 > Applied Workarounds: clear_uniforms_before_first_program_use > • Mesa drivers in Linux handle varyings without static use incorrectly: > 333885 > Applied Workarounds: count_all_in_varyings_packing > • Multisampling is buggy in Intel IvyBridge: 116370 > Applied Workarounds: disable_multisampling > • Disable partial swaps on linux drivers: 339493 > Applied Workarounds: disable_post_sub_buffers_for_onscreen_surfaces > > Version Information > > Data exported 6/17/2014 3:59:29 PM > Chrome version Chrome/35.0.1916.153 > Operating Linux 3.15-rc8-amd64 > system > Software > rendering list 7.6 > version > Driver bug 4.9 > list version > ANGLE commit > id > 2D graphics Skia > backend > --password-store=detect --ppapi-flash-path=/usr/lib/ > Command Line pepperflashplugin-nonfree/libpepflashplayer.so > Args --ppapi-flash-version=13.0.0.214 --flag-switches-begin > --flag-switches-end > > Performance Information > > Driver Information > > Initialization 351 > time > Sandboxed true > GPU0 VENDOR = 0x8086, DEVICE= 0x0166 > Optimus false > AMD switchable false > Driver vendor Mesa > Driver version 10.1.4 > Driver date > Pixel shader 1.30 > version > Vertex shader 1.30 > version > Machine model > GL version 3.0 > GL_VENDOR Intel Open Source Technology Center > GL_RENDERER Mesa DRI Intel(R) Ivybridge Mobile > GL_VERSION 3.0 Mesa 10.1.4 > GL_ARB_multisample GL_EXT_abgr GL_EXT_bgra GL_EXT_blend_color > GL_EXT_blend_minmax GL_EXT_blend_subtract GL_EXT_copy_texture > GL_EXT_polygon_offset GL_EXT_subtexture GL_EXT_texture_object > GL_EXT_vertex_array GL_EXT_compiled_vertex_array > GL_EXT_texture GL_EXT_texture3D GL_IBM_rasterpos_clip > GL_ARB_point_parameters GL_EXT_draw_range_elements > GL_EXT_packed_pixels GL_EXT_point_parameters > GL_EXT_rescale_normal GL_EXT_separate_specular_color > GL_EXT_texture_edge_clamp GL_SGIS_generate_mipmap > GL_SGIS_texture_border_clamp GL_SGIS_texture_edge_clamp > GL_SGIS_texture_lod GL_ARB_framebuffer_sRGB > GL_ARB_multitexture GL_EXT_framebuffer_sRGB > GL_IBM_multimode_draw_arrays GL_IBM_texture_mirrored_repeat > GL_3DFX_texture_compression_FXT1 GL_ARB_texture_cube_map > GL_ARB_texture_env_add GL_ARB_transpose_matrix > GL_EXT_blend_func_separate GL_EXT_fog_coord > GL_EXT_multi_draw_arrays GL_EXT_secondary_color > GL_EXT_texture_env_add GL_EXT_texture_filter_anisotropic > GL_EXT_texture_lod_bias GL_INGR_blend_func_separate > GL_NV_blend_square GL_NV_light_max_exponent > GL_NV_texgen_reflection GL_NV_texture_env_combine4 GL_S3_s3tc > GL_SUN_multi_draw_arrays GL_ARB_texture_border_clamp > GL_ARB_texture_compression GL_EXT_framebuffer_object > GL_EXT_texture_compression_s3tc GL_EXT_texture_env_combine > GL_EXT_texture_env_dot3 GL_MESA_window_pos > GL_NV_packed_depth_stencil GL_NV_texture_rectangle > GL_ARB_depth_texture GL_ARB_occlusion_query GL_ARB_shadow > GL_ARB_texture_env_combine GL_ARB_texture_env_crossbar > GL_ARB_texture_env_dot3 GL_ARB_texture_mirrored_repeat > GL_ARB_window_pos GL_ATI_envmap_bumpmap > GL_EXT_stencil_two_side GL_EXT_texture_cube_map > GL_NV_depth_clamp GL_APPLE_packed_pixels > GL_APPLE_vertex_array_object GL_ARB_draw_buffers > GL_ARB_fragment_program GL_ARB_fragment_shader > GL_ARB_shader_objects GL_ARB_vertex_program > GL_ARB_vertex_shader GL_ATI_draw_buffers > GL_ATI_texture_env_combine3 GL_ATI_texture_float > GL_EXT_shadow_funcs GL_EXT_stencil_wrap GL_MESA_pack_invert > GL_NV_primitive_restart GL_ARB_depth_clamp > GL_ARB_fragment_program_shadow GL_ARB_half_float_pixel > GL_ARB_occlusion_query2 GL_ARB_point_sprite > GL_ARB_shading_language_100 GL_ARB_sync > GL_ARB_texture_non_power_of_two GL_ARB_vertex_buffer_object > GL_ATI_blend_equation_separate GL_EXT_blend_equation_separate > GL_OES_read_format GL_ARB_color_buffer_float > GL_ARB_pixel_buffer_object GL_ARB_texture_compression_rgtc > GL_ARB_texture_float GL_ARB_texture_rectangle > GL_EXTENSIONS GL_EXT_packed_float GL_EXT_pixel_buffer_object > GL_EXT_texture_compression_dxt1 > GL_EXT_texture_compression_rgtc GL_EXT_texture_rectangle > GL_EXT_texture_sRGB GL_EXT_texture_shared_exponent > GL_ARB_framebuffer_object GL_EXT_framebuffer_blit > GL_EXT_framebuffer_multisample GL_EXT_packed_depth_stencil > GL_APPLE_object_purgeable GL_ARB_vertex_array_object > GL_ATI_separate_stencil GL_EXT_draw_buffers2 > GL_EXT_draw_instanced GL_EXT_gpu_program_parameters > GL_EXT_texture_array GL_EXT_texture_integer > GL_EXT_texture_sRGB_decode GL_EXT_timer_query GL_OES_EGL_image > GL_AMD_performance_monitor GL_ARB_copy_buffer > GL_ARB_depth_buffer_float GL_ARB_draw_instanced > GL_ARB_half_float_vertex GL_ARB_instanced_arrays > GL_ARB_map_buffer_range GL_ARB_texture_rg > GL_ARB_texture_swizzle GL_ARB_vertex_array_bgra > GL_EXT_separate_shader_objects GL_EXT_texture_swizzle > GL_EXT_vertex_array_bgra GL_NV_conditional_render > GL_AMD_conservative_depth GL_AMD_draw_buffers_blend > GL_AMD_seamless_cubemap_per_texture GL_ARB_ES2_compatibility > GL_ARB_blend_func_extended GL_ARB_debug_output > GL_ARB_draw_buffers_blend GL_ARB_draw_elements_base_vertex > GL_ARB_explicit_attrib_location > GL_ARB_fragment_coord_conventions GL_ARB_provoking_vertex > GL_ARB_sample_shading GL_ARB_sampler_objects > GL_ARB_seamless_cube_map GL_ARB_shader_texture_lod > GL_ARB_texture_cube_map_array GL_ARB_texture_gather > GL_ARB_texture_multisample GL_ARB_texture_query_lod > GL_ARB_texture_rgb10_a2ui GL_ARB_uniform_buffer_object > GL_ARB_vertex_type_2_10_10_10_rev GL_EXT_provoking_vertex > GL_EXT_texture_snorm GL_MESA_texture_signed_rgba > GL_ARB_get_program_binary GL_ARB_robustness > GL_ARB_shader_bit_encoding GL_ARB_timer_query > GL_ARB_transform_feedback2 GL_ARB_transform_feedback3 > GL_ANGLE_texture_compression_dxt3 > GL_ANGLE_texture_compression_dxt5 GL_ARB_conservative_depth > GL_ARB_internalformat_query GL_ARB_map_buffer_alignment > GL_ARB_shader_atomic_counters GL_ARB_shading_language_420pack > GL_ARB_shading_language_packing GL_ARB_texture_storage > GL_ARB_transform_feedback_instanced > GL_EXT_framebuffer_multisample_blit_scaled > GL_EXT_transform_feedback GL_AMD_shader_trinary_minmax > GL_ARB_ES3_compatibility GL_ARB_clear_buffer_object > GL_ARB_invalidate_subdata GL_ARB_texture_query_levels > GL_ARB_texture_storage_multisample > GL_ARB_vertex_attrib_binding GL_KHR_debug > GL_ARB_texture_mirror_clamp_to_edge > GL_ARB_vertex_type_10f_11f_11f_rev GL_EXT_shader_integer_mix > Window system SGI > binding vendor > Window system > binding 1.4 > version > GLX_ARB_create_context GLX_ARB_create_context_profile > GLX_ARB_create_context_robustness GLX_ARB_fbconfig_float > GLX_ARB_framebuffer_sRGB GLX_ARB_multisample > Window system GLX_EXT_create_context_es2_profile GLX_EXT_framebuffer_sRGB > binding GLX_EXT_import_context GLX_EXT_texture_from_pixmap > extensions GLX_EXT_visual_info GLX_EXT_visual_rating > GLX_MESA_copy_sub_buffer GLX_OML_swap_method > GLX_SGI_swap_control GLX_SGIS_multisample GLX_SGIX_fbconfig > GLX_SGIX_pbuffer GLX_SGIX_visual_select_group > GLX_INTEL_swap_event > Direct Yes > rendering > Reset > notification 0x8252 > strategy > > Diagnostics > > ... loading ... > None > > Log Messages > > • : > > title value > > _______________________________________________ > QtWebEngine mailing list > QtWebEngine at qt-project.org > http://lists.qt-project.org/mailman/listinfo/qtwebengine From greg.hellings at gmail.com Wed Jun 25 21:17:22 2014 From: greg.hellings at gmail.com (Greg Hellings) Date: Wed, 25 Jun 2014 14:17:22 -0500 Subject: [Qtwebengine] Building woes Message-ID: I've been trying to compile QtWebEngine the past few weeks on both Fedora Rawhide and OS X. I'm getting different failures in each environment, compiling against Qt 5.3.1 in both places. In OS X I get the message qtwebengine/src/webengine/api/qquickwebengineview.cpp:661:10: fatal error: 'moc_qquickwebengineview_p.cpp' file not found This message has persisted for the entirety of the two weeks, so I can only assume that I must be the only person trying to build on OS X. I configure that build with a call to ~/Qt/5.3/clang_64/bin/qmake -r CONFIG-=release ../qtwebengine/ qtwebengine.pro In Fedora Rawhide I have to invoke qmake with an explicit STRIP=`which strip` call. The full call is /usr/lib64/qt5/bin/qmake -r CONFIG-=release STRIP=/usr/bin/strip The errors I see in this environment are akin to the following: /usr/bin/ld: warning: libQt0WebEngineCore.so.0, needed by /builddir/build/BUILD/qt5-qtwebengine/lib/libQt0WebEngine.so, not found (try using -rpath or -rpath-link) /builddir/build/BUILD/qt5-qtwebengine/lib/libQt0WebEngine.so: undefined reference to `WebContentsAdapter::stop()' /builddir/build/BUILD/qt5-qtwebengine/lib/libQt0WebEngine.so: undefined reference to `WebContentsAdapter::navigateToIndex(int)' /builddir/build/BUILD/qt5-qtwebengine/lib/libQt0WebEngine.so: undefined reference to `JavaScriptDialogController::dialogCloseRequested()' /builddir/build/BUILD/qt5-qtwebengine/lib/libQt0WebEngine.so: undefined reference to `WebContentsAdapter::getNavigationEntryTitle(int)' /builddir/build/BUILD/qt5-qtwebengine/lib/libQt0WebEngine.so: undefined reference to `WebContentsAdapter::wasHidden()' /builddir/build/BUILD/qt5-qtwebengine/lib/libQt0WebEngine.so: undefined reference to `WebContentsAdapter::WebContentsAdapter(content::WebContents*)' /builddir/build/BUILD/qt5-qtwebengine/lib/libQt0WebEngine.so: undefined reference to `WebEngineError::UserAbortedError' /builddir/build/BUILD/qt5-qtwebengine/lib/libQt0WebEngine.so: undefined reference to `WebContentsAdapter::grantMediaAccessPermission(QUrl const&, QFlags)' /builddir/build/BUILD/qt5-qtwebengine/lib/libQt0WebEngine.so: undefined reference to `WebContentsAdapter::isLoading() const' /builddir/build/BUILD/qt5-qtwebengine/lib/libQt0WebEngine.so: undefined reference to `WebContentsAdapter::initialize(WebContentsAdapterClient*)' /builddir/build/BUILD/qt5-qtwebengine/lib/libQt0WebEngine.so: undefined reference to `WebContentsAdapter::wasShown()' /builddir/build/BUILD/qt5-qtwebengine/lib/libQt0WebEngine.so: undefined reference to `WebContentsAdapter::dpiScaleChanged()' /builddir/build/BUILD/qt5-qtwebengine/lib/libQt0WebEngine.so: undefined reference to `JavaScriptDialogController::defaultPrompt() const' /builddir/build/BUILD/qt5-qtwebengine/lib/libQt0WebEngine.so: undefined reference to `WebContentsAdapter::enableInspector(bool)' /builddir/build/BUILD/qt5-qtwebengine/lib/libQt0WebEngine.so: undefined reference to `WebContentsAdapter::navigateToOffset(int)' /builddir/build/BUILD/qt5-qtwebengine/lib/libQt0WebEngine.so: undefined reference to `WebContentsAdapter::activeUrl() const' /builddir/build/BUILD/qt5-qtwebengine/lib/libQt0WebEngine.so: undefined reference to `WebContentsAdapter::load(QUrl const&)' /builddir/build/BUILD/qt5-qtwebengine/lib/libQt0WebEngine.so: undefined reference to `WebContentsAdapter::canGoBack() const' /builddir/build/BUILD/qt5-qtwebengine/lib/libQt0WebEngine.so: undefined reference to `JavaScriptDialogController::title() const' /builddir/build/BUILD/qt5-qtwebengine/lib/libQt0WebEngine.so: undefined reference to `JavaScriptDialogController::message() const' /builddir/build/BUILD/qt5-qtwebengine/lib/libQt0WebEngine.so: undefined reference to `WebContentsAdapter::canGoForward() const' /builddir/build/BUILD/qt5-qtwebengine/lib/libQt0WebEngine.so: undefined reference to `WebContentsAdapter::reload()' /builddir/build/BUILD/qt5-qtwebengine/lib/libQt0WebEngine.so: undefined reference to `WebContentsAdapter::filesSelectedInChooser(QStringList const&, WebContentsAdapterClient::FileChooserMode)' /builddir/build/BUILD/qt5-qtwebengine/lib/libQt0WebEngine.so: undefined reference to `WebContentsAdapter::navigationEntryCount()' /builddir/build/BUILD/qt5-qtwebengine/lib/libQt0WebEngine.so: undefined reference to `JavaScriptDialogController::staticMetaObject' /builddir/build/BUILD/qt5-qtwebengine/lib/libQt0WebEngine.so: undefined reference to `WebContentsAdapter::pageTitle() const' /builddir/build/BUILD/qt5-qtwebengine/lib/libQt0WebEngine.so: undefined reference to `WebContentsAdapter::setContent(QByteArray const&, QString const&, QUrl const&)' /builddir/build/BUILD/qt5-qtwebengine/lib/libQt0WebEngine.so: undefined reference to `WebContentsAdapter::currentNavigationEntryIndex()' /builddir/build/BUILD/qt5-qtwebengine/lib/libQt0WebEngine.so: undefined reference to `WebContentsAdapter::runJavaScript(QString const&)' /builddir/build/BUILD/qt5-qtwebengine/lib/libQt0WebEngine.so: undefined reference to `WebEngineError::toQtErrorDomain(int)' /builddir/build/BUILD/qt5-qtwebengine/lib/libQt0WebEngine.so: undefined reference to `WebContentsAdapter::getNavigationEntryUrl(int)' /builddir/build/BUILD/qt5-qtwebengine/lib/libQt0WebEngine.so: undefined reference to `WebContentsAdapter::~WebContentsAdapter()' /builddir/build/BUILD/qt5-qtwebengine/lib/libQt0WebEngine.so: undefined reference to `WebContentsAdapter::Makefile:100: recipe for target 'quicknanobrowser' failed make[2]: Leaving directory '/builddir/build/BUILD/qt5-qtwebengine/examples/webengine/quicknanobrowser' /builddir/build/BUILD/qt5-qtwebengine/lib/libQt0WebEngine.so: undefined reference to `JavaScriptDialogController::type() const' etc. Are there any hints beyond the ones in the readme file for what I might be missing or what build process I'm doing wrong? I'd love to get this building in both environments but thus far I have not been able to do so. --Greg -------------- next part -------------- An HTML attachment was scrubbed... URL: From pierre.rossi at gmail.com Thu Jun 26 12:17:47 2014 From: pierre.rossi at gmail.com (Pierre Rossi) Date: Thu, 26 Jun 2014 12:17:47 +0200 Subject: [Qtwebengine] Building woes In-Reply-To: References: Message-ID: Hi Greg, For OS X (assuming it's mavericks), have you tried an "in-source" build (it'll actually create build subdirectories in src/core for the core library)? Shadow build support is not something we've focused on so far. Not sure what's going on on Fedora, but one thing you could check is whether it's using plain old ld or gold. I strongly recommend the latter as I've ran into the weirdest linker bugs with ld.bfd. Let us know how things go. Cheers, -- Pierre On Wed, Jun 25, 2014 at 9:17 PM, Greg Hellings wrote: > I've been trying to compile QtWebEngine the past few weeks on both Fedora > Rawhide and OS X. I'm getting different failures in each environment, > compiling against Qt 5.3.1 in both places. In OS X I get the message > > qtwebengine/src/webengine/api/qquickwebengineview.cpp:661:10: fatal error: > 'moc_qquickwebengineview_p.cpp' file not found > > > This message has persisted for the entirety of the two weeks, so I can > only assume that I must be the only person trying to build on OS X. I > configure that build with a call to > > > ~/Qt/5.3/clang_64/bin/qmake -r CONFIG-=release ../qtwebengine/ > qtwebengine.pro > > > In Fedora Rawhide I have to invoke qmake with an explicit STRIP=`which > strip` call. The full call is > > /usr/lib64/qt5/bin/qmake -r CONFIG-=release STRIP=/usr/bin/strip > > The errors I see in this environment are akin to the following: > > /usr/bin/ld: warning: libQt0WebEngineCore.so.0, needed by > /builddir/build/BUILD/qt5-qtwebengine/lib/libQt0WebEngine.so, not found > (try using -rpath or > > -rpath-link) > > /builddir/build/BUILD/qt5-qtwebengine/lib/libQt0WebEngine.so: undefined > reference to `WebContentsAdapter::stop()' > > /builddir/build/BUILD/qt5-qtwebengine/lib/libQt0WebEngine.so: undefined > reference to `WebContentsAdapter::navigateToIndex(int)' > > /builddir/build/BUILD/qt5-qtwebengine/lib/libQt0WebEngine.so: undefined > reference to `JavaScriptDialogController::dialogCloseRequested()' > > /builddir/build/BUILD/qt5-qtwebengine/lib/libQt0WebEngine.so: undefined > reference to `WebContentsAdapter::getNavigationEntryTitle(int)' > > /builddir/build/BUILD/qt5-qtwebengine/lib/libQt0WebEngine.so: undefined > reference to `WebContentsAdapter::wasHidden()' > > /builddir/build/BUILD/qt5-qtwebengine/lib/libQt0WebEngine.so: undefined > reference to `WebContentsAdapter::WebContentsAdapter(content::WebContents*)' > > /builddir/build/BUILD/qt5-qtwebengine/lib/libQt0WebEngine.so: undefined > reference to `WebEngineError::UserAbortedError' > > /builddir/build/BUILD/qt5-qtwebengine/lib/libQt0WebEngine.so: undefined > reference to `WebContentsAdapter::grantMediaAccessPermission(QUrl const&, > QFlags)' > > /builddir/build/BUILD/qt5-qtwebengine/lib/libQt0WebEngine.so: undefined > reference to `WebContentsAdapter::isLoading() const' > > /builddir/build/BUILD/qt5-qtwebengine/lib/libQt0WebEngine.so: undefined > reference to `WebContentsAdapter::initialize(WebContentsAdapterClient*)' > > /builddir/build/BUILD/qt5-qtwebengine/lib/libQt0WebEngine.so: undefined > reference to `WebContentsAdapter::wasShown()' > > /builddir/build/BUILD/qt5-qtwebengine/lib/libQt0WebEngine.so: undefined > reference to `WebContentsAdapter::dpiScaleChanged()' > > /builddir/build/BUILD/qt5-qtwebengine/lib/libQt0WebEngine.so: undefined > reference to `JavaScriptDialogController::defaultPrompt() const' > > /builddir/build/BUILD/qt5-qtwebengine/lib/libQt0WebEngine.so: undefined > reference to `WebContentsAdapter::enableInspector(bool)' > > /builddir/build/BUILD/qt5-qtwebengine/lib/libQt0WebEngine.so: undefined > reference to `WebContentsAdapter::navigateToOffset(int)' > > /builddir/build/BUILD/qt5-qtwebengine/lib/libQt0WebEngine.so: undefined > reference to `WebContentsAdapter::activeUrl() const' > > /builddir/build/BUILD/qt5-qtwebengine/lib/libQt0WebEngine.so: undefined > reference to `WebContentsAdapter::load(QUrl const&)' > > /builddir/build/BUILD/qt5-qtwebengine/lib/libQt0WebEngine.so: undefined > reference to `WebContentsAdapter::canGoBack() const' > > /builddir/build/BUILD/qt5-qtwebengine/lib/libQt0WebEngine.so: undefined > reference to `JavaScriptDialogController::title() const' > > /builddir/build/BUILD/qt5-qtwebengine/lib/libQt0WebEngine.so: undefined > reference to `JavaScriptDialogController::message() const' > > /builddir/build/BUILD/qt5-qtwebengine/lib/libQt0WebEngine.so: undefined > reference to `WebContentsAdapter::canGoForward() const' > > /builddir/build/BUILD/qt5-qtwebengine/lib/libQt0WebEngine.so: undefined > reference to `WebContentsAdapter::reload()' > > /builddir/build/BUILD/qt5-qtwebengine/lib/libQt0WebEngine.so: undefined > reference to `WebContentsAdapter::filesSelectedInChooser(QStringList > const&, WebContentsAdapterClient::FileChooserMode)' > > /builddir/build/BUILD/qt5-qtwebengine/lib/libQt0WebEngine.so: undefined > reference to `WebContentsAdapter::navigationEntryCount()' > > /builddir/build/BUILD/qt5-qtwebengine/lib/libQt0WebEngine.so: undefined > reference to `JavaScriptDialogController::staticMetaObject' > > /builddir/build/BUILD/qt5-qtwebengine/lib/libQt0WebEngine.so: undefined > reference to `WebContentsAdapter::pageTitle() const' > > /builddir/build/BUILD/qt5-qtwebengine/lib/libQt0WebEngine.so: undefined > reference to `WebContentsAdapter::setContent(QByteArray const&, QString > const&, QUrl const&)' > > /builddir/build/BUILD/qt5-qtwebengine/lib/libQt0WebEngine.so: undefined > reference to `WebContentsAdapter::currentNavigationEntryIndex()' > > /builddir/build/BUILD/qt5-qtwebengine/lib/libQt0WebEngine.so: undefined > reference to `WebContentsAdapter::runJavaScript(QString const&)' > > /builddir/build/BUILD/qt5-qtwebengine/lib/libQt0WebEngine.so: undefined > reference to `WebEngineError::toQtErrorDomain(int)' > > /builddir/build/BUILD/qt5-qtwebengine/lib/libQt0WebEngine.so: undefined > reference to `WebContentsAdapter::getNavigationEntryUrl(int)' > > /builddir/build/BUILD/qt5-qtwebengine/lib/libQt0WebEngine.so: undefined > reference to `WebContentsAdapter::~WebContentsAdapter()' > > /builddir/build/BUILD/qt5-qtwebengine/lib/libQt0WebEngine.so: undefined > reference to `WebContentsAdapter::Makefile:100: recipe for target > 'quicknanobrowser' failed > > make[2]: Leaving directory > '/builddir/build/BUILD/qt5-qtwebengine/examples/webengine/quicknanobrowser' > > > > /builddir/build/BUILD/qt5-qtwebengine/lib/libQt0WebEngine.so: undefined > reference to `JavaScriptDialogController::type() const' > > > etc. > > > Are there any hints beyond the ones in the readme file for what I might be > missing or what build process I'm doing wrong? I'd love to get this > building in both environments but thus far I have not been able to do so. > > > --Greg > > _______________________________________________ > QtWebEngine mailing list > QtWebEngine at qt-project.org > http://lists.qt-project.org/mailman/listinfo/qtwebengine > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From greg.hellings at gmail.com Thu Jun 26 15:32:48 2014 From: greg.hellings at gmail.com (Greg Hellings) Date: Thu, 26 Jun 2014 08:32:48 -0500 Subject: [Qtwebengine] Building woes In-Reply-To: References: Message-ID: Pierre, Thanks for the pointers. Trying an in-tree build fails at a different point in the build. Both points are very deep into the process. In the pasted block below you'll see the plugin.cpp file is looking for qtwebengineversion.h which is definitely present in the build tree. However, it seems the build for plugin.cpp is adding the search directory lib/QtWebEngine.framework/Headers/0.9.0 and lib/QtWebEngine.framework/Headers/0.9.0/QtWebEngine while the file is actually located in lib/QtWebEngine.framework/Versions/0/Headers/. WRT the Fedora build, I'm not familiar with gold vs bfd, but it looks like the system default is to use ld.bfd. I'm attempting now to kick off a build with ld.gold as the option instead. --Greg cd webengine/plugin/ && ( test -e Makefile || /Users/greg/Qt/5.3/clang_64/bin/qmake /Users/greg/Builds/qtwebengine/src/webengine/plugin/plugin.pro CONFIG-=release -o Makefile ) && /Applications/Xcode.app/Contents/Developer/usr/bin/make -f Makefile /Applications/Xcode.app/Contents/Developer/usr/bin/make -f Makefile.Debug all /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -c -pipe -g -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk -mmacosx-version-min=10.7 -fvisibility=hidden -fvisibility-inlines-hidden -fno-exceptions -Wall -W -fPIC -DQT_NO_MTDEV -DQT_NO_LIBUDEV -DQT_NO_EVDEV -DQT_NO_EXCEPTIONS -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_PLUGIN -DQT_WEBENGINE_LIB -DQT_QUICK_LIB -DQT_QML_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_WEBENGINE_LIB -DQT_QUICK_LIB -DQT_QML_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/Users/greg/Qt/5.3/clang_64/mkspecs/macx-clang -I. -I../../core -I../../webengine -I../api -I/Users/greg/Qt/5.3/clang_64/lib/QtQuick.framework/Versions/5/Headers -I/Users/greg/Qt/5.3/clang_64/lib/QtQml.framework/Versions/5/Headers -I/Users/greg/Qt/5.3/clang_64/lib/QtNetwork.framework/Versions/5/Headers -I/Users/greg/Qt/5.3/clang_64/lib/QtGui.framework/Versions/5/Headers -I/Users/greg/Qt/5.3/clang_64/lib/QtCore.framework/Versions/5/Headers -I/Users/greg/Builds/qtwebengine/lib/QtWebEngine.framework/Headers/0.9.0 -I/Users/greg/Builds/qtwebengine/lib/QtWebEngine.framework/Headers/0.9.0/QtWebEngine -I/Users/greg/Qt/5.3/clang_64/lib/QtQuick.framework/Versions/5/Headers/5.3.1 -I/Users/greg/Qt/5.3/clang_64/lib/QtQuick.framework/Versions/5/Headers/5.3.1/QtQuick -I/Users/greg/Qt/5.3/clang_64/lib/QtQml.framework/Versions/5/Headers/5.3.1 -I/Users/greg/Qt/5.3/clang_64/lib/QtQml.framework/Versions/5/Headers/5.3.1/QtQml -I/Users/greg/Qt/5.3/clang_64/lib/QtGui.framework/Versions/5/Headers/5.3.1 -I/Users/greg/Qt/5.3/clang_64/lib/QtGui.framework/Versions/5/Headers/5.3.1/QtGui -I/Users/greg/Qt/5.3/clang_64/lib/QtCore.framework/Versions/5/Headers/5.3.1 -I/Users/greg/Qt/5.3/clang_64/lib/QtCore.framework/Versions/5/Headers/5.3.1/QtCore -I.moc/debug -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk/System/Library/Frameworks/OpenGL.framework/Versions/A/Headers -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk/System/Library/Frameworks/AGL.framework/Headers -F/Users/greg/Builds/qtwebengine/lib -F/Users/greg/Qt/5.3/clang_64/lib -o .obj/debug/plugin.o plugin.cpp *plugin.cpp:44:10: **fatal error: **'qtwebengineversion.h' file not found* #include "qtwebengineversion.h" * ^* 1 error generated. make[3]: *** [.obj/debug/plugin.o] Error 1 make[2]: *** [debug-all] Error 2 make[1]: *** [sub-webengine-plugin-make_first] Error 2 make: *** [sub-src-make_first] Error 2 *greg at gregorys-mini*:*~/Builds/qtwebengine* *(master)*$ find . -name qtwebengineversion.h ./include/QtWebEngine/qtwebengineversion.h ./lib/QtWebEngine.framework/Versions/0/Headers/qtwebengineversion.h On Thu, Jun 26, 2014 at 5:17 AM, Pierre Rossi wrote: > Hi Greg, > > For OS X (assuming it's mavericks), have you tried an "in-source" build > (it'll actually create build subdirectories in src/core for the core > library)? Shadow build support is not something we've focused on so far. > > Not sure what's going on on Fedora, but one thing you could check is > whether it's using plain old ld or gold. I strongly recommend the latter as > I've ran into the weirdest linker bugs with ld.bfd. > > Let us know how things go. > > Cheers, > -- > Pierre > > > On Wed, Jun 25, 2014 at 9:17 PM, Greg Hellings > wrote: > >> I've been trying to compile QtWebEngine the past few weeks on both Fedora >> Rawhide and OS X. I'm getting different failures in each environment, >> compiling against Qt 5.3.1 in both places. In OS X I get the message >> >> qtwebengine/src/webengine/api/qquickwebengineview.cpp:661:10: fatal >> error: 'moc_qquickwebengineview_p.cpp' file not found >> >> >> This message has persisted for the entirety of the two weeks, so I can >> only assume that I must be the only person trying to build on OS X. I >> configure that build with a call to >> >> >> ~/Qt/5.3/clang_64/bin/qmake -r CONFIG-=release ../qtwebengine/ >> qtwebengine.pro >> >> >> In Fedora Rawhide I have to invoke qmake with an explicit STRIP=`which >> strip` call. The full call is >> >> /usr/lib64/qt5/bin/qmake -r CONFIG-=release STRIP=/usr/bin/strip >> >> The errors I see in this environment are akin to the following: >> >> /usr/bin/ld: warning: libQt0WebEngineCore.so.0, needed by >> /builddir/build/BUILD/qt5-qtwebengine/lib/libQt0WebEngine.so, not found >> (try using -rpath or >> >> -rpath-link) >> >> /builddir/build/BUILD/qt5-qtwebengine/lib/libQt0WebEngine.so: undefined >> reference to `WebContentsAdapter::stop()' >> >> /builddir/build/BUILD/qt5-qtwebengine/lib/libQt0WebEngine.so: undefined >> reference to `WebContentsAdapter::navigateToIndex(int)' >> >> /builddir/build/BUILD/qt5-qtwebengine/lib/libQt0WebEngine.so: undefined >> reference to `JavaScriptDialogController::dialogCloseRequested()' >> >> /builddir/build/BUILD/qt5-qtwebengine/lib/libQt0WebEngine.so: undefined >> reference to `WebContentsAdapter::getNavigationEntryTitle(int)' >> >> /builddir/build/BUILD/qt5-qtwebengine/lib/libQt0WebEngine.so: undefined >> reference to `WebContentsAdapter::wasHidden()' >> >> /builddir/build/BUILD/qt5-qtwebengine/lib/libQt0WebEngine.so: undefined >> reference to `WebContentsAdapter::WebContentsAdapter(content::WebContents*)' >> >> /builddir/build/BUILD/qt5-qtwebengine/lib/libQt0WebEngine.so: undefined >> reference to `WebEngineError::UserAbortedError' >> >> /builddir/build/BUILD/qt5-qtwebengine/lib/libQt0WebEngine.so: undefined >> reference to `WebContentsAdapter::grantMediaAccessPermission(QUrl const&, >> QFlags)' >> >> /builddir/build/BUILD/qt5-qtwebengine/lib/libQt0WebEngine.so: undefined >> reference to `WebContentsAdapter::isLoading() const' >> >> /builddir/build/BUILD/qt5-qtwebengine/lib/libQt0WebEngine.so: undefined >> reference to `WebContentsAdapter::initialize(WebContentsAdapterClient*)' >> >> /builddir/build/BUILD/qt5-qtwebengine/lib/libQt0WebEngine.so: undefined >> reference to `WebContentsAdapter::wasShown()' >> >> /builddir/build/BUILD/qt5-qtwebengine/lib/libQt0WebEngine.so: undefined >> reference to `WebContentsAdapter::dpiScaleChanged()' >> >> /builddir/build/BUILD/qt5-qtwebengine/lib/libQt0WebEngine.so: undefined >> reference to `JavaScriptDialogController::defaultPrompt() const' >> >> /builddir/build/BUILD/qt5-qtwebengine/lib/libQt0WebEngine.so: undefined >> reference to `WebContentsAdapter::enableInspector(bool)' >> >> /builddir/build/BUILD/qt5-qtwebengine/lib/libQt0WebEngine.so: undefined >> reference to `WebContentsAdapter::navigateToOffset(int)' >> >> /builddir/build/BUILD/qt5-qtwebengine/lib/libQt0WebEngine.so: undefined >> reference to `WebContentsAdapter::activeUrl() const' >> >> /builddir/build/BUILD/qt5-qtwebengine/lib/libQt0WebEngine.so: undefined >> reference to `WebContentsAdapter::load(QUrl const&)' >> >> /builddir/build/BUILD/qt5-qtwebengine/lib/libQt0WebEngine.so: undefined >> reference to `WebContentsAdapter::canGoBack() const' >> >> /builddir/build/BUILD/qt5-qtwebengine/lib/libQt0WebEngine.so: undefined >> reference to `JavaScriptDialogController::title() const' >> >> /builddir/build/BUILD/qt5-qtwebengine/lib/libQt0WebEngine.so: undefined >> reference to `JavaScriptDialogController::message() const' >> >> /builddir/build/BUILD/qt5-qtwebengine/lib/libQt0WebEngine.so: undefined >> reference to `WebContentsAdapter::canGoForward() const' >> >> /builddir/build/BUILD/qt5-qtwebengine/lib/libQt0WebEngine.so: undefined >> reference to `WebContentsAdapter::reload()' >> >> /builddir/build/BUILD/qt5-qtwebengine/lib/libQt0WebEngine.so: undefined >> reference to `WebContentsAdapter::filesSelectedInChooser(QStringList >> const&, WebContentsAdapterClient::FileChooserMode)' >> >> /builddir/build/BUILD/qt5-qtwebengine/lib/libQt0WebEngine.so: undefined >> reference to `WebContentsAdapter::navigationEntryCount()' >> >> /builddir/build/BUILD/qt5-qtwebengine/lib/libQt0WebEngine.so: undefined >> reference to `JavaScriptDialogController::staticMetaObject' >> >> /builddir/build/BUILD/qt5-qtwebengine/lib/libQt0WebEngine.so: undefined >> reference to `WebContentsAdapter::pageTitle() const' >> >> /builddir/build/BUILD/qt5-qtwebengine/lib/libQt0WebEngine.so: undefined >> reference to `WebContentsAdapter::setContent(QByteArray const&, QString >> const&, QUrl const&)' >> >> /builddir/build/BUILD/qt5-qtwebengine/lib/libQt0WebEngine.so: undefined >> reference to `WebContentsAdapter::currentNavigationEntryIndex()' >> >> /builddir/build/BUILD/qt5-qtwebengine/lib/libQt0WebEngine.so: undefined >> reference to `WebContentsAdapter::runJavaScript(QString const&)' >> >> /builddir/build/BUILD/qt5-qtwebengine/lib/libQt0WebEngine.so: undefined >> reference to `WebEngineError::toQtErrorDomain(int)' >> >> /builddir/build/BUILD/qt5-qtwebengine/lib/libQt0WebEngine.so: undefined >> reference to `WebContentsAdapter::getNavigationEntryUrl(int)' >> >> /builddir/build/BUILD/qt5-qtwebengine/lib/libQt0WebEngine.so: undefined >> reference to `WebContentsAdapter::~WebContentsAdapter()' >> >> /builddir/build/BUILD/qt5-qtwebengine/lib/libQt0WebEngine.so: undefined >> reference to `WebContentsAdapter::Makefile:100: recipe for target >> 'quicknanobrowser' failed >> >> make[2]: Leaving directory >> '/builddir/build/BUILD/qt5-qtwebengine/examples/webengine/quicknanobrowser' >> >> >> >> /builddir/build/BUILD/qt5-qtwebengine/lib/libQt0WebEngine.so: undefined >> reference to `JavaScriptDialogController::type() const' >> >> >> etc. >> >> >> Are there any hints beyond the ones in the readme file for what I might >> be missing or what build process I'm doing wrong? I'd love to get this >> building in both environments but thus far I have not been able to do so. >> >> >> --Greg >> >> _______________________________________________ >> QtWebEngine mailing list >> QtWebEngine at qt-project.org >> http://lists.qt-project.org/mailman/listinfo/qtwebengine >> >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: From greg.hellings at gmail.com Thu Jun 26 18:03:11 2014 From: greg.hellings at gmail.com (Greg Hellings) Date: Thu, 26 Jun 2014 11:03:11 -0500 Subject: [Qtwebengine] Building woes In-Reply-To: References: Message-ID: On Thu, Jun 26, 2014 at 8:32 AM, Greg Hellings wrote: > Pierre, > > Thanks for the pointers. Trying an in-tree build fails at a different > point in the build. Both points are very deep into the process. In the > pasted block below you'll see the plugin.cpp file is looking for > qtwebengineversion.h which is definitely present in the build tree. > However, it seems the build for plugin.cpp is adding the search directory > lib/QtWebEngine.framework/Headers/0.9.0 and > lib/QtWebEngine.framework/Headers/0.9.0/QtWebEngine while the file is > actually located in lib/QtWebEngine.framework/Versions/0/Headers/. > > WRT the Fedora build, I'm not familiar with gold vs bfd, but it looks like > the system default is to use ld.bfd. I'm attempting now to kick off a build > with ld.gold as the option instead. > I've tried this, but now I get the error message "/usr/bin/ld.gold: -Wl,-z,now: unknown option" during the final link step. I'm not sure if I'm specifying the option correctly. I've simply appended QMAKE_LINK=/usr/bin/ld.gold to the tail of both qmake and make invocations. --Greg > > --Greg > > > > cd webengine/plugin/ && ( test -e Makefile || > /Users/greg/Qt/5.3/clang_64/bin/qmake > /Users/greg/Builds/qtwebengine/src/webengine/plugin/plugin.pro > CONFIG-=release -o Makefile ) && > /Applications/Xcode.app/Contents/Developer/usr/bin/make -f Makefile > > /Applications/Xcode.app/Contents/Developer/usr/bin/make -f Makefile.Debug > all > > /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ > -c -pipe -g -isysroot > /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk > -mmacosx-version-min=10.7 -fvisibility=hidden -fvisibility-inlines-hidden > -fno-exceptions -Wall -W -fPIC -DQT_NO_MTDEV -DQT_NO_LIBUDEV -DQT_NO_EVDEV > -DQT_NO_EXCEPTIONS -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_PLUGIN > -DQT_WEBENGINE_LIB -DQT_QUICK_LIB -DQT_QML_LIB -DQT_NETWORK_LIB > -DQT_GUI_LIB -DQT_CORE_LIB -DQT_WEBENGINE_LIB -DQT_QUICK_LIB -DQT_QML_LIB > -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB > -I/Users/greg/Qt/5.3/clang_64/mkspecs/macx-clang -I. -I../../core > -I../../webengine -I../api > -I/Users/greg/Qt/5.3/clang_64/lib/QtQuick.framework/Versions/5/Headers > -I/Users/greg/Qt/5.3/clang_64/lib/QtQml.framework/Versions/5/Headers > -I/Users/greg/Qt/5.3/clang_64/lib/QtNetwork.framework/Versions/5/Headers > -I/Users/greg/Qt/5.3/clang_64/lib/QtGui.framework/Versions/5/Headers > -I/Users/greg/Qt/5.3/clang_64/lib/QtCore.framework/Versions/5/Headers > -I/Users/greg/Builds/qtwebengine/lib/QtWebEngine.framework/Headers/0.9.0 > -I/Users/greg/Builds/qtwebengine/lib/QtWebEngine.framework/Headers/0.9.0/QtWebEngine > -I/Users/greg/Qt/5.3/clang_64/lib/QtQuick.framework/Versions/5/Headers/5.3.1 > -I/Users/greg/Qt/5.3/clang_64/lib/QtQuick.framework/Versions/5/Headers/5.3.1/QtQuick > -I/Users/greg/Qt/5.3/clang_64/lib/QtQml.framework/Versions/5/Headers/5.3.1 > -I/Users/greg/Qt/5.3/clang_64/lib/QtQml.framework/Versions/5/Headers/5.3.1/QtQml > -I/Users/greg/Qt/5.3/clang_64/lib/QtGui.framework/Versions/5/Headers/5.3.1 > -I/Users/greg/Qt/5.3/clang_64/lib/QtGui.framework/Versions/5/Headers/5.3.1/QtGui > -I/Users/greg/Qt/5.3/clang_64/lib/QtCore.framework/Versions/5/Headers/5.3.1 > -I/Users/greg/Qt/5.3/clang_64/lib/QtCore.framework/Versions/5/Headers/5.3.1/QtCore > -I.moc/debug > -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk/System/Library/Frameworks/OpenGL.framework/Versions/A/Headers > -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk/System/Library/Frameworks/AGL.framework/Headers > -F/Users/greg/Builds/qtwebengine/lib -F/Users/greg/Qt/5.3/clang_64/lib -o > .obj/debug/plugin.o plugin.cpp > > *plugin.cpp:44:10: **fatal error: **'qtwebengineversion.h' file not found* > > #include "qtwebengineversion.h" > > * ^* > > 1 error generated. > > make[3]: *** [.obj/debug/plugin.o] Error 1 > > make[2]: *** [debug-all] Error 2 > > make[1]: *** [sub-webengine-plugin-make_first] Error 2 > > make: *** [sub-src-make_first] Error 2 > > *greg at gregorys-mini*:*~/Builds/qtwebengine* *(master)*$ find . -name > qtwebengineversion.h > > ./include/QtWebEngine/qtwebengineversion.h > > ./lib/QtWebEngine.framework/Versions/0/Headers/qtwebengineversion.h > > > On Thu, Jun 26, 2014 at 5:17 AM, Pierre Rossi > wrote: > >> Hi Greg, >> >> For OS X (assuming it's mavericks), have you tried an "in-source" build >> (it'll actually create build subdirectories in src/core for the core >> library)? Shadow build support is not something we've focused on so far. >> >> Not sure what's going on on Fedora, but one thing you could check is >> whether it's using plain old ld or gold. I strongly recommend the latter as >> I've ran into the weirdest linker bugs with ld.bfd. >> >> Let us know how things go. >> >> Cheers, >> -- >> Pierre >> >> >> On Wed, Jun 25, 2014 at 9:17 PM, Greg Hellings >> wrote: >> >>> I've been trying to compile QtWebEngine the past few weeks on both >>> Fedora Rawhide and OS X. I'm getting different failures in each >>> environment, compiling against Qt 5.3.1 in both places. In OS X I get the >>> message >>> >>> qtwebengine/src/webengine/api/qquickwebengineview.cpp:661:10: fatal >>> error: 'moc_qquickwebengineview_p.cpp' file not found >>> >>> >>> This message has persisted for the entirety of the two weeks, so I can >>> only assume that I must be the only person trying to build on OS X. I >>> configure that build with a call to >>> >>> >>> ~/Qt/5.3/clang_64/bin/qmake -r CONFIG-=release ../qtwebengine/ >>> qtwebengine.pro >>> >>> >>> In Fedora Rawhide I have to invoke qmake with an explicit STRIP=`which >>> strip` call. The full call is >>> >>> /usr/lib64/qt5/bin/qmake -r CONFIG-=release STRIP=/usr/bin/strip >>> >>> The errors I see in this environment are akin to the following: >>> >>> /usr/bin/ld: warning: libQt0WebEngineCore.so.0, needed by >>> /builddir/build/BUILD/qt5-qtwebengine/lib/libQt0WebEngine.so, not found >>> (try using -rpath or >>> >>> -rpath-link) >>> >>> /builddir/build/BUILD/qt5-qtwebengine/lib/libQt0WebEngine.so: undefined >>> reference to `WebContentsAdapter::stop()' >>> >>> /builddir/build/BUILD/qt5-qtwebengine/lib/libQt0WebEngine.so: undefined >>> reference to `WebContentsAdapter::navigateToIndex(int)' >>> >>> /builddir/build/BUILD/qt5-qtwebengine/lib/libQt0WebEngine.so: undefined >>> reference to `JavaScriptDialogController::dialogCloseRequested()' >>> >>> /builddir/build/BUILD/qt5-qtwebengine/lib/libQt0WebEngine.so: undefined >>> reference to `WebContentsAdapter::getNavigationEntryTitle(int)' >>> >>> /builddir/build/BUILD/qt5-qtwebengine/lib/libQt0WebEngine.so: undefined >>> reference to `WebContentsAdapter::wasHidden()' >>> >>> /builddir/build/BUILD/qt5-qtwebengine/lib/libQt0WebEngine.so: undefined >>> reference to `WebContentsAdapter::WebContentsAdapter(content::WebContents*)' >>> >>> /builddir/build/BUILD/qt5-qtwebengine/lib/libQt0WebEngine.so: undefined >>> reference to `WebEngineError::UserAbortedError' >>> >>> /builddir/build/BUILD/qt5-qtwebengine/lib/libQt0WebEngine.so: undefined >>> reference to `WebContentsAdapter::grantMediaAccessPermission(QUrl const&, >>> QFlags)' >>> >>> /builddir/build/BUILD/qt5-qtwebengine/lib/libQt0WebEngine.so: undefined >>> reference to `WebContentsAdapter::isLoading() const' >>> >>> /builddir/build/BUILD/qt5-qtwebengine/lib/libQt0WebEngine.so: undefined >>> reference to `WebContentsAdapter::initialize(WebContentsAdapterClient*)' >>> >>> /builddir/build/BUILD/qt5-qtwebengine/lib/libQt0WebEngine.so: undefined >>> reference to `WebContentsAdapter::wasShown()' >>> >>> /builddir/build/BUILD/qt5-qtwebengine/lib/libQt0WebEngine.so: undefined >>> reference to `WebContentsAdapter::dpiScaleChanged()' >>> >>> /builddir/build/BUILD/qt5-qtwebengine/lib/libQt0WebEngine.so: undefined >>> reference to `JavaScriptDialogController::defaultPrompt() const' >>> >>> /builddir/build/BUILD/qt5-qtwebengine/lib/libQt0WebEngine.so: undefined >>> reference to `WebContentsAdapter::enableInspector(bool)' >>> >>> /builddir/build/BUILD/qt5-qtwebengine/lib/libQt0WebEngine.so: undefined >>> reference to `WebContentsAdapter::navigateToOffset(int)' >>> >>> /builddir/build/BUILD/qt5-qtwebengine/lib/libQt0WebEngine.so: undefined >>> reference to `WebContentsAdapter::activeUrl() const' >>> >>> /builddir/build/BUILD/qt5-qtwebengine/lib/libQt0WebEngine.so: undefined >>> reference to `WebContentsAdapter::load(QUrl const&)' >>> >>> /builddir/build/BUILD/qt5-qtwebengine/lib/libQt0WebEngine.so: undefined >>> reference to `WebContentsAdapter::canGoBack() const' >>> >>> /builddir/build/BUILD/qt5-qtwebengine/lib/libQt0WebEngine.so: undefined >>> reference to `JavaScriptDialogController::title() const' >>> >>> /builddir/build/BUILD/qt5-qtwebengine/lib/libQt0WebEngine.so: undefined >>> reference to `JavaScriptDialogController::message() const' >>> >>> /builddir/build/BUILD/qt5-qtwebengine/lib/libQt0WebEngine.so: undefined >>> reference to `WebContentsAdapter::canGoForward() const' >>> >>> /builddir/build/BUILD/qt5-qtwebengine/lib/libQt0WebEngine.so: undefined >>> reference to `WebContentsAdapter::reload()' >>> >>> /builddir/build/BUILD/qt5-qtwebengine/lib/libQt0WebEngine.so: undefined >>> reference to `WebContentsAdapter::filesSelectedInChooser(QStringList >>> const&, WebContentsAdapterClient::FileChooserMode)' >>> >>> /builddir/build/BUILD/qt5-qtwebengine/lib/libQt0WebEngine.so: undefined >>> reference to `WebContentsAdapter::navigationEntryCount()' >>> >>> /builddir/build/BUILD/qt5-qtwebengine/lib/libQt0WebEngine.so: undefined >>> reference to `JavaScriptDialogController::staticMetaObject' >>> >>> /builddir/build/BUILD/qt5-qtwebengine/lib/libQt0WebEngine.so: undefined >>> reference to `WebContentsAdapter::pageTitle() const' >>> >>> /builddir/build/BUILD/qt5-qtwebengine/lib/libQt0WebEngine.so: undefined >>> reference to `WebContentsAdapter::setContent(QByteArray const&, QString >>> const&, QUrl const&)' >>> >>> /builddir/build/BUILD/qt5-qtwebengine/lib/libQt0WebEngine.so: undefined >>> reference to `WebContentsAdapter::currentNavigationEntryIndex()' >>> >>> /builddir/build/BUILD/qt5-qtwebengine/lib/libQt0WebEngine.so: undefined >>> reference to `WebContentsAdapter::runJavaScript(QString const&)' >>> >>> /builddir/build/BUILD/qt5-qtwebengine/lib/libQt0WebEngine.so: undefined >>> reference to `WebEngineError::toQtErrorDomain(int)' >>> >>> /builddir/build/BUILD/qt5-qtwebengine/lib/libQt0WebEngine.so: undefined >>> reference to `WebContentsAdapter::getNavigationEntryUrl(int)' >>> >>> /builddir/build/BUILD/qt5-qtwebengine/lib/libQt0WebEngine.so: undefined >>> reference to `WebContentsAdapter::~WebContentsAdapter()' >>> >>> /builddir/build/BUILD/qt5-qtwebengine/lib/libQt0WebEngine.so: undefined >>> reference to `WebContentsAdapter::Makefile:100: recipe for target >>> 'quicknanobrowser' failed >>> >>> make[2]: Leaving directory >>> '/builddir/build/BUILD/qt5-qtwebengine/examples/webengine/quicknanobrowser' >>> >>> >>> >>> /builddir/build/BUILD/qt5-qtwebengine/lib/libQt0WebEngine.so: undefined >>> reference to `JavaScriptDialogController::type() const' >>> >>> >>> etc. >>> >>> >>> Are there any hints beyond the ones in the readme file for what I might >>> be missing or what build process I'm doing wrong? I'd love to get this >>> building in both environments but thus far I have not been able to do so. >>> >>> >>> --Greg >>> >>> _______________________________________________ >>> QtWebEngine mailing list >>> QtWebEngine at qt-project.org >>> http://lists.qt-project.org/mailman/listinfo/qtwebengine >>> >>> >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: