Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Tobias Hunger
qt-creator
Commits
95caceb2
Commit
95caceb2
authored
Sep 29, 2009
by
Oswald Buddenhagen
Browse files
better looking error message
parent
c7ad4ade
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/libs/extensionsystem/pluginspec.cpp
View file @
95caceb2
...
...
@@ -787,8 +787,7 @@ bool PluginSpecPrivate::loadLibrary()
PluginLoader
loader
(
libName
);
if
(
!
loader
.
load
())
{
hasError
=
true
;
errorString
=
loader
.
errorString
();
errorString
.
append
(
QCoreApplication
::
translate
(
"PluginSpec"
,
"
\n
Library base name: %1"
).
arg
(
libName
));
errorString
=
libName
+
QString
::
fromLatin1
(
": "
)
+
loader
.
errorString
();
return
false
;
}
IPlugin
*
pluginObject
=
qobject_cast
<
IPlugin
*>
(
loader
.
instance
());
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment