From c5e9d7e504172707f7705d03ae27006c45eb5eac Mon Sep 17 00:00:00 2001 From: Ulf Hermann Date: Wed, 28 Aug 2019 16:09:25 +0200 Subject: [PATCH] Generate metatypes.json for QtCore, QtGui, and QtWidgets These libraries contain types which are exposed to QML from qtdeclarative. Change-Id: Ie0edaef94fcb40074b6f6b2ea1a1c3a77ed3e9a9 Reviewed-by: Simon Hausmann --- src/corelib/corelib.pro | 2 +- src/gui/gui.pro | 2 +- src/widgets/widgets.pro | 2 ++ 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/corelib/corelib.pro b/src/corelib/corelib.pro index 452d2db0fd..b4f301878d 100644 --- a/src/corelib/corelib.pro +++ b/src/corelib/corelib.pro @@ -1,6 +1,6 @@ TARGET = QtCore QT = -CONFIG += exceptions +CONFIG += exceptions metatypes install_metatypes MODULE = core # not corelib, as per project file MODULE_CONFIG = moc resources diff --git a/src/gui/gui.pro b/src/gui/gui.pro index 45c8c05162..decfb364cf 100644 --- a/src/gui/gui.pro +++ b/src/gui/gui.pro @@ -35,7 +35,7 @@ testcocoon { osx: LIBS_PRIVATE += -framework AppKit darwin: LIBS_PRIVATE += -framework CoreGraphics -CONFIG += simd optimize_full +CONFIG += simd optimize_full metatypes install_metatypes include(accessible/accessible.pri) include(kernel/kernel.pri) diff --git a/src/widgets/widgets.pro b/src/widgets/widgets.pro index 6f807e1696..2aa56ded93 100644 --- a/src/widgets/widgets.pro +++ b/src/widgets/widgets.pro @@ -9,6 +9,8 @@ msvc:equals(QT_ARCH, i386): QMAKE_LFLAGS += /BASE:0x65000000 TRACEPOINT_PROVIDER = $$PWD/qtwidgets.tracepoints CONFIG += qt_tracepoints +CONFIG += metatypes install_metatypes + QMAKE_DOCS = $$PWD/doc/qtwidgets.qdocconf #platforms