View Single Post
Old 01-06-2023, 09:55 AM   #436
lohtse
Groupie
lohtse juggles running chainsaws for a bit of light exerciselohtse juggles running chainsaws for a bit of light exerciselohtse juggles running chainsaws for a bit of light exerciselohtse juggles running chainsaws for a bit of light exerciselohtse juggles running chainsaws for a bit of light exerciselohtse juggles running chainsaws for a bit of light exerciselohtse juggles running chainsaws for a bit of light exerciselohtse juggles running chainsaws for a bit of light exerciselohtse juggles running chainsaws for a bit of light exerciselohtse juggles running chainsaws for a bit of light exerciselohtse juggles running chainsaws for a bit of light exercise
 
lohtse's Avatar
 
Posts: 197
Karma: 38050
Join Date: Oct 2013
Location: Anywhere I am sent!!!
Device: Kobo Touch
Quote:
Originally Posted by dmeyer0 View Post
Making "Edit Collections manually..." work with Qt6 is actually surprisingly easy if you're comfortable with editing source code.

Just go to where your plugins live (~/Library/Preferences/calibre/plugins on my Mac), unzip "Kindle Collections.zip", and make a couple of minor changes to utilities.py:

where it references
QtGui.QTableWidgetItem.UserType
change that to
QtGui.QTableWidgetItem.ItemType.UserType

and where it references
Qt.ItemFlags
change that to
Qt.ItemFlag

zip "Kindle Collections.zip" back up, restart calibre, and it's just working for me. Hope this helps someone.

This works a damn treat on windows too..
lohtse is offline   Reply With Quote