mirror of
https://invent.kde.org/network/falkon.git
synced 2024-12-20 02:36:34 +01:00
[KWalletPasswords] Build only with Qt4.
Also show better error message when loading plugin fails
This commit is contained in:
parent
b347d00479
commit
31afc8aee6
@ -132,8 +132,9 @@ void Plugins::loadPlugins()
|
||||
foreach (const QString &fullPath, m_allowedPlugins) {
|
||||
QPluginLoader* loader = new QPluginLoader(fullPath);
|
||||
PluginInterface* iPlugin = qobject_cast<PluginInterface*>(loader->instance());
|
||||
|
||||
if (!iPlugin) {
|
||||
qWarning() << "Plugins::loadPlugins" << loader->errorString();
|
||||
qWarning() << "Plugins::loadPlugins Loading" << fullPath << "failed:" << loader->errorString();
|
||||
continue;
|
||||
}
|
||||
|
||||
|
@ -27,6 +27,7 @@ outOfDirPlugins = $$(QUPZILLA_PLUGINS_SRCDIR)
|
||||
|
||||
# KWalletPasswords only with KDE_INTEGRATION
|
||||
!contains(DEFINES, KDE_INTEGRATION): SUBDIRS -= $$PWD/KWalletPasswords
|
||||
!lessThan(QT_VERSION, 5.0): SUBDIRS -= $$PWD/KWalletPasswords
|
||||
|
||||
# GnomeKeyringPasswords only with GNOME_INTEGRATION
|
||||
!contains(DEFINES, GNOME_INTEGRATION): SUBDIRS -= $$PWD/GnomeKeyringPasswords
|
||||
|
Loading…
Reference in New Issue
Block a user