• Gunnar Sletta's avatar
    Fix performance regression caused by SG signals in QQuickItem. · 0de680c8
    Gunnar Sletta authored
    
    For a testcase with thosands of items, I measured an increase
    in shutdown time from 800ms to 7500ms, all spent in disconnect().
    This is not acceptible, so we're choosing a different approach.
    
    If items implement a invalidateSceneGraph slot, this function
    will be called during shutdown. It should be made a proper virtual
    in Qt 6. This approach costs very little.
    
    Change-Id: I5970143cc0a0744955687e17586f0bb00c9afb26
    Reviewed-by: default avatarLars Knoll <lars.knoll@digia.com>
    0de680c8
src.pro 1.09 KiB
TEMPLATE = subdirs
isPlatformSupported() {
    process.depends = core
    webengine.depends = core
    webenginewidgets.depends = core webengine
    webengine_plugin.subdir = webengine/plugin
    webengine_plugin.target = sub-webengine-plugin
    webengine_plugin.depends = webengine
    webengine_experimental_plugin.subdir = webengine/plugin/experimental
    webengine_experimental_plugin.target = sub-webengine-experimental-plugin
    webengine_experimental_plugin.depends = webengine
    SUBDIRS += core \
               process \
               webengine \
               webengine_plugin \
               webengine_experimental_plugin
    # FIXME: We probably want a bit more control over config options to tweak what to build/ship or not.
    # Another example of where this could be necessary is to make it easy to build proprietery codecs support.
    !contains(WEBENGINE_CONFIG, no_ui_delegates): SUBDIRS += webengine/ui
    qtHaveModule(widgets) {
        SUBDIRS += webenginewidgets
} else {
    warning("QtWebEngine is not maintained for this platform/configuration and is therefore disabled.")