Skip to content

Commit

Permalink
Qt5.6.2: Q_OS_WIN
Browse files Browse the repository at this point in the history
  • Loading branch information
KangLin committed Feb 23, 2024
1 parent f1faed3 commit 069228f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Src/FactoryFace.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ CFactoryFace::CFactoryFace(QObject *parent): QObject(parent),
szPath = szPath + QDir::separator() + "Face";
#endif
QStringList filters;
#if defined (Q_OS_WINDOWS)
#if defined (Q_OS_WINDOWS) || defined(Q_OS_WIN)
filters << "*PluginFace*.dll";
#else
filters << "*PluginFace*.so";
Expand Down Expand Up @@ -393,7 +393,7 @@ int CFactoryFace::FindPlugins(QDir dir, QStringList filters)
QString fileName;
if(filters.isEmpty())
{
#if defined (Q_OS_WINDOWS)
#if defined (Q_OS_WINDOWS) || defined(Q_OS_WIN)
filters << "*PluginFace*.dll";
#else
filters << "*PluginFace*.so";
Expand Down
4 changes: 2 additions & 2 deletions Src/ImageTool.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ CImageTool::CImageTool(QObject *parent) : QObject(parent), m_pConverFormat(nullp
szPath = szPath + QDir::separator() + "ConverFormat";
#endif
QStringList filters;
#if defined (Q_OS_WINDOWS)
#if defined (Q_OS_WINDOWS) || defined(Q_OS_WIN)
filters << "*PluginConverFormat*.dll";
#else
filters << "*PluginConverFormat*.so";
Expand Down Expand Up @@ -314,7 +314,7 @@ int CImageTool::FindPlugins(QDir dir, QStringList filters)
QString fileName;
if(filters.isEmpty())
{
#if defined (Q_OS_WINDOWS)
#if defined (Q_OS_WINDOWS) || defined(Q_OS_WIN)
filters << "*.dll";
#else
filters << "*.so";
Expand Down

0 comments on commit 069228f

Please sign in to comment.