1
qt-all-modules = QtCore QtGui QtMultimedia QtNetwork QtOpenGL QtScript \
2
QtScriptTools QtSql QtSvg QtWebKit QtXml QtXmlPatterns QtDeclarative \
3
phonon QtUiTools QtHelp QtTest
6
qt-disabled-modules = $(filter-out $(QT_MODULES),$(1))
7
qt-enabled-modules = $(filter $(QT_MODULES),$(1))
10
qt-enabled-modules = $(1)
13
# hack to escape space
18
# generate a list of all modules to import. First substitute the spaces of
19
# foreach away, protecting the space in the statement with _, and than
20
# substitute _ with space again to generate valid imoprt statements
21
qt-check-imports = $(subst _,$( ),$(subst $( ),;,$(foreach m,$(1),import_$(2).$(m))))
22
# try to import all modules
23
qt-check-modules = $(shell $(PYTHON) -c '$(call qt-check-imports,$(1),$(2)); print("yes")')