summaryrefslogtreecommitdiffstats
path: root/custom/mkcustom.py
diff options
context:
space:
mode:
authorSlávek Banko <[email protected]>2023-01-03 01:01:50 +0100
committerSlávek Banko <[email protected]>2023-01-22 13:21:17 +0100
commit0f630aff5c42d03eb301cd3fc5faff80d9c3c727 (patch)
tree94c873376a07783255db1f419f5d17bfa5151128 /custom/mkcustom.py
parent3e5815bce63e9e476bdeb58cbe230239622e1ba5 (diff)
downloadsip4-tqt-0f630aff5c42d03eb301cd3fc5faff80d9c3c727.tar.gz
sip4-tqt-0f630aff5c42d03eb301cd3fc5faff80d9c3c727.zip
Entry step for renaming PyTQt module libraries from qt* to tqt*.
Signed-off-by: Slávek Banko <[email protected]>
Diffstat (limited to 'custom/mkcustom.py')
-rw-r--r--custom/mkcustom.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/custom/mkcustom.py b/custom/mkcustom.py
index 94f7021..583d0c5 100644
--- a/custom/mkcustom.py
+++ b/custom/mkcustom.py
@@ -25,8 +25,8 @@ WindowsInterpreter = False
# Set this to the list of the name of modules to be builtin to the custom
# interpreter. The modules must also be added to custom.c and/or customw.c.
Modules = ["sip"]
-#Modules = ["sip", "qt", "qtaxcontainer", "qtcanvas", "qtext", "qtgl",
-# "qtnetwork", "qtsql", "qttable", "qtui", "qtxml"]
+#Modules = ["sip", "tqt", "tqtaxcontainer", "tqtcanvas", "tqtext", "tqtgl",
+# "tqtnetwork", "tqtsql", "tqttable", "tqtui", "tqtxml"]
# Set this to the name of the directory containing the static modules.
ModuleDirectory = cfg.default_mod_dir
@@ -62,11 +62,11 @@ else:
build["sources"] = "custom.c"
console = True
-# Assume Qt support is required if Qt support was enabled in the sip module.
-qt = (cfg.qt_version > 0)
+# Assume TQt support is required if TQt support was enabled in the sip module.
+tqt = (cfg.tqt_version > 0)
# Create the Makefile instance.
-mf = sip_tqt_config.ProgramMakefile(cfg, build, python=True, console=console, qt=qt)
+mf = sip_tqt_config.ProgramMakefile(cfg, build, python=True, console=console, tqt=tqt)
# Modify the Makefile according to the values set above.
mf.extra_lib_dirs.extend(ExtraLibraryDirectories)