- 29 Oct, 2014 - 1 commit
-
-
Pierre Rossi authored
QtWebEngine::initialize happens after QGuiApplication instantiation, so it is too late to simply set the application attribute. In that scenario, we don't want to override the shared context and risk a double free when both QGuiApplication and our cleanup handler try to delete it. Change-Id: Id52884abbb0c2380208876d9c00e8ddbfbc21eda Reviewed-by:
Jocelyn Turcotte <jocelyn.turcotte@digia.com> Reviewed-by:
Andras Becsi <andras.becsi@digia.com>
-
- 21 Aug, 2014 - 1 commit
-
-
Zeno Albisser authored
Change-Id: Idbe0eafb51d77cc00e3a93179b81770724d5bfaa Reviewed-by:
Jocelyn Turcotte <jocelyn.turcotte@digia.com> Reviewed-by:
Tuukka Turunen <tuukka.turunen@digia.com> Reviewed-by:
Pierre Rossi <pierre.rossi@gmail.com>
-
- 19 Aug, 2014 - 1 commit
-
-
Michael Brüning authored
This is done on initialization of the Web Engine as this should happen before any contexts and Direct 3D devices are created. It makes D3D9 create a device with the D3DCREATE_MULTITHREADED flag and makes D3D11 enable multithread protection using the ID3D10Multithread interface. Depends on the appropriate counterpart in QtANGLE. Change-Id: I8204de2f8ebe993273ff9f11af55caacb1290e4e Reviewed-by:
Allan Sandfeld Jensen <allan.jensen@digia.com>
-
- 06 Aug, 2014 - 1 commit
-
-
Jocelyn Turcotte authored
Manually import qt_(set_)gl_global_share_context from QtGui instead. The binary compatibility of those symbols should be maintained in QtGui, allowing us to avoid depending on private API. Change-Id: I1f954ec10a793c3195d3aec01409dde1bc767d64 Reviewed-by:
Andras Becsi <andras.becsi@digia.com>
-
- 04 Aug, 2014 - 1 commit
-
-
Pierre Rossi authored
and make it a namespace Change-Id: I15c1af8c7d0d8ab213cdf7945109263fe461d2ac Reviewed-by:
Andras Becsi <andras.becsi@digia.com>
-
- 01 Aug, 2014 - 1 commit
-
-
Jocelyn Turcotte authored
We actually already depend on dev (5.4) in other areas. Change-Id: Iab297a51ab06209a96f11f97c74463d38203eda8 Reviewed-by:
Andras Becsi <andras.becsi@digia.com>
-
- 08 Apr, 2014 - 1 commit
-
-
Jocelyn Turcotte authored
This means that widgets application now need to setup the GL context sharing as well. QWebEngineWidgets::initialize() must be called, which has the same effect as QWebEngine::initialize(). The QtWebEngineWidgets now depends on the QtWebEngine module to make this happen. Since QOpenGLWidget is only available in Qt 5.3, this patch also disables the webenginewidgets module completely when building using Qt 5.2. Change-Id: I0e99a779d1eb080f2ccf5a338ff0763ad64e6eba Reviewed-by:
Simon Hausmann <simon.hausmann@digia.com>
-
- 31 Mar, 2014 - 1 commit
-
-
Simon Hausmann authored
We now require the user to use QWebEngine::initialize() in main (preferably) and print out an error message if this wasn't set up accordingly. This limits the use of private scene graph API to inside QWebEngine and offers public API for users of the API. Change-Id: I787c176a85ab7784dbc8787d9876960b4872959e Reviewed-by:
Jocelyn Turcotte <jocelyn.turcotte@digia.com>
-
- 28 Nov, 2013 - 1 commit
-
-
Jocelyn Turcotte authored
This only move files without adjusting any paths. This moves: - lib/quick -> src/webengine/api (API files) lib/quick -> src/webengine (other files) This contains the main QtWebEngine module library since <ec7b2ee7 >. - lib/widgets -> src/webenginewidgets Also rename this directory to match its module name and rename Api to api. - lib -> src/core - process -> src/process - resources -> src/core/resources - tools/* -> tools/scripts/ The build directory is spread as follow: - build/build.pro -> src/core/gyp_run.pro - build/qmake_extras/* -> src/core/ (for the host and target .pro files) - build/qmake -> tools/qmake - Build related scripts -> tools/buildscripts Change-Id: I0cded1de772c99c0c1da6536c9afea353236b4a1 Reviewed-by:
Zeno Albisser <zeno.albisser@digia.com> Reviewed-by:
Pierre Rossi <pierre.rossi@gmail.com> Reviewed-by:
Andras Becsi <andras.becsi@digia.com>
-
- 18 Nov, 2013 - 1 commit
-
-
Jocelyn Turcotte authored
Make the WebEngine QtQuick plubin library a library only that fetches the API privatly from the official module. This will allow an experimental plugin library to also have access to the API classes, which it currently can't since the plugins aren't deployed the same way as module to <prefix>/lib. The module currently only export classes privately but the plan is to make this library the official linking point of entry for applications along with the Qt5WebEngineWidgets module. The WebEngineCore library could eventyally be merged into this module library if we can get gyp to play well with qmake. Change-Id: I5edb60b412e213b59f791a7b8df9f28c295502de Reviewed-by:
Andras Becsi <andras.becsi@digia.com>
-
- 17 Sep, 2013 - 1 commit
-
-
Michael Brüning authored
This should enable namespaced builds of Qt and QtWebEngine. Change-Id: I4c9d506d864b42a346026b980dcf3777b9680957 Reviewed-by:
Jocelyn Turcotte <jocelyn.turcotte@digia.com>
-
- 13 Aug, 2013 - 1 commit
-
-
Jocelyn Turcotte authored
Since the macro is used in public headers, it should also be declared in one of the webenginewidgets module's public headers. Change-Id: I5cd56196e95c78fac2ba8df076f2cd683b01a5ac Reviewed-by:
Zeno Albisser <zeno.albisser@digia.com>
-
- 31 Jul, 2013 - 1 commit
-
-
Pierre Rossi authored
This is the first step to making proper Qt Modules out of QtWebEngine. The Widgets integration becomes a proper C++ Qt Module while we make the QtQuick side a QML plugin for now (could probably be promoted if the need arises). Code-wise, this means the introduction of a WebContentsAdapterClient interface that is subclassed by the private implementation of our API classes for delegation of things that are UI specific. Functionality from WebContents and the like is exposed via the WebContentsAdapter. Change-Id: I4ca3395b9fe8502a24e36002cfd5af44067bb6e8 Reviewed-by:
Jocelyn Turcotte <jocelyn.turcotte@digia.com>
-
- 27 Jun, 2013 - 1 commit
-
-
Andras Becsi authored
Also remove some unneeded includes. Change-Id: I335bfb1d8c74b2e44d7bf576c3b76f6c32af35c3 Reviewed-by:
Zeno Albisser <zeno.albisser@digia.com>
-
- 25 Jun, 2013 - 1 commit
-
-
Andras Becsi authored
Move common data from WebContentsView private classes to the common base class WebContentsViewQtClient. Change-Id: I77484691a24d14403c8a6e434d6fb33ac557637e Reviewed-by:
Zeno Albisser <zeno.albisser@digia.com>
-
- 19 Jun, 2013 - 4 commits
-
-
Jocelyn Turcotte authored
-
Jocelyn Turcotte authored
Fix the gyp generator to allow including the moc file directly in qwebcontentsview.cpp to be able to use Q_PRIVATE_SLOT instead of having the private object deriving from QObject. This also removes the use of MOCABLE_SOURCES whose entries were added to 'sources' without moc being run on them first.
-
Jocelyn Turcotte authored
- Rename NativeViewQt to RenderWidgetHostViewQtDelegate to keep the context obvious. - Use an interface to handle the parenting instead of the NativeViewContainerQt mechanism that was needed with the Shell.
-
Jocelyn Turcotte authored
-
- 18 Jun, 2013 - 1 commit
-
-
Zeno Albisser authored
-
- 10 Jun, 2013 - 1 commit
-
-
Jocelyn Turcotte authored
-
- 06 Jun, 2013 - 1 commit
-
-
Jocelyn Turcotte authored
This layers things properly to be able to implement the UI in the example application instead of directly in shell_qt.cpp. This is still using global variables to allow the Shell platform code to do callbacks to the API classes. This should go away once we properly implemented a WebContentsDelegate.
-
- 31 May, 2013 - 1 commit
-
-
Simon Hausmann authored
-
- 16 May, 2013 - 1 commit
-
-
Pierre Rossi authored
-
- 15 May, 2013 - 1 commit
-
-
Pierre Rossi authored
-