|
|
@ -100,22 +100,22 @@ pytde_modules = ["dcop", "tdecore", "tdefx", "tdeui", "tdeio", "tderesources
|
|
|
|
"tdehtml", "tdespell", "tdeprint", "tdemdi"] #, "tdespell2"]
|
|
|
|
"tdehtml", "tdespell", "tdeprint", "tdemdi"] #, "tdespell2"]
|
|
|
|
|
|
|
|
|
|
|
|
pytde_imports = {
|
|
|
|
pytde_imports = {
|
|
|
|
"dcop": ["qt"],
|
|
|
|
"dcop": ["PyTQt.qt"],
|
|
|
|
"tdecore": ["qt", "dcop"],
|
|
|
|
"tdecore": ["PyTQt.qt", "dcop"],
|
|
|
|
# "tdesu": ["qt", "dcop", "tdecore"],
|
|
|
|
# "tdesu": ["PyTQt.qt", "dcop", "tdecore"],
|
|
|
|
"tdefx": ["qt", "dcop", "tdecore"],
|
|
|
|
"tdefx": ["PyTQt.qt", "dcop", "tdecore"],
|
|
|
|
"tdeui": ["qt", "qtxml", "dcop", "tdecore", "tdefx"],
|
|
|
|
"tdeui": ["PyTQt.qt", "PyTQt.qtxml", "dcop", "tdecore", "tdefx"],
|
|
|
|
"tdeio": ["qt", "qtxml", "dcop", "tdecore", "tdefx", "tdeui"],
|
|
|
|
"tdeio": ["PyTQt.qt", "PyTQt.qtxml", "dcop", "tdecore", "tdefx", "tdeui"],
|
|
|
|
"tderesources": ["qt", "qtxml", "dcop", "tdecore", "tdefx", "tdeui", "tdeio"],
|
|
|
|
"tderesources": ["PyTQt.qt", "PyTQt.qtxml", "dcop", "tdecore", "tdefx", "tdeui", "tdeio"],
|
|
|
|
"tdeabc": ["qt", "qtxml", "dcop", "tdecore", "tdefx", "tdeui", "tdeio", "tderesources"],
|
|
|
|
"tdeabc": ["PyTQt.qt", "PyTQt.qtxml", "dcop", "tdecore", "tdefx", "tdeui", "tdeio", "tderesources"],
|
|
|
|
"tdeutils": ["qt", "qtxml", "dcop", "tdecore", "tdefx", "tdeui", "tdeio"],
|
|
|
|
"tdeutils": ["PyTQt.qt", "PyTQt.qtxml", "dcop", "tdecore", "tdefx", "tdeui", "tdeio"],
|
|
|
|
"tdefile": ["qt", "qtxml", "dcop", "tdecore", "tdefx", "tdeui", "tdeio"],
|
|
|
|
"tdefile": ["PyTQt.qt", "PyTQt.qtxml", "dcop", "tdecore", "tdefx", "tdeui", "tdeio"],
|
|
|
|
"tdeparts": ["qt", "qtxml", "dcop", "tdecore", "tdefx", "tdeui", "tdeio"],
|
|
|
|
"tdeparts": ["PyTQt.qt", "PyTQt.qtxml", "dcop", "tdecore", "tdefx", "tdeui", "tdeio"],
|
|
|
|
"tdehtml": ["qt", "qtxml", "dcop", "tdecore", "tdefx", "tdeui", "tdeutils", "tdeio", "tdeparts"],
|
|
|
|
"tdehtml": ["PyTQt.qt", "PyTQt.qtxml", "dcop", "tdecore", "tdefx", "tdeui", "tdeutils", "tdeio", "tdeparts"],
|
|
|
|
"tdespell": ["qt", "qtxml", "dcop", "tdecore", "tdefx", "tdeui", "tdeio", "tdefile"],
|
|
|
|
"tdespell": ["PyTQt.qt", "PyTQt.qtxml", "dcop", "tdecore", "tdefx", "tdeui", "tdeio", "tdefile"],
|
|
|
|
"tdeprint": ["qt", "qtxml", "dcop", "tdecore", "tdefx", "tdeui"],
|
|
|
|
"tdeprint": ["PyTQt.qt", "PyTQt.qtxml", "dcop", "tdecore", "tdefx", "tdeui"],
|
|
|
|
"tdemdi": ["qt", "qtxml", "dcop", "tdecore", "tdefx", "tdeui", "tdeio", "tdeparts"],
|
|
|
|
"tdemdi": ["PyTQt.qt", "PyTQt.qtxml", "dcop", "tdecore", "tdefx", "tdeui", "tdeio", "tdeparts"],
|
|
|
|
"tdespell2": ["qt", "qtxml", "dcop", "tdecore", "tdefx", "tdeui"]
|
|
|
|
"tdespell2": ["PyTQt.qt", "PyTQt.qtxml", "dcop", "tdecore", "tdefx", "tdeui"]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
kde_includes = {
|
|
|
|
kde_includes = {
|
|
|
@ -624,7 +624,7 @@ def generate_code(mname, imports=None, extra_cflags=None, extra_cxxflags=None, e
|
|
|
|
|
|
|
|
|
|
|
|
pyqtInclPathSeen = 0
|
|
|
|
pyqtInclPathSeen = 0
|
|
|
|
for mod in pytde_imports [mname]:
|
|
|
|
for mod in pytde_imports [mname]:
|
|
|
|
if string.find (mod, "q") == 0 and not pyqtInclPathSeen:
|
|
|
|
if string.find (mod, "PyTQt.q") == 0 and not pyqtInclPathSeen:
|
|
|
|
argv.append ("-I")
|
|
|
|
argv.append ("-I")
|
|
|
|
argv.append (pyqtcfg.pyqt_sip_dir)
|
|
|
|
argv.append (pyqtcfg.pyqt_sip_dir)
|
|
|
|
pyqtInclPathSeen = 1
|
|
|
|
pyqtInclPathSeen = 1
|
|
|
|