From 8b42f12a203b3156b04988e7e5988ef0cae74b85 Mon Sep 17 00:00:00 2001 From: Roman Telezhynskyi Date: Fri, 27 Jan 2023 22:16:31 +0200 Subject: [PATCH] Setup visibility level for exported symbols. --- qbs/modules/buildconfig/buildconfig.qbs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/qbs/modules/buildconfig/buildconfig.qbs b/qbs/modules/buildconfig/buildconfig.qbs index 0c3f9b14c..e2657143b 100644 --- a/qbs/modules/buildconfig/buildconfig.qbs +++ b/qbs/modules/buildconfig/buildconfig.qbs @@ -125,6 +125,8 @@ Module { return defines; } + cpp.visibility: "minimal" + Properties { condition: Qt.core.versionMajor >= 5 && Qt.core.versionMinor < 12 cpp.cxxLanguageVersion: "c++11"