|
|
|
@ -228,10 +228,7 @@ class ConfigurePyTQt3(ConfigureBase):
|
|
|
|
|
if check_class("tqassistantclient.h", "TQAssistantClient(\"foo\")", lib="tqassistantclient"):
|
|
|
|
|
tqtmod_lib = "tqassistantclient"
|
|
|
|
|
else:
|
|
|
|
|
if check_class("ntqassistantclient.h", "TQAssistantClient(\"foo\")", lib="tqassistantclient"):
|
|
|
|
|
tqtmod_lib = "tqassistantclient"
|
|
|
|
|
else:
|
|
|
|
|
disabled_classes.append("TQAssistantClient")
|
|
|
|
|
disabled_classes.append("TQAssistantClient")
|
|
|
|
|
|
|
|
|
|
return tqtmod_lib
|
|
|
|
|
|
|
|
|
@ -1094,10 +1091,7 @@ def check_tqt_installation(macros):
|
|
|
|
|
tqglobal = os.path.join(tqt_incdir, "tqglobal.h")
|
|
|
|
|
|
|
|
|
|
if not os.access(tqglobal, os.F_OK):
|
|
|
|
|
tqglobal = os.path.join(tqt_incdir, "ntqglobal.h")
|
|
|
|
|
|
|
|
|
|
if not os.access(tqglobal, os.F_OK):
|
|
|
|
|
sip_tqt_config.error("tqglobal.h or ntqglobal.h could not be found in %s." % tqt_incdir)
|
|
|
|
|
sip_tqt_config.error("tqglobal.h could not be found in %s." % tqt_incdir)
|
|
|
|
|
|
|
|
|
|
# Get the TQt version number.
|
|
|
|
|
global tqt_version
|
|
|
|
|