# License GPLv3+: GNU General Public License version 3 or any later version.
# This is free software: you are free to change and redistribute it.
# There is NO WARRANTY, to the extent permitted by law.
# License GPLv3+: GNU General Public License version 3 or any later version.
# This is free software: you are free to change and redistribute it.
# There is NO WARRANTY, to the extent permitted by law.
server for plugins. This avoids network activity at startup and prevents
the options dialog from suggesting non-free plugins for installation.</p>
'''
server for plugins. This avoids network activity at startup and prevents
the options dialog from suggesting non-free plugins for installation.</p>
'''
PLUGIN_LICENSE = "GPL-3.0-or-later"
from picard import (config, log, plugin)
PLUGIN_LICENSE = "GPL-3.0-or-later"
from picard import (config, log, plugin)
-from PyQt4 import QtCore
+
+try:
+ from PyQt5 import QtCore
+except (RuntimeError, ImportError):
+ from PyQt4 import QtCore
+