aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEike Ziller <eike.ziller@qt.io>2022-01-26 11:37:20 +0100
committerEike Ziller <eike.ziller@qt.io>2022-01-26 13:12:33 +0000
commitbd924c4589a4e325c0a3d7a9fcd63af118424049 (patch)
treec04f4d379c7e0c5fffc85b1dfa7a1f3a5b3e6247
parent44ae0468e8846d1642a75878454486cbc5d282ae (diff)
Remove qmake build files7.0
Change-Id: I09da5991f183e737da84ed3bc659970969ce1a89 Reviewed-by: hjk <hjk@qt.io>
-rw-r--r--qtc-super.pro8
-rw-r--r--submodules.pri62
2 files changed, 0 insertions, 70 deletions
diff --git a/qtc-super.pro b/qtc-super.pro
deleted file mode 100644
index 4fc45cb..0000000
--- a/qtc-super.pro
+++ /dev/null
@@ -1,8 +0,0 @@
-TEMPLATE = subdirs
-
-mkpath($$OUT_PWD/qtcreator) # so the qtcreator.pro is able to create a .qmake.cache there
-
-DISTFILES += .qmake.conf
-
-QTC_SKIP_MODULES =
-include(submodules.pri)
diff --git a/submodules.pri b/submodules.pri
deleted file mode 100644
index 86221a5..0000000
--- a/submodules.pri
+++ /dev/null
@@ -1,62 +0,0 @@
-# Extract submodules from .gitmodules.
-lines = $$cat(.gitmodules, lines)
-for (line, lines) {
- mod = $$replace(line, "^\\[submodule \"([^\"]+)\"\\]$", \\1)
- !equals(mod, $$line) {
- module = $$mod
- modules += $$mod
- } else {
- prop = $$replace(line, "^$$escape_expand(\\t)([^ =]+) *=.*$", \\1)
- !equals(prop, $$line) {
- val = $$replace(line, "^[^=]+= *", )
- module.$${module}.$$prop = $$split(val)
- } else {
- error("Malformed line in .gitmodules: $$line")
- }
- }
-}
-
-modules = $$sort_depends(modules, module., .depends .recommends)
-modules = $$reverse(modules)
-for (mod, modules) {
- deps = $$eval(module.$${mod}.depends)
- recs = $$eval(module.$${mod}.recommends)
- for (d, $$list($$deps $$recs)): \
- !contains(modules, $$d): \
- error("'$$mod' depends on undeclared '$$d'.")
-
- contains(QTC_SKIP_MODULES, $$mod): \
- next()
- !isEmpty(QTC_BUILD_MODULES):!contains(QTC_BUILD_MODULES, $$mod): \
- next()
-
- path = $$eval(module.$${mod}.path)
- project = $$eval(module.$${mod}.project)
- isEmpty(project) {
- !exists($$path/$$section(path, /, -1).pro): \
- next()
- $${mod}.subdir = $$path
- } else {
- !exists($$path/$$project): \
- next()
- $${mod}.file = $$path/$$project
- $${mod}.makefile = Makefile
- }
- $${mod}.target = sub-$$mod
-
- for (d, deps) {
- !contains(SUBDIRS, $$d) {
- $${mod}.target =
- break()
- }
- $${mod}.depends += $$d
- }
- isEmpty($${mod}.target): \
- next()
- for (d, recs) {
- contains(SUBDIRS, $$d): \
- $${mod}.depends += $$d
- }
-
- SUBDIRS += $$mod
-}