mirror of
https://gitlab.com/eql/EQL5.git
synced 2025-12-06 02:30:31 -08:00
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>
|
||||
|
||||
#ifdef Q_OS_WIN
|
||||
#ifdef Q_CC_MSVC
|
||||
#define LIB_EXPORT __declspec(dllexport)
|
||||
#else
|
||||
#define LIB_EXPORT
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
#include <QtWidgets>
|
||||
|
||||
#ifdef Q_OS_WIN
|
||||
#ifdef Q_CC_MSVC
|
||||
#define LIB_EXPORT __declspec(dllexport)
|
||||
#else
|
||||
#define LIB_EXPORT
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
#include <QtGui>
|
||||
|
||||
#ifdef Q_OS_WIN
|
||||
#ifdef Q_CC_MSVC
|
||||
#define LIB_EXPORT __declspec(dllexport)
|
||||
#else
|
||||
#define LIB_EXPORT
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
#include <Qt>
|
||||
|
||||
#ifdef Q_OS_WIN
|
||||
#ifdef Q_CC_MSVC
|
||||
#define LIB_EXPORT __declspec(dllexport)
|
||||
#else
|
||||
#define LIB_EXPORT
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
#include <QtGui>
|
||||
|
||||
#ifdef Q_OS_WIN
|
||||
#ifdef Q_CC_MSVC
|
||||
#define LIB_EXPORT __declspec(dllexport)
|
||||
#else
|
||||
#define LIB_EXPORT
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
#include <QtGui>
|
||||
|
||||
#ifdef Q_OS_WIN
|
||||
#ifdef Q_CC_MSVC
|
||||
#define LIB_EXPORT __declspec(dllexport)
|
||||
#else
|
||||
#define LIB_EXPORT
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
#include <QtSvg>
|
||||
|
||||
#ifdef Q_OS_WIN
|
||||
#ifdef Q_CC_MSVC
|
||||
#define LIB_EXPORT __declspec(dllexport)
|
||||
#else
|
||||
#define LIB_EXPORT
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue