summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mkspecs/features/gn_generator.prf2
-rw-r--r--qtwebengine.pro2
-rw-r--r--src/buildtools/configure_target.pro2
3 files changed, 6 insertions, 0 deletions
diff --git a/mkspecs/features/gn_generator.prf b/mkspecs/features/gn_generator.prf
index 91c045cf..1f730acd 100644
--- a/mkspecs/features/gn_generator.prf
+++ b/mkspecs/features/gn_generator.prf
@@ -242,3 +242,5 @@ TEMPLATE = aux
SOURCES =
HEADERS =
RESOURCES =
+
+QMAKE_DISTCLEAN += $$GN_FILE
diff --git a/qtwebengine.pro b/qtwebengine.pro
index c8f3555e..5ae80ea8 100644
--- a/qtwebengine.pro
+++ b/qtwebengine.pro
@@ -13,6 +13,8 @@ isPlatformSupported() {
log(QtWebEngine will not be built.$${EOL})
}
+QMAKE_DISTCLEAN += .qmake.cache
+
OTHER_FILES = \
tools/buildscripts/* \
tools/scripts/* \
diff --git a/src/buildtools/configure_target.pro b/src/buildtools/configure_target.pro
index 6ec914dd..31aa283f 100644
--- a/src/buildtools/configure_target.pro
+++ b/src/buildtools/configure_target.pro
@@ -29,3 +29,5 @@ GN_FILE = $$OUT_PWD/../toolchain/BUILD.gn
!build_pass {
write_file($$GN_FILE, GN_CONTENTS, append)
}
+
+QMAKE_DISTCLEAN += $$GN_FILE