mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2025-02-18 08:54:15 +01:00
Fixes scopegadget failure to load with Qt versions > 4.7.4
This commit is contained in:
parent
dd26e7c80f
commit
f6d747d5f0
@ -24,16 +24,14 @@
|
||||
#pragma warning(disable: 4660)
|
||||
#endif // _MSC_VER
|
||||
|
||||
#ifdef QWT_DLL
|
||||
|
||||
#if defined(QWT_MAKEDLL) // create a Qwt DLL library
|
||||
#define QWT_EXPORT __declspec(dllexport)
|
||||
#define QWT_EXPORT Q_DECL_EXPORT
|
||||
#define QWT_TEMPLATEDLL
|
||||
#else // use a Qwt DLL library
|
||||
#define QWT_EXPORT __declspec(dllimport)
|
||||
#define QWT_EXPORT Q_DECL_IMPORT
|
||||
#endif
|
||||
|
||||
#endif // QWT_DLL
|
||||
|
||||
#endif // Q_WS_WIN || Q_WS_S60
|
||||
|
||||
|
@ -15,6 +15,14 @@ DEFINES += QWT_LIBRARY
|
||||
include(../../../openpilotgcslibrary.pri)
|
||||
include( ../qwtconfig.pri )
|
||||
|
||||
#VVERSION = $$[QT_VERSION]
|
||||
contains(QWT_CONFIG, QwtDll) {
|
||||
CONFIG += dll
|
||||
win32|symbian: DEFINES += QT_DLL QWT_DLL QWT_MAKEDLL
|
||||
}
|
||||
else {
|
||||
CONFIG += staticlib
|
||||
}
|
||||
HEADERS += \
|
||||
qwt.h \
|
||||
qwt_abstract_scale_draw.h \
|
||||
|
Loading…
x
Reference in New Issue
Block a user