for MinGW: change "Q_OS_WIN" to "Q_CC_MSVC" (otherwise MinGW won't link plugins)

This commit is contained in:
polos 2017-02-21 10:06:50 +01:00
parent e7cf3bf519
commit a8bf141f8a
22 changed files with 22 additions and 22 deletions

View file

@ -3,7 +3,7 @@
#include <QtWidgets>
#ifdef Q_OS_WIN
#ifdef Q_CC_MSVC
#define LIB_EXPORT __declspec(dllexport)
#else
#define LIB_EXPORT

View file

@ -3,7 +3,7 @@
#include <QtWidgets>
#ifdef Q_OS_WIN
#ifdef Q_CC_MSVC
#define LIB_EXPORT __declspec(dllexport)
#else
#define LIB_EXPORT

View file

@ -3,7 +3,7 @@
#include <QtGui>
#ifdef Q_OS_WIN
#ifdef Q_CC_MSVC
#define LIB_EXPORT __declspec(dllexport)
#else
#define LIB_EXPORT

View file

@ -3,7 +3,7 @@
#include <Qt>
#ifdef Q_OS_WIN
#ifdef Q_CC_MSVC
#define LIB_EXPORT __declspec(dllexport)
#else
#define LIB_EXPORT

View file

@ -5,7 +5,7 @@
#include <QQuickPaintedItem>
#include <eql_fun.h>
#ifdef Q_OS_WIN
#ifdef Q_CC_MSVC
#define LIB_EXPORT __declspec(dllexport)
#else
#define LIB_EXPORT

View file

@ -5,7 +5,7 @@
#include <QQuickPaintedItem>
#include <eql_fun.h>
#ifdef Q_OS_WIN
#ifdef Q_CC_MSVC
#define LIB_EXPORT __declspec(dllexport)
#else
#define LIB_EXPORT

View file

@ -5,7 +5,7 @@
#include <QQuickPaintedItem>
#include <eql_fun.h>
#ifdef Q_OS_WIN
#ifdef Q_CC_MSVC
#define LIB_EXPORT __declspec(dllexport)
#else
#define LIB_EXPORT

View file

@ -5,7 +5,7 @@
#include <QQuickPaintedItem>
#include <eql_fun.h>
#ifdef Q_OS_WIN
#ifdef Q_CC_MSVC
#define LIB_EXPORT __declspec(dllexport)
#else
#define LIB_EXPORT

View file

@ -5,7 +5,7 @@
#include <QQuickPaintedItem>
#include <eql_fun.h>
#ifdef Q_OS_WIN
#ifdef Q_CC_MSVC
#define LIB_EXPORT __declspec(dllexport)
#else
#define LIB_EXPORT

View file

@ -5,7 +5,7 @@
#include <QtWebKit>
#include <eql_fun.h>
#ifdef Q_OS_WIN
#ifdef Q_CC_MSVC
#define LIB_EXPORT __declspec(dllexport)
#else
#define LIB_EXPORT

View file

@ -5,7 +5,7 @@
#include <QtWebKitWidgets>
#include <eql_fun.h>
#ifdef Q_OS_WIN
#ifdef Q_CC_MSVC
#define LIB_EXPORT __declspec(dllexport)
#else
#define LIB_EXPORT

View file

@ -5,7 +5,7 @@
#include <QtWebKitWidgets>
#include <eql_fun.h>
#ifdef Q_OS_WIN
#ifdef Q_CC_MSVC
#define LIB_EXPORT __declspec(dllexport)
#else
#define LIB_EXPORT

View file

@ -3,7 +3,7 @@
#include <QtGui>
#ifdef Q_OS_WIN
#ifdef Q_CC_MSVC
#define LIB_EXPORT __declspec(dllexport)
#else
#define LIB_EXPORT

View file

@ -3,7 +3,7 @@
#include <QtGui>
#ifdef Q_OS_WIN
#ifdef Q_CC_MSVC
#define LIB_EXPORT __declspec(dllexport)
#else
#define LIB_EXPORT

View file

@ -4,7 +4,7 @@
#include "../../ecl_fun.h"
#include <QtHelp>
#ifdef Q_OS_WIN
#ifdef Q_CC_MSVC
#define LIB_EXPORT __declspec(dllexport)
#else
#define LIB_EXPORT

View file

@ -5,7 +5,7 @@
#include <QtMultimedia>
#include <QtMultimediaWidgets>
#ifdef Q_OS_WIN
#ifdef Q_CC_MSVC
#define LIB_EXPORT __declspec(dllexport)
#else
#define LIB_EXPORT

View file

@ -6,7 +6,7 @@
// Q_DECLARE_METATYPE(Q...)
#ifdef Q_OS_WIN
#ifdef Q_CC_MSVC
#define LIB_EXPORT __declspec(dllexport)
#else
#define LIB_EXPORT

View file

@ -7,7 +7,7 @@
Q_DECLARE_METATYPE(QNetworkCacheMetaData)
Q_DECLARE_METATYPE(QList<QNetworkProxy>)
#ifdef Q_OS_WIN
#ifdef Q_CC_MSVC
#define LIB_EXPORT __declspec(dllexport)
#else
#define LIB_EXPORT

View file

@ -6,7 +6,7 @@
#include <QtQuickWidgets>
#include <QQmlError>
#ifdef Q_OS_WIN
#ifdef Q_CC_MSVC
#define LIB_EXPORT __declspec(dllexport)
#else
#define LIB_EXPORT

View file

@ -7,7 +7,7 @@
Q_DECLARE_METATYPE(QSqlIndex)
Q_DECLARE_METATYPE(QSqlRecord)
#ifdef Q_OS_WIN
#ifdef Q_CC_MSVC
#define LIB_EXPORT __declspec(dllexport)
#else
#define LIB_EXPORT

View file

@ -3,7 +3,7 @@
#include <QtSvg>
#ifdef Q_OS_WIN
#ifdef Q_CC_MSVC
#define LIB_EXPORT __declspec(dllexport)
#else
#define LIB_EXPORT

View file

@ -6,7 +6,7 @@
Q_DECLARE_METATYPE(QList<QWebPluginFactory::Plugin>)
#ifdef Q_OS_WIN
#ifdef Q_CC_MSVC
#define LIB_EXPORT __declspec(dllexport)
#else
#define LIB_EXPORT