diff options
author | J-P Nurmi <jpnurmi@qt.io> | 2018-01-09 12:38:03 +0100 |
---|---|---|
committer | J-P Nurmi <jpnurmi@qt.io> | 2018-01-10 09:46:26 +0000 |
commit | e7d9df8d593534c5e25df1ecba7281ccacae7671 (patch) | |
tree | 6c85a90cea53233dbf9a5d08b7408fd2ef6c5848 /src/imports/templates/templates.pro | |
parent | 10b8f6af42a1cd80273d0a2d36e75b79078b5994 (diff) |
Palette: fix value type provider
The static value type provider instance must be moved from the plugin
(libqtquicktemplates2plugin.so) to the library (libQt5QuickTemplates2.so)
to keep it alive when qmlClearTypeRegistrations() is called and the
plugin is unloaded. This fixes the warning that was being thrown a lot
in tst_qquickmenubar on macOS:
QWARN : tst_qquickmenubar::Default::UnknownTestFunc() QQml_removeValueTypeProvider: was asked to remove provider 0x117dc97f8 but it was not found
Change-Id: I4448e497672c834786af0132b6ed5f03c3931773
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
Diffstat (limited to 'src/imports/templates/templates.pro')
-rw-r--r-- | src/imports/templates/templates.pro | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/imports/templates/templates.pro b/src/imports/templates/templates.pro index 4ff0a76e..9a95812b 100644 --- a/src/imports/templates/templates.pro +++ b/src/imports/templates/templates.pro @@ -10,11 +10,7 @@ DEFINES += QT_NO_CAST_TO_ASCII QT_NO_CAST_FROM_ASCII OTHER_FILES += \ qmldir -HEADERS += \ - $$PWD/qquicktemplates2valuetypeprovider_p.h - SOURCES += \ - $$PWD/qquicktemplates2valuetypeprovider.cpp \ $$PWD/qtquicktemplates2plugin.cpp CONFIG += no_cxx_module |