summaryrefslogtreecommitdiffstats
path: root/examples/examples.pro
diff options
context:
space:
mode:
authorCorentin Jabot <corentinjabot@gmail.com>2015-12-16 10:18:30 +0100
committerCorentin Jabot <corentinjabot@gmail.com>2015-12-18 14:10:13 +0000
commit6a8d99ab00ace2084820547572dc05ac8ad2bc5a (patch)
tree11b8d09ed4ac18e82f74e9abd5470b773ae39b70 /examples/examples.pro
parent1cf9175e06db9c8c0388e21279b15b011fb593c2 (diff)
Never call QtWebEngine::initialize from DllMain
On windows, calling QtWebEngine::initialize from DllMain may crash, depending on what QPA backend is used. We make sure to only add a qAddPreRoutine initializing QtWebEngine if there is no instance of QCoreApplication. By doing so, we support linking to QtWebEngineWidget from a plugin, while still initializing the WebEngine automatically when linked to the main application binary. Change-Id: I4f72aa10103de29ce53fe3dd88457d093b705599 Task-number: QTBUG-46720 Reviewed-by: Jocelyn Turcotte (Woboq GmbH) <jturcotte@woboq.com>
Diffstat (limited to 'examples/examples.pro')
0 files changed, 0 insertions, 0 deletions