From 5f80f66d3b5878bba021d4ac67e35388bfe84fdb Mon Sep 17 00:00:00 2001 From: Simon Hausmann Date: Thu, 15 Feb 2018 16:35:59 +0100 Subject: Compile QML files ahead of time in resources With the QtQuickCompiler compatibility in place in qtdeclarative, we can by default compile all qml files ahead of time, embed the cache files into resources and avoid shipping the original sources. This simplifies distribution and reduces the size of the overall package, ~1.6 MB for libqtvirtualkeyboardplugin.so on Linux x86-64. Change-Id: Ic3c20f43dfac6e601389b581033dcaf6f7015443 Reviewed-by: Mitch Curtis --- src/virtualkeyboard/virtualkeyboard.pro | 1 + 1 file changed, 1 insertion(+) diff --git a/src/virtualkeyboard/virtualkeyboard.pro b/src/virtualkeyboard/virtualkeyboard.pro index b8d0a8dc..dabd7da2 100644 --- a/src/virtualkeyboard/virtualkeyboard.pro +++ b/src/virtualkeyboard/virtualkeyboard.pro @@ -5,6 +5,7 @@ QMAKE_DOCS = $$PWD/doc/qtvirtualkeyboard.qdocconf include(doc/doc.pri) QT += qml quick gui gui-private core-private +CONFIG += qtquickcompiler win32 { CONFIG += no-pkg-config -- cgit v1.2.3