summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Hausmann <simon.hausmann@theqtcompany.com>2016-08-22 10:02:51 +0200
committerSimon Hausmann <simon.hausmann@qt.io>2016-08-22 08:27:40 +0000
commitbb43bca1664721401c3a2c25b585913bb5e8cb4f (patch)
tree68f33d37b4559ffe46b9c212e0f8bef2408d35b6
parentbad5ece677263b1fd025ae2305896abbcb0b94a6 (diff)
downloadqtwebkit-bb43bca1664721401c3a2c25b585913bb5e8cb4f.tar.gz
Prospective build fix for Windows
Similar to commit 770a0c91f3fadcdb132d9eb96d085aafbe1bacd0 in qtbase we may need a heuristic for the COPIES assignment for the qmldir file to protect against copying the same file twice to the same location on debug-and-release builds on Windows. Change-Id: I60d34d218856a70c242824b9253d229d2d33d48d Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>
-rw-r--r--Source/WebKit/qt/declarative/experimental/experimental.pri8
-rw-r--r--Source/WebKit/qt/declarative/public.pri8
2 files changed, 10 insertions, 6 deletions
diff --git a/Source/WebKit/qt/declarative/experimental/experimental.pri b/Source/WebKit/qt/declarative/experimental/experimental.pri
index c59f4569e..c4d7002e4 100644
--- a/Source/WebKit/qt/declarative/experimental/experimental.pri
+++ b/Source/WebKit/qt/declarative/experimental/experimental.pri
@@ -11,9 +11,11 @@ TARGET.module_name = QtWebKit/experimental
CONFIG += plugin
-cpqmldir.files = $${_PRO_FILE_PWD_}/qmldir
-cpqmldir.path = $${ROOT_BUILD_DIR}/imports/$${TARGET.module_name}
-COPIES += cpqmldir
+!debug_and_release|!build_all|CONFIG(release, debug|release) {
+ cpqmldir.files = $${_PRO_FILE_PWD_}/qmldir
+ cpqmldir.path = $${ROOT_BUILD_DIR}/imports/$${TARGET.module_name}
+ COPIES += cpqmldir
+}
contains(QT_CONFIG, reduce_exports):CONFIG += hide_symbols
diff --git a/Source/WebKit/qt/declarative/public.pri b/Source/WebKit/qt/declarative/public.pri
index bdef38045..3c7d07a05 100644
--- a/Source/WebKit/qt/declarative/public.pri
+++ b/Source/WebKit/qt/declarative/public.pri
@@ -11,9 +11,11 @@ TARGET.module_name = QtWebKit
CONFIG += plugin
-cpqmldir.files = $${_PRO_FILE_PWD_}/qmldir
-cpqmldir.path = $${ROOT_BUILD_DIR}/imports/$${TARGET.module_name}
-COPIES += cpqmldir
+!debug_and_release|!build_all|CONFIG(release, debug|release) {
+ cpqmldir.files = $${_PRO_FILE_PWD_}/qmldir
+ cpqmldir.path = $${ROOT_BUILD_DIR}/imports/$${TARGET.module_name}
+ COPIES += cpqmldir
+}
contains(QT_CONFIG, reduce_exports):CONFIG += hide_symbols