summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAllan Sandfeld Jensen <allan.jensen@digia.com>2014-03-11 12:18:31 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2014-03-11 12:26:09 +0100
commit3821c879bdc4b496df2894b6edb4c739be0ba978 (patch)
tree9f6d8cefa9a3e689f464cadfe210ed385ec6d641
parentae7af3b31222be80f6f66b4c2cbee707b90fe235 (diff)
downloadqtwebkit-3821c879bdc4b496df2894b6edb4c739be0ba978.tar.gz
Fix build with force_static_libs_as_shared
The tools and tests now only links directly against webkitwidgets, which means they not treated correctly force_static_libs_as_shared mode. Change-Id: If51c1af1fad3c070710742d2db797d2c073d6046 Reviewed-by: Michael Bruning <michael.bruning@digia.com>
-rw-r--r--Tools/qmake/mkspecs/features/default_post.prf2
1 files changed, 1 insertions, 1 deletions
diff --git a/Tools/qmake/mkspecs/features/default_post.prf b/Tools/qmake/mkspecs/features/default_post.prf
index 548005d01..dfcf73187 100644
--- a/Tools/qmake/mkspecs/features/default_post.prf
+++ b/Tools/qmake/mkspecs/features/default_post.prf
@@ -179,7 +179,7 @@ defineTest(needToLink) {
contains(libraries, $$TARGET): return(true)
# Or anything that uses QtWebKit in this special config
- contains(QT, webkit): return(true)
+ contains(QT, webkit)|contains(QT, webkitwidgets): return(true)
}
# Lastly, we allow apps (jsc) to link directly to the intermediate