From c2833b1a009bc7c382b30d94109b9b7a25a404a6 Mon Sep 17 00:00:00 2001 From: Christian Kandeler Date: Thu, 23 Feb 2017 16:42:37 +0100 Subject: Introduce module providers If a dependency is not found, we now search for a matching module provider that can generate one for us. We also provide a generic fall-back provider which uses pkg-config to locate the dependency (but could be extended to incorporate other methods in the future). This is the most important part of this change for practical purposes, as it makes hundreds of popular libraries available for use in qbs projects without users having to write any boilerplate code. In a future patch, a module provider could also be used to implement the functionality of the qtprofilesetup library, relieving users of the need to create a profile for building Qt applications. [ChangeLog] The Depends item now falls back to pkg-config to locate dependencies whose names do not correspond to a qbs module. Fixes: QBS-1107 Change-Id: Ifd4f05c237cf58cd9fe707c3da648d3dbb33e82b Reviewed-by: Leena Miettinen Reviewed-by: Joerg Bornemann --- src/lib/corelib/corelib.qbs | 1 + 1 file changed, 1 insertion(+) (limited to 'src/lib/corelib/corelib.qbs') diff --git a/src/lib/corelib/corelib.qbs b/src/lib/corelib/corelib.qbs index c947cb484..db00a7005 100644 --- a/src/lib/corelib/corelib.qbs +++ b/src/lib/corelib/corelib.qbs @@ -299,6 +299,7 @@ QbsLibrary { "moduleloader.h", "modulemerger.cpp", "modulemerger.h", + "moduleproviderinfo.h", "preparescriptobserver.cpp", "preparescriptobserver.h", "projectresolver.cpp", -- cgit v1.2.3