summaryrefslogtreecommitdiffstats
path: root/src/tools/uic3
diff options
context:
space:
mode:
authorAndy Shaw <andy.shaw@digia.com>2012-04-13 23:10:16 (GMT)
committerQt by Nokia <qt-info@nokia.com>2012-04-16 12:18:58 (GMT)
commite394e16ace6838768180f53ad6f32ecd4ac188fb (patch)
treecbac1b6a889a24602cc8437a7f8d567eb969c712 /src/tools/uic3
parenta7cc7185e54405039272c460fc432dab9f20e010 (diff)
downloadQt-e394e16ace6838768180f53ad6f32ecd4ac188fb.zip
Qt-e394e16ace6838768180f53ad6f32ecd4ac188fb.tar.gz
Qt-e394e16ace6838768180f53ad6f32ecd4ac188fb.tar.bz2
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>
Diffstat (limited to 'src/tools/uic3')
-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 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