1
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:
nowrep 2014-01-21 23:53:45 +01:00
parent b347d00479
commit 31afc8aee6
2 changed files with 3 additions and 1 deletions

View File

@ -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;
}

View File

@ -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