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."%(sciLibDir))
sip_tqt_config.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."%(sciLibDir))
sciVersion=-1
else:
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)
sip_tqt_config.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
@ -223,7 +223,7 @@ def checkTQScintilla():
defmoduleChecks(maindir):
"""See which PyTQt modules to build.
"""
sipconfig.inform("Checking which additional PyTQt modules to build.");
sip_tqt_config.inform("Checking which additional PyTQt modules to build.");
msg="The build of the PyTQt source code for your system is now complete. To compile and install PyTQt run \"%s\" and \"%s install\" with appropriate user privileges."%(config.make_bin,config.make_bin)
sipconfig.inform("TQScintilla %s is being used."%sciversstr)
sip_tqt_config.inform("TQScintilla %s is being used."%sciversstr)
# If we find a snapshot then set a negative version number as a
# special case.
ifstring.find(sciversstr,"snapshot")>=0:
qsci_version=-1
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)
sip_tqt_config.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("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)
sip_tqt_config.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)
sipconfig.inform("The VendorID package was found.")
sip_tqt_config.inform("The VendorID package was found.")
else:
opt_vendorcheck=0
sipconfig.inform("The VendorID library could not be found in %s and so signed interpreter checking will be disabled. If the VendorID library is installed then use the -m argument to explicitly specify the correct directory."%opt_vendlibdir)
sip_tqt_config.inform("The VendorID library could not be found in %s and so signed interpreter checking will be disabled. If the VendorID library is installed then use the -m argument to explicitly specify the correct directory."%opt_vendlibdir)
else:
opt_vendorcheck=0
sipconfig.inform("vendorid.h could not be found in %s and so signed interpreter checking will be disabled. If the VendorID package is installed then use the -l argument to explicitly specify the correct directory."%opt_vendincdir)
sip_tqt_config.inform("vendorid.h could not be found in %s and so signed interpreter checking will be disabled. If the VendorID package is installed then use the -l argument to explicitly specify the correct directory."%opt_vendincdir)
sipconfig.inform("This is the %s version of PyTQt %s (licensed under the %s) for Python %s on %s."%(ltype,pyqt_version_str,lname,string.split(sys.version)[0],sys.platform))
sip_tqt_config.inform("This is the %s version of PyTQt %s (licensed under the %s) for Python %s on %s."%(ltype,pyqt_version_str,lname,string.split(sys.version)[0],sys.platform))
sipconfig.error("Unable to find the default configuration file %s. You can use the QMAKESPEC environment variable to specify the correct platform instead of \"default\"."%fname)
sip_tqt_config.error("Unable to find the default configuration file %s. You can use the QMAKESPEC environment variable to specify the correct platform instead of \"default\"."%fname)
sipconfig.error("No TQt libraries could be found in %s."%qt_libdir)
sip_tqt_config.error("No TQt libraries could be found in %s."%qt_libdir)
iflen(names)>1:
sipconfig.error("These TQt libraries were found: %s. Use the -y argument to explicitly specify which you want to use."%string.join(names))
sip_tqt_config.error("These TQt libraries were found: %s. Use the -y argument to explicitly specify which you want to use."%string.join(names))
defis_qt_library(generator,lib):
@ -1322,12 +1322,12 @@ def main(argv):
"""
# Check Python isn't too new.
ifsipcfg.py_version>=0x030000:
sipconfig.error("PyTQt v3.x does not support Python v3.x")
sip_tqt_config.error("PyTQt v3.x does not support Python v3.x")
# Check SIP is new enough.
# Check SIP-TQt is new enough.
ifsipcfg.sip_version_str[:8]!="snapshot":
ifsipcfg.sip_version<sip_min_version:
sipconfig.error("This version of PyTQt requires SIP v%s or later"%sipconfig.version_to_string(sip_min_version))
sip_tqt_config.error("This version of PyTQt requires SIP-TQt v%s or later"%sip_tqt_config.version_to_string(sip_min_version))
# Parse the command line.
try:
@ -1399,12 +1399,12 @@ def main(argv):
# Check that we know the name of the TQt root directory.
ifnotqt_dir:
sipconfig.error("A TQt installation could not be found. Use use the -q argument or the TQTDIR environment variable to explicitly specify the correct directory.")
sip_tqt_config.error("A TQt installation could not be found. Use use the -q argument or the TQTDIR environment variable to explicitly specify the correct directory.")
# When building static libraries, signed interpreter checking makes no
# sense.
ifopt_vendorcheckandopt_static:
sipconfig.error("Using the VendorID package when building static libraries makes no sense.")
sip_tqt_config.error("Using the VendorID package when building static libraries makes no sense.")
# Replace the existing build macros with the ones from the TQt installation.
macros=get_build_macros(args)
@ -1429,7 +1429,7 @@ def main(argv):
# Check for the VendorID package.
check_vendorid()
# Set the SIP platform, version and feature flags.
# Set the SIP-TQt platform, version and feature flags.