From d45d7ea294daa85249432572a6bdb4dece82d44c Mon Sep 17 00:00:00 2001 From: Joerg Bornemann Date: Thu, 30 Jun 2016 15:17:03 +0200 Subject: Add QtScript git submodule This adds QtScript as a git submodule to build the qbsscriptengine library. QtDeclarative support has been stripped out. We don't need that. Windows CE and Symbian platform support has been removed. JIT has been disabled, which improves resolve/rule execution by 8%. [ChangeLog] Bundled QtScript as a submodule. Task-number: QBS-913 Change-Id: Idfbaf06eb2cef3985e5eae955f231686499f7754 Reviewed-by: Christian Kandeler Reviewed-by: Oswald Buddenhagen --- qbs.pro | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'qbs.pro') diff --git a/qbs.pro b/qbs.pro index eeafc9823..8b4fe3f9d 100644 --- a/qbs.pro +++ b/qbs.pro @@ -1,4 +1,5 @@ requires(!cross_compile) +include(src/lib/bundledlibs.pri) defineTest(minQtVersion) { maj = $$1 @@ -40,6 +41,11 @@ CONFIG(shared, static|shared): src_plugins.depends = corelib tests.depends = static_res static_res.file = static-res.pro static_res.depends = src_app src_libexec src_plugins static.pro +qbs_use_bundled_qtscript { + scriptenginelib.file = src/lib/scriptengine/scriptengine.pro + corelib.depends = scriptenginelib + SUBDIRS += scriptenginelib +} SUBDIRS += \ corelib\ setupqtprofilelib\ -- cgit v1.2.3