summaryrefslogtreecommitdiffstats
path: root/build.py
diff options
context:
space:
mode:
Diffstat (limited to 'build.py')
-rw-r--r--build.py16
1 files changed, 8 insertions, 8 deletions
diff --git a/build.py b/build.py
index 5440c2b..8fb16b5 100644
--- a/build.py
+++ b/build.py
@@ -174,12 +174,12 @@ def checkTQScintilla():
"""See if TQScintilla can be found and what its version is.
"""
# Find the TQScintilla header files.
- sciglobal = os.path.join(sciIncDir, "qextscintillaglobal.h")
+ sciglobal = os.path.join(sciIncDir, "tqextscintillaglobal.h")
if os.access(sciglobal,os.F_OK):
config.patches["@PYQT_QSCINTILLA_INC@"] = sciIncDir
- sipconfig.inform("%s contains qextscintillaglobal.h." % (sciIncDir))
+ sipconfig.inform("%s contains tqextscintillaglobal.h." % (sciIncDir))
# Get the TQScintilla version number.
global sciVersion
@@ -195,9 +195,9 @@ def checkTQScintilla():
# Find the TQScintilla library.
if sys.platform == "win32":
- lpatt = "qscintilla.lib"
+ lpatt = "tqscintilla.lib"
else:
- lpatt = "libqscintilla.*"
+ lpatt = "libtqscintilla.*"
if len(glob.glob(os.path.join(sciLibDir, lpatt))):
sipconfig.inform("%s contains the TQScintilla library." % sciLibDir)
@@ -205,9 +205,9 @@ def checkTQScintilla():
global sciLib
if sys.platform == "win32":
- sciLib = sipconfig.escape(os.path.join(sciLibDir, "qscintilla.lib"))
+ sciLib = sipconfig.escape(os.path.join(sciLibDir, "tqscintilla.lib"))
else:
- sciLib = sipconfig.escape("-L" + sciLibDir) + " -lqscintilla"
+ sciLib = sipconfig.escape("-L" + sciLibDir) + " -ltqscintilla"
config.patches["@PYQT_QSCINTILLA_LIB@"] = sciLib
else:
@@ -215,7 +215,7 @@ def checkTQScintilla():
sciVersion = -1
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." % sciIncDir)
+ 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." % sciIncDir)
sciVersion = -1
@@ -267,7 +267,7 @@ def moduleChecks(maindir):
config.patches["@TEST_QSCINTILLA_LIB@"] = sciLib
config.create_makefile("qttest.pro")
- tryModule(maindir,"qtext", "qextscintillabase.h", "QextScintillaBase()")
+ tryModule(maindir,"qtext", "tqextscintillabase.h", "TQextScintillaBase()")
# Put things back.
config.patches["@TEST_QSCINTILLA_INC@"] = ""