Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Deploy QML plugin type information to correct directory.
This adds the plugins.qmltypes file to the list of files that are
deployed to the qml/QtWebKit directory.

This is needed e.g. for auto-completion in Creator.

Patch co-authored with Fawzi Mohamed.

Task-number: QTBUG-39013
Change-Id: Icce9a168a0558652b810ad16c89895e24a6fc6ef
Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
  • Loading branch information
Slow3000 authored and The Qt Project committed May 16, 2014
1 parent 18ce42d commit a7ef31b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Source/WebKit/qt/declarative/public.pri
Expand Up @@ -48,7 +48,7 @@ isEmpty(importPath): importPath = $$[QT_INSTALL_IMPORTS]
target.path = $${importPath}/$${TARGET.module_name}


qmldir.files += $$PWD/qmldir
qmldir.files += $$PWD/qmldir $$PWD/plugins.qmltypes
qmldir.path += $${importPath}/$${TARGET.module_name}

INSTALLS += target qmldir
2 changes: 2 additions & 0 deletions Source/WebKit/qt/declarative/qmldir
@@ -1,3 +1,5 @@
module QtWebKit
plugin qmlwebkitplugin
classname WebKitQmlPlugin
typeinfo plugins.qmltypes

0 comments on commit a7ef31b

Please sign in to comment.