summaryrefslogtreecommitdiffstats
path: root/configure.py
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2021-12-09 02:39:56 +0100
committerSlávek Banko <slavek.banko@axis.cz>2021-12-09 02:43:15 +0100
commitcfaa762ca7ecd34a26371986d0f09fc56b4ff428 (patch)
tree8acd1324630c704dbe92155e4d680c2ba68982b7 /configure.py
parent8e8bdb86cb665f65368d6380d4b37e41b18acee6 (diff)
downloadpytqt-cfaa762ca7ecd34a26371986d0f09fc56b4ff428.tar.gz
pytqt-cfaa762ca7ecd34a26371986d0f09fc56b4ff428.zip
Update after rename QScintilla => TQScintilla.
This relates to issue TDE/tqscintilla#2. Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Diffstat (limited to 'configure.py')
-rw-r--r--configure.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/configure.py b/configure.py
index de047fb..d56307e 100644
--- a/configure.py
+++ b/configure.py
@@ -215,7 +215,7 @@ class ConfigurePyTQt3(ConfigureBase):
check_module("qtaxcontainer", "qaxobject.h", "TQAxObject()", lib="qaxcontainer")
if qsci_version:
- check_module("qtext", "qextscintillabase.h", "QextScintillaBase()", define=qsci_define, include_dir=opt_qsciincdir, lib_dir=opt_qscilibdir, lib="qscintilla")
+ check_module("qtext", "tqextscintillabase.h", "TQextScintillaBase()", define=qsci_define, include_dir=opt_qsciincdir, lib_dir=opt_qscilibdir, lib="tqscintilla")
if opt_qtpetag:
pyqt_modules.append("qtpe")
@@ -266,7 +266,7 @@ class ConfigurePyTQt3(ConfigureBase):
generate_code("qt", extra_include_dirs=extra_include_dirs, extra_lib_dir=extra_lib_dir, extra_libs=extra_libs)
if "qtext" in pyqt_modules:
- generate_code("qtext", extra_define=qsci_define, extra_include_dirs=[opt_qsciincdir], extra_lib_dir=opt_qscilibdir, extra_libs=["qscintilla"]+extra_libs, sip_flags=qtext_sip_flags)
+ generate_code("qtext", extra_define=qsci_define, extra_include_dirs=[opt_qsciincdir], extra_lib_dir=opt_qscilibdir, extra_libs=["tqscintilla"]+extra_libs, sip_flags=qtext_sip_flags)
if "qtgl" in pyqt_modules:
generate_code("qtgl", opengl=1, extra_include_dirs=extra_include_dirs, extra_lib_dir=extra_lib_dir, extra_libs=extra_libs)
@@ -566,7 +566,7 @@ def check_qscintilla():
opt_qscilibdir = qt_libdir
# Find the TQScintilla header files.
- sciglobal = os.path.join(opt_qsciincdir, "qextscintillaglobal.h")
+ sciglobal = os.path.join(opt_qsciincdir, "tqextscintillaglobal.h")
if os.access(sciglobal, os.F_OK):
# Get the TQScintilla version number.
@@ -574,7 +574,7 @@ def check_qscintilla():
qsci_version, sciversstr = sipconfig.read_version(sciglobal, "TQScintilla", "TQSCINTILLA_VERSION", "TQSCINTILLA_VERSION_STR")
- if glob.glob(os.path.join(opt_qscilibdir, "*qscintilla*")):
+ if glob.glob(os.path.join(opt_qscilibdir, "*tqscintilla*")):
sipconfig.inform("TQScintilla %s is being used." % sciversstr)
# If we find a snapshot then set a negative version number as a
@@ -584,7 +584,7 @@ def check_qscintilla():
else:
sipconfig.inform("The TQScintilla library could not be found in %s and so the qtext module will not be built. If TQScintilla is installed then use the -o argument to explicitly specify the correct directory." % opt_qscilibdir)
else:
- sipconfig.inform("qextscintillaglobal.h could not be found in %s and so the qtext module will not be built. If TQScintilla is installed then use the -n argument to explicitly specify the correct directory." % opt_qsciincdir)
+ sipconfig.inform("tqextscintillaglobal.h could not be found in %s and so the qtext module will not be built. If TQScintilla is installed then use the -n argument to explicitly specify the correct directory." % opt_qsciincdir)
def check_vendorid():