From d4d2e4b39d1162a45f372a02cce662754424d8cc Mon Sep 17 00:00:00 2001 From: Miikka Heikkinen Date: Tue, 11 Dec 2012 16:02:45 +0200 Subject: Automatically import plugins in all applications with static Qt Since all gui applications already need some QPA plugin added, we might as well add the default plugin and generate the code to import the plugins automatically. User can opt out from the automation by removing relevant items from CONFIG variable: link_qpa_plugin or import_plugins. Task-number: QTBUG-28131 Change-Id: Ic171c363464c099143374d3e39bcc28f6edf73d2 Reviewed-by: Friedemann Kleint Reviewed-by: Oswald Buddenhagen --- mkspecs/features/default_pre.prf | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'mkspecs/features/default_pre.prf') diff --git a/mkspecs/features/default_pre.prf b/mkspecs/features/default_pre.prf index 9268747978..b6019047d1 100644 --- a/mkspecs/features/default_pre.prf +++ b/mkspecs/features/default_pre.prf @@ -1,2 +1,5 @@ load(exclusive_builds) -CONFIG = lex yacc warn_on debug exceptions testcase_targets depend_includepath $$CONFIG +CONFIG = \ + lex yacc warn_on debug exceptions depend_includepath \ + testcase_targets import_plugins import_qpa_plugin \ + $$CONFIG -- cgit v1.2.3