for MinGW: change "Q_OS_WIN" to "Q_CC_MSVC" (otherwise MinGW won't link plugins)
This commit is contained in:
parent
e7cf3bf519
commit
a8bf141f8a
22 changed files with 22 additions and 22 deletions
|
|
@ -3,7 +3,7 @@
|
||||||
|
|
||||||
#include <QtWidgets>
|
#include <QtWidgets>
|
||||||
|
|
||||||
#ifdef Q_OS_WIN
|
#ifdef Q_CC_MSVC
|
||||||
#define LIB_EXPORT __declspec(dllexport)
|
#define LIB_EXPORT __declspec(dllexport)
|
||||||
#else
|
#else
|
||||||
#define LIB_EXPORT
|
#define LIB_EXPORT
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,7 @@
|
||||||
|
|
||||||
#include <QtWidgets>
|
#include <QtWidgets>
|
||||||
|
|
||||||
#ifdef Q_OS_WIN
|
#ifdef Q_CC_MSVC
|
||||||
#define LIB_EXPORT __declspec(dllexport)
|
#define LIB_EXPORT __declspec(dllexport)
|
||||||
#else
|
#else
|
||||||
#define LIB_EXPORT
|
#define LIB_EXPORT
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,7 @@
|
||||||
|
|
||||||
#include <QtGui>
|
#include <QtGui>
|
||||||
|
|
||||||
#ifdef Q_OS_WIN
|
#ifdef Q_CC_MSVC
|
||||||
#define LIB_EXPORT __declspec(dllexport)
|
#define LIB_EXPORT __declspec(dllexport)
|
||||||
#else
|
#else
|
||||||
#define LIB_EXPORT
|
#define LIB_EXPORT
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,7 @@
|
||||||
|
|
||||||
#include <Qt>
|
#include <Qt>
|
||||||
|
|
||||||
#ifdef Q_OS_WIN
|
#ifdef Q_CC_MSVC
|
||||||
#define LIB_EXPORT __declspec(dllexport)
|
#define LIB_EXPORT __declspec(dllexport)
|
||||||
#else
|
#else
|
||||||
#define LIB_EXPORT
|
#define LIB_EXPORT
|
||||||
|
|
|
||||||
|
|
@ -5,7 +5,7 @@
|
||||||
#include <QQuickPaintedItem>
|
#include <QQuickPaintedItem>
|
||||||
#include <eql_fun.h>
|
#include <eql_fun.h>
|
||||||
|
|
||||||
#ifdef Q_OS_WIN
|
#ifdef Q_CC_MSVC
|
||||||
#define LIB_EXPORT __declspec(dllexport)
|
#define LIB_EXPORT __declspec(dllexport)
|
||||||
#else
|
#else
|
||||||
#define LIB_EXPORT
|
#define LIB_EXPORT
|
||||||
|
|
|
||||||
|
|
@ -5,7 +5,7 @@
|
||||||
#include <QQuickPaintedItem>
|
#include <QQuickPaintedItem>
|
||||||
#include <eql_fun.h>
|
#include <eql_fun.h>
|
||||||
|
|
||||||
#ifdef Q_OS_WIN
|
#ifdef Q_CC_MSVC
|
||||||
#define LIB_EXPORT __declspec(dllexport)
|
#define LIB_EXPORT __declspec(dllexport)
|
||||||
#else
|
#else
|
||||||
#define LIB_EXPORT
|
#define LIB_EXPORT
|
||||||
|
|
|
||||||
|
|
@ -5,7 +5,7 @@
|
||||||
#include <QQuickPaintedItem>
|
#include <QQuickPaintedItem>
|
||||||
#include <eql_fun.h>
|
#include <eql_fun.h>
|
||||||
|
|
||||||
#ifdef Q_OS_WIN
|
#ifdef Q_CC_MSVC
|
||||||
#define LIB_EXPORT __declspec(dllexport)
|
#define LIB_EXPORT __declspec(dllexport)
|
||||||
#else
|
#else
|
||||||
#define LIB_EXPORT
|
#define LIB_EXPORT
|
||||||
|
|
|
||||||
|
|
@ -5,7 +5,7 @@
|
||||||
#include <QQuickPaintedItem>
|
#include <QQuickPaintedItem>
|
||||||
#include <eql_fun.h>
|
#include <eql_fun.h>
|
||||||
|
|
||||||
#ifdef Q_OS_WIN
|
#ifdef Q_CC_MSVC
|
||||||
#define LIB_EXPORT __declspec(dllexport)
|
#define LIB_EXPORT __declspec(dllexport)
|
||||||
#else
|
#else
|
||||||
#define LIB_EXPORT
|
#define LIB_EXPORT
|
||||||
|
|
|
||||||
|
|
@ -5,7 +5,7 @@
|
||||||
#include <QQuickPaintedItem>
|
#include <QQuickPaintedItem>
|
||||||
#include <eql_fun.h>
|
#include <eql_fun.h>
|
||||||
|
|
||||||
#ifdef Q_OS_WIN
|
#ifdef Q_CC_MSVC
|
||||||
#define LIB_EXPORT __declspec(dllexport)
|
#define LIB_EXPORT __declspec(dllexport)
|
||||||
#else
|
#else
|
||||||
#define LIB_EXPORT
|
#define LIB_EXPORT
|
||||||
|
|
|
||||||
|
|
@ -5,7 +5,7 @@
|
||||||
#include <QtWebKit>
|
#include <QtWebKit>
|
||||||
#include <eql_fun.h>
|
#include <eql_fun.h>
|
||||||
|
|
||||||
#ifdef Q_OS_WIN
|
#ifdef Q_CC_MSVC
|
||||||
#define LIB_EXPORT __declspec(dllexport)
|
#define LIB_EXPORT __declspec(dllexport)
|
||||||
#else
|
#else
|
||||||
#define LIB_EXPORT
|
#define LIB_EXPORT
|
||||||
|
|
|
||||||
|
|
@ -5,7 +5,7 @@
|
||||||
#include <QtWebKitWidgets>
|
#include <QtWebKitWidgets>
|
||||||
#include <eql_fun.h>
|
#include <eql_fun.h>
|
||||||
|
|
||||||
#ifdef Q_OS_WIN
|
#ifdef Q_CC_MSVC
|
||||||
#define LIB_EXPORT __declspec(dllexport)
|
#define LIB_EXPORT __declspec(dllexport)
|
||||||
#else
|
#else
|
||||||
#define LIB_EXPORT
|
#define LIB_EXPORT
|
||||||
|
|
|
||||||
|
|
@ -5,7 +5,7 @@
|
||||||
#include <QtWebKitWidgets>
|
#include <QtWebKitWidgets>
|
||||||
#include <eql_fun.h>
|
#include <eql_fun.h>
|
||||||
|
|
||||||
#ifdef Q_OS_WIN
|
#ifdef Q_CC_MSVC
|
||||||
#define LIB_EXPORT __declspec(dllexport)
|
#define LIB_EXPORT __declspec(dllexport)
|
||||||
#else
|
#else
|
||||||
#define LIB_EXPORT
|
#define LIB_EXPORT
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,7 @@
|
||||||
|
|
||||||
#include <QtGui>
|
#include <QtGui>
|
||||||
|
|
||||||
#ifdef Q_OS_WIN
|
#ifdef Q_CC_MSVC
|
||||||
#define LIB_EXPORT __declspec(dllexport)
|
#define LIB_EXPORT __declspec(dllexport)
|
||||||
#else
|
#else
|
||||||
#define LIB_EXPORT
|
#define LIB_EXPORT
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,7 @@
|
||||||
|
|
||||||
#include <QtGui>
|
#include <QtGui>
|
||||||
|
|
||||||
#ifdef Q_OS_WIN
|
#ifdef Q_CC_MSVC
|
||||||
#define LIB_EXPORT __declspec(dllexport)
|
#define LIB_EXPORT __declspec(dllexport)
|
||||||
#else
|
#else
|
||||||
#define LIB_EXPORT
|
#define LIB_EXPORT
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@
|
||||||
#include "../../ecl_fun.h"
|
#include "../../ecl_fun.h"
|
||||||
#include <QtHelp>
|
#include <QtHelp>
|
||||||
|
|
||||||
#ifdef Q_OS_WIN
|
#ifdef Q_CC_MSVC
|
||||||
#define LIB_EXPORT __declspec(dllexport)
|
#define LIB_EXPORT __declspec(dllexport)
|
||||||
#else
|
#else
|
||||||
#define LIB_EXPORT
|
#define LIB_EXPORT
|
||||||
|
|
|
||||||
|
|
@ -5,7 +5,7 @@
|
||||||
#include <QtMultimedia>
|
#include <QtMultimedia>
|
||||||
#include <QtMultimediaWidgets>
|
#include <QtMultimediaWidgets>
|
||||||
|
|
||||||
#ifdef Q_OS_WIN
|
#ifdef Q_CC_MSVC
|
||||||
#define LIB_EXPORT __declspec(dllexport)
|
#define LIB_EXPORT __declspec(dllexport)
|
||||||
#else
|
#else
|
||||||
#define LIB_EXPORT
|
#define LIB_EXPORT
|
||||||
|
|
|
||||||
|
|
@ -6,7 +6,7 @@
|
||||||
|
|
||||||
// Q_DECLARE_METATYPE(Q...)
|
// Q_DECLARE_METATYPE(Q...)
|
||||||
|
|
||||||
#ifdef Q_OS_WIN
|
#ifdef Q_CC_MSVC
|
||||||
#define LIB_EXPORT __declspec(dllexport)
|
#define LIB_EXPORT __declspec(dllexport)
|
||||||
#else
|
#else
|
||||||
#define LIB_EXPORT
|
#define LIB_EXPORT
|
||||||
|
|
|
||||||
|
|
@ -7,7 +7,7 @@
|
||||||
Q_DECLARE_METATYPE(QNetworkCacheMetaData)
|
Q_DECLARE_METATYPE(QNetworkCacheMetaData)
|
||||||
Q_DECLARE_METATYPE(QList<QNetworkProxy>)
|
Q_DECLARE_METATYPE(QList<QNetworkProxy>)
|
||||||
|
|
||||||
#ifdef Q_OS_WIN
|
#ifdef Q_CC_MSVC
|
||||||
#define LIB_EXPORT __declspec(dllexport)
|
#define LIB_EXPORT __declspec(dllexport)
|
||||||
#else
|
#else
|
||||||
#define LIB_EXPORT
|
#define LIB_EXPORT
|
||||||
|
|
|
||||||
|
|
@ -6,7 +6,7 @@
|
||||||
#include <QtQuickWidgets>
|
#include <QtQuickWidgets>
|
||||||
#include <QQmlError>
|
#include <QQmlError>
|
||||||
|
|
||||||
#ifdef Q_OS_WIN
|
#ifdef Q_CC_MSVC
|
||||||
#define LIB_EXPORT __declspec(dllexport)
|
#define LIB_EXPORT __declspec(dllexport)
|
||||||
#else
|
#else
|
||||||
#define LIB_EXPORT
|
#define LIB_EXPORT
|
||||||
|
|
|
||||||
|
|
@ -7,7 +7,7 @@
|
||||||
Q_DECLARE_METATYPE(QSqlIndex)
|
Q_DECLARE_METATYPE(QSqlIndex)
|
||||||
Q_DECLARE_METATYPE(QSqlRecord)
|
Q_DECLARE_METATYPE(QSqlRecord)
|
||||||
|
|
||||||
#ifdef Q_OS_WIN
|
#ifdef Q_CC_MSVC
|
||||||
#define LIB_EXPORT __declspec(dllexport)
|
#define LIB_EXPORT __declspec(dllexport)
|
||||||
#else
|
#else
|
||||||
#define LIB_EXPORT
|
#define LIB_EXPORT
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,7 @@
|
||||||
|
|
||||||
#include <QtSvg>
|
#include <QtSvg>
|
||||||
|
|
||||||
#ifdef Q_OS_WIN
|
#ifdef Q_CC_MSVC
|
||||||
#define LIB_EXPORT __declspec(dllexport)
|
#define LIB_EXPORT __declspec(dllexport)
|
||||||
#else
|
#else
|
||||||
#define LIB_EXPORT
|
#define LIB_EXPORT
|
||||||
|
|
|
||||||
|
|
@ -6,7 +6,7 @@
|
||||||
|
|
||||||
Q_DECLARE_METATYPE(QList<QWebPluginFactory::Plugin>)
|
Q_DECLARE_METATYPE(QList<QWebPluginFactory::Plugin>)
|
||||||
|
|
||||||
#ifdef Q_OS_WIN
|
#ifdef Q_CC_MSVC
|
||||||
#define LIB_EXPORT __declspec(dllexport)
|
#define LIB_EXPORT __declspec(dllexport)
|
||||||
#else
|
#else
|
||||||
#define LIB_EXPORT
|
#define LIB_EXPORT
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue