diff --git a/ElaWidgetTools b/ElaWidgetTools index e1778e9..1ed0113 160000 --- a/ElaWidgetTools +++ b/ElaWidgetTools @@ -1 +1 @@ -Subproject commit e1778e915449930aeb88895895cf01488f83f995 +Subproject commit 1ed0113eaaad9414fdab2b81c2bb8421b7a54d56 diff --git a/scripts/pyqt/gen_widgets.py b/scripts/pyqt/gen_widgets.py index d57fba6..678cd16 100644 --- a/scripts/pyqt/gen_widgets.py +++ b/scripts/pyqt/gen_widgets.py @@ -548,7 +548,7 @@ def cast_h_to_sip(filename): full_sip_content.append(sip_class_def) final_output = "\n".join(full_sip_content) ls = final_output.splitlines() - #ls = [_ for _ in ls if "QVector" not in _] # 不支持的类型转换 + ls = [_ for _ in ls if "QVector" not in _] # 不支持的类型转换 ls = [_ for _ in ls if "QList" not in _] # 不支持的类型转换 bad = ("long *", "qintptr *")[forQt5] ls = [_ for _ in ls if bad not in _] # 这个是Qt5的条件编译,Qt6的话要删掉另一条