Changeset 489


Ignore:
Timestamp:
Jan 29, 2010, 12:46:37 PM (15 years ago)
Author:
Dmitry A. Kuminov
Message:

corelib: Fixed: QLibrary::isLibrary() returned false for .DLL files on OS/2. As a consequence, QDesigner plugins could not be loaded.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/corelib/plugin/qlibrary.cpp

    r2 r489  
    505505    \table
    506506    \header \i Platform \i Valid suffixes
    507     \row \i Windows    \i \c .dll
    508     \row \i Unix/Linux  \i \c .so
    509     \row \i AIX  \i \c .a
    510     \row \i HP-UX       \i \c .sl, \c .so (HP-UXi)
    511     \row \i Mac OS X    \i \c .dylib, \c .bundle, \c .so
     507    \row \i Windows \i \c .dll
     508    \row \i Unix/Linux  \i \c .so
     509    \row \i AIX  \i \c .a
     510    \row \i HP-UX       \i \c .sl, \c .so (HP-UXi)
     511    \row \i Mac OS X    \i \c .dylib, \c .bundle, \c .so
    512512    \endtable
    513513
     
    516516bool QLibrary::isLibrary(const QString &fileName)
    517517{
    518 #if defined(Q_OS_WIN32) || defined(Q_OS_WINCE)
    519     return fileName.endsWith(QLatin1String(".dll"));
     518#if defined(Q_OS_WIN32) || defined(Q_OS_WINCE)
     519    return fileName.endsWith(QLatin1String(".dll"));
    520520#else
    521521    QString completeSuffix = QFileInfo(fileName).completeSuffix();
Note: See TracChangeset for help on using the changeset viewer.