Fix build without 'library'
Without QT_CONFIG(library) qdbus_resolve_conditionally would be declared but not defined. Change-Id: Id90f6c736080e4c1609568b3fab1f464c0e46aa3 Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
This commit is contained in:
parent
9a58ba4793
commit
ff78e6fe35
@ -126,14 +126,16 @@ bool qdbus_loadLibDBus()
|
||||
#endif
|
||||
}
|
||||
|
||||
#if QT_CONFIG(library)
|
||||
void (*qdbus_resolve_conditionally(const char *name))()
|
||||
{
|
||||
#if QT_CONFIG(library)
|
||||
if (qdbus_loadLibDBus())
|
||||
return qdbus_libdbus->resolve(name);
|
||||
#else
|
||||
Q_UNUSED(name);
|
||||
#endif
|
||||
return 0;
|
||||
}
|
||||
#endif
|
||||
|
||||
void (*qdbus_resolve_me(const char *name))()
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user