diff -r b72c6db6890b -r 5dc02b23752f src/gui/accessible/qaccessible.cpp --- a/src/gui/accessible/qaccessible.cpp Wed Jun 23 19:07:03 2010 +0300 +++ b/src/gui/accessible/qaccessible.cpp Tue Jul 06 15:10:48 2010 +0300 @@ -389,7 +389,7 @@ \internal */ -#if !defined(QT_NO_LIBRARY) && (!defined(QT_NO_SETTINGS) || !defined(Q_OS_WIN)) +#ifndef QT_NO_LIBRARY Q_GLOBAL_STATIC_WITH_ARGS(QFactoryLoader, loader, (QAccessibleFactoryInterface_iid, QLatin1String("/accessible"))) #endif @@ -532,7 +532,7 @@ if (iface) return iface; } -#if !defined(QT_NO_LIBRARY) && (!defined(QT_NO_SETTINGS) || !defined(Q_OS_WIN)) +#ifndef QT_NO_LIBRARY QAccessibleFactoryInterface *factory = qobject_cast(loader()->instance(cn)); if (factory) { iface = factory->create(cn, object);