Changeset View
Changeset View
Standalone View
Standalone View
src/lib/plugin/kpluginloader.cpp
Show First 20 Lines • Show All 83 Lines • ▼ Show 20 Line(s) | 83 | { | |||
---|---|---|---|---|---|
84 | d_ptr->q_ptr = this; | 84 | d_ptr->q_ptr = this; | ||
85 | Q_D(KPluginLoader); | 85 | Q_D(KPluginLoader); | ||
86 | 86 | | |||
87 | d->loader = new QPluginLoader(this); | 87 | d->loader = new QPluginLoader(this); | ||
88 | 88 | | |||
89 | if (pluginName.isValid()) { | 89 | if (pluginName.isValid()) { | ||
90 | d->loader->setFileName(pluginName.name()); | 90 | d->loader->setFileName(pluginName.name()); | ||
91 | if (d->loader->fileName().isEmpty()) { | 91 | if (d->loader->fileName().isEmpty()) { | ||
92 | qCWarning(KCOREADDONS_DEBUG) << "Error loading plugin" << pluginName.name() << d->loader->errorString() | 92 | qCDebug(KCOREADDONS_DEBUG) << "Failed to load plugin" << pluginName.name() << d->loader->errorString() | ||
93 | << "\nPlugin search paths are" << QCoreApplication::libraryPaths() | 93 | << "\nPlugin search paths are" << QCoreApplication::libraryPaths() | ||
94 | << "\nThe environment variable QT_PLUGIN_PATH might be not correctly set"; | 94 | << "\nThe environment variable QT_PLUGIN_PATH might be not correctly set"; | ||
95 | } | 95 | } | ||
96 | } else { | 96 | } else { | ||
97 | d->errorString = pluginName.errorString(); | 97 | d->errorString = pluginName.errorString(); | ||
98 | } | 98 | } | ||
99 | } | 99 | } | ||
100 | 100 | | |||
▲ Show 20 Lines • Show All 208 Lines • Show Last 20 Lines |