COLOR-SKY / DialogueExtractor

A tool that extracts video clips using subtitles
GNU General Public License v3.0
136 stars 21 forks source link

python3.7 PyQt6无法使用需要改用PyQt5 #8

Open xujunjiex opened 1 month ago

xujunjiex commented 1 month ago

`

  1. 修改 QAction 导入 from PyQt5 import QtCore, QtGui, QtWidgets from PyQt5.QtWidgets import QFileDialog, QMenu, QAction # Import QAction from QtWidgets

  2. 将所有 QtGui.QAction 替换为 QtWidgets.QAction self.actionAuthor_color_sky = QtWidgets.QAction(MainWindow) # 改为 QtWidgets.QAction

`