summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndy Shaw <andy.shaw@digia.com>2012-04-14 01:10:16 +0200
committerQt by Nokia <qt-info@nokia.com>2012-04-16 14:18:58 +0200
commite394e16ace6838768180f53ad6f32ecd4ac188fb (patch)
treecbac1b6a889a24602cc8437a7f8d567eb969c712
parenta7cc7185e54405039272c460fc432dab9f20e010 (diff)
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 <Friedemann.Kleint@nokia.com>
-rw-r--r--src/tools/uic3/uic3.pro1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/tools/uic3/uic3.pro b/src/tools/uic3/uic3.pro
index 54f7dc86b2..7b83489161 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