diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2023-01-03 01:01:50 +0100 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2023-01-22 13:21:17 +0100 |
commit | 0f630aff5c42d03eb301cd3fc5faff80d9c3c727 (patch) | |
tree | 94c873376a07783255db1f419f5d17bfa5151128 /custom | |
parent | 3e5815bce63e9e476bdeb58cbe230239622e1ba5 (diff) | |
download | sip4-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 <slavek.banko@axis.cz>
Diffstat (limited to 'custom')
-rw-r--r-- | custom/custom.c | 20 | ||||
-rw-r--r-- | custom/customw.c | 20 | ||||
-rw-r--r-- | custom/mkcustom.py | 10 |
3 files changed, 25 insertions, 25 deletions
diff --git a/custom/custom.c b/custom/custom.c index 013f988..2165117 100644 --- a/custom/custom.c +++ b/custom/custom.c @@ -41,16 +41,16 @@ int main(int argc, char **argv) */ struct _inittab builtin_modules[] = { {"sip_tqt", initsip_tqt}, -/* {"qt", initqt},*/ -/* {"qtaxcontainer", initqtaxcontainer},*/ -/* {"qtcanvas", initqtcanvas},*/ -/* {"qtext", initext},*/ -/* {"qtgl", initqtgl},*/ -/* {"qtnetwork", initqtnetwork},*/ -/* {"qtsql", initqtsql},*/ -/* {"qttable", initqttable},*/ -/* {"qtui", initqtui},*/ -/* {"qtxml", initqtxml},*/ +/* {"tqt", initqt},*/ +/* {"tqtaxcontainer", initqtaxcontainer},*/ +/* {"tqtcanvas", initqtcanvas},*/ +/* {"tqtext", initext},*/ +/* {"tqtgl", initqtgl},*/ +/* {"tqtnetwork", initqtnetwork},*/ +/* {"tqtsql", initqtsql},*/ +/* {"tqttable", initqttable},*/ +/* {"tqtui", initqtui},*/ +/* {"tqtxml", initqtxml},*/ {NULL, NULL} }; diff --git a/custom/customw.c b/custom/customw.c index e554f2b..12d3dcb 100644 --- a/custom/customw.c +++ b/custom/customw.c @@ -45,16 +45,16 @@ int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, */ struct _inittab builtin_modules[] = { {"sip_tqt", initsip_tqt}, -/* {"qt", initqt},*/ -/* {"qtaxcontainer", initqtaxcontainer},*/ -/* {"qtcanvas", initqtcanvas},*/ -/* {"qtext", initext},*/ -/* {"qtgl", initqtgl},*/ -/* {"qtnetwork", initqtnetwork},*/ -/* {"qtsql", initqtsql},*/ -/* {"qttable", initqttable},*/ -/* {"qtui", initqtui},*/ -/* {"qtxml", initqtxml},*/ +/* {"tqt", initqt},*/ +/* {"tqtaxcontainer", initqtaxcontainer},*/ +/* {"tqtcanvas", initqtcanvas},*/ +/* {"tqtext", initext},*/ +/* {"tqtgl", initqtgl},*/ +/* {"tqtnetwork", initqtnetwork},*/ +/* {"tqtsql", initqtsql},*/ +/* {"tqttable", initqttable},*/ +/* {"tqtui", initqtui},*/ +/* {"tqtxml", initqtxml},*/ {NULL, NULL} }; 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) |