summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAllan Sandfeld Jensen <allan.jensen@digia.com>2013-12-04 12:16:49 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-12-17 17:07:51 +0100
commit2573bb654e49a0bfb00ced6446cacae3a41fd776 (patch)
tree4828a24f25df731bdfc4e5cb6405f1ec5c713e80
parent40c371c0deac92e46cdc3302d00ab304bcbca505 (diff)
Do not try to build QtWebKit as a static library
QtWebKit is too large to be linked as a static library on most platforms, since static libraries are typically limited to 4Gbyte even on 64bit tool chains (http://sourceware.org/bugzilla/show_bug.cgi?id=14625). The GNU ar thin archives do not have that limitation however. Task-number: QTBUG-32309 Change-Id: Ia290ecb6f54fc0a0482f17c6d9dc2ad0c810b3b3 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com> Reviewed-by: Jocelyn Turcotte <jocelyn.turcotte@digia.com>
-rw-r--r--Tools/qmake/mkspecs/features/configure.prf3
1 files changed, 3 insertions, 0 deletions
diff --git a/Tools/qmake/mkspecs/features/configure.prf b/Tools/qmake/mkspecs/features/configure.prf
index 6b1a1d015..f0ceba512 100644
--- a/Tools/qmake/mkspecs/features/configure.prf
+++ b/Tools/qmake/mkspecs/features/configure.prf
@@ -116,6 +116,9 @@ defineTest(finalizeConfigure) {
production_build:blackberry|qnx {
addReasonForSkippingBuild("Build not supported on BB10/QNX yet.")
}
+ !gnu_thin_archives:contains(QT_CONFIG, static) {
+ addReasonForSkippingBuild("QtWebKit cannot be built as a static library on this platform. Check your configuration in qtbase/config.summary.")
+ }
requiredPrograms = gperf python perl bison ruby flex
for(program, requiredPrograms): \
!programExistsInPath($$program): \