From d40aa9ac595ad85d667f7a303c5cca097665eb17 Mon Sep 17 00:00:00 2001 From: Alberto Mardegan Date: Mon, 11 Nov 2019 21:57:38 +0300 Subject: Set right dependencies for static qmake build When building statically, it's important that plugins are built before the application which is going to use them. Change-Id: I0e32650b96a2e18c82a884501e7b478f7febc528 Reviewed-by: Denis Shienkov Reviewed-by: Joerg Bornemann --- qbs.pro | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/qbs.pro b/qbs.pro index 3a716c7d3..b8faa2ab0 100644 --- a/qbs.pro +++ b/qbs.pro @@ -35,7 +35,10 @@ src_app.subdir = src/app src_app.depends = corelib src_libexec.subdir = src/libexec src_plugins.subdir = src/plugins -CONFIG(shared, static|shared): src_plugins.depends = corelib +CONFIG(shared, static|shared) { + src_plugins.depends = corelib + src_app.depends += src_plugins +} tests.depends = static_res static_res.file = static-res.pro static_res.depends = src_app src_libexec src_plugins static.pro -- cgit v1.2.3