From e394e16ace6838768180f53ad6f32ecd4ac188fb Mon Sep 17 00:00:00 2001 From: Andy Shaw Date: Sat, 14 Apr 2012 01:10:16 +0200 Subject: Fix symbol visibility warnings when building uic3 When building statically we need to hide the symbols that would otherwise be exported so we add hide_symbols to the CONFIG Task-number: QTBUG-23035 Change-Id: I29245a6650fa81186085484d7b2b9150b89a1729 Reviewed-by: Friedemann Kleint --- src/tools/uic3/uic3.pro | 1 + 1 file changed, 1 insertion(+) diff --git a/src/tools/uic3/uic3.pro b/src/tools/uic3/uic3.pro index 54f7dc8..7b83489 100644 --- a/src/tools/uic3/uic3.pro +++ b/src/tools/uic3/uic3.pro @@ -2,6 +2,7 @@ TEMPLATE = app CONFIG += console qt_no_compat_warning win32-msvc*:CONFIG += no_batch # otherwise the wrong main.cpp may be picked up CONFIG -= app_bundle +contains(QT_CONFIG, reduce_exports):CONFIG += hide_symbols build_all:!build_pass { CONFIG -= build_all CONFIG += release -- cgit v0.12