From 7184456f9a26a9c07a689c15b415ddf82eb000b7 Mon Sep 17 00:00:00 2001 From: Lars Knoll Date: Mon, 6 Feb 2012 23:36:17 +0100 Subject: Implement new plugin mechanism MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit moc can now embed meta information about the plugin inside the plugin itself. This information can be queried by Qt without having to load the plugin. Source compatibility with the old plugin loading mechanism is still there, but will be removed before Qt 5.0. Change-Id: I03e4196ddfed07d0fe94acca40d5de8a6ce7f920 Reviewed-by: João Abecasis Reviewed-by: Thiago Macieira --- src/tools/moc/generator.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/tools/moc/generator.h') diff --git a/src/tools/moc/generator.h b/src/tools/moc/generator.h index a3dc3d0041..6682e1a36a 100644 --- a/src/tools/moc/generator.h +++ b/src/tools/moc/generator.h @@ -63,6 +63,7 @@ private: void generateMetacall(); void generateStaticMetacall(); void generateSignal(FunctionDef *def, int index); + void generatePluginMetaData(); int strreg(const char *); // registers a string and returns its id QList strings; -- cgit v1.2.3