Hi Alan,
> -----Original Message-----
> From: Alan W. Irwin [mailto:ir...@beluga.phys.uvic.ca]
> Sent: Sunday, December 11, 2016 11:25 PM
>
> Unfortunately, those compiler warnings in the report about "redeclared without
> dllimport attribute" (and eventual build failure for the qt device driver)
> don't make a
> lot of sense to me at the present time.
That is only a warning, the errors that the compiler finds are related to:
const QMetaObjectExtraData MasterHandler::staticMetaObjectExtraData = {
The odd thing is that the file moc_qt.cpp contains multiple definitions of this
member as well as the function qt_static_metacall. I cannot find a version
where the dllimport attribute is used.
I compared the code to the one generated by the regular build (the august one)
and they are identical apart from the file extension (.cpp versus .cxx) and the
timestamp.
This is really puzzling, I agree with your analysis that there should be no
difference between the two build methods.
Regards,
Arjen
DISCLAIMER: This message is intended exclusively for the addressee(s) and may
contain confidential and privileged information. If you are not the intended
recipient please notify the sender immediately and destroy this message.
Unauthorized use, disclosure or copying of this message is strictly prohibited.
The foundation 'Stichting Deltares', which has its seat at Delft, The
Netherlands, Commercial Registration Number 41146461, is not liable in any way
whatsoever for consequences and/or damages resulting from the improper,
incomplete and untimely dispatch, receipt and/or content of this e-mail.
/****************************************************************************
** Meta object code from reading C++ file 'qt.h'
**
** Created by: The Qt Meta Object Compiler version 63 (Qt 4.8.7)
**
** WARNING! All changes made in this file will be lost!
*****************************************************************************/
#include "../../../../../plplot-git/include/qt.h"
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'qt.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 63
#error "This file was generated using the moc from 4.8.7. It"
#error "cannot be used with the include files from this version of Qt."
#error "(The moc has changed too much.)"
#endif
QT_BEGIN_MOC_NAMESPACE
static const uint qt_meta_data_MasterHandler[] = {
// content:
6, // revision
0, // classname
0, 0, // classinfo
2, 14, // methods
0, 0, // properties
0, 0, // enums/sets
0, 0, // constructors
0, // flags
2, // signalCount
// signals: signature, parameters, type, tag, flags
15, 14, 14, 14, 0x05,
35, 14, 14, 14, 0x05,
0 // eod
};
static const char qt_meta_stringdata_MasterHandler[] = {
"MasterHandler\0\0MasterChangedPage()\0"
"MasterClosed()\0"
};
void MasterHandler::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int
_id, void **_a)
{
if (_c == QMetaObject::InvokeMetaMethod) {
Q_ASSERT(staticMetaObject.cast(_o));
MasterHandler *_t = static_cast<MasterHandler *>(_o);
switch (_id) {
case 0: _t->MasterChangedPage(); break;
case 1: _t->MasterClosed(); break;
default: ;
}
}
Q_UNUSED(_a);
}
const QMetaObjectExtraData MasterHandler::staticMetaObjectExtraData = {
0, qt_static_metacall
};
const QMetaObject MasterHandler::staticMetaObject = {
{ &QObject::staticMetaObject, qt_meta_stringdata_MasterHandler,
qt_meta_data_MasterHandler, &staticMetaObjectExtraData }
};
#ifdef Q_NO_DATA_RELOCATION
const QMetaObject &MasterHandler::getStaticMetaObject() { return
staticMetaObject; }
#endif //Q_NO_DATA_RELOCATION
const QMetaObject *MasterHandler::metaObject() const
{
return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject :
&staticMetaObject;
}
void *MasterHandler::qt_metacast(const char *_clname)
{
if (!_clname) return 0;
if (!strcmp(_clname, qt_meta_stringdata_MasterHandler))
return static_cast<void*>(const_cast< MasterHandler*>(this));
return QObject::qt_metacast(_clname);
}
int MasterHandler::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
_id = QObject::qt_metacall(_c, _id, _a);
if (_id < 0)
return _id;
if (_c == QMetaObject::InvokeMetaMethod) {
if (_id < 2)
qt_static_metacall(this, _c, _id, _a);
_id -= 2;
}
return _id;
}
// SIGNAL 0
void MasterHandler::MasterChangedPage()
{
QMetaObject::activate(this, &staticMetaObject, 0, 0);
}
// SIGNAL 1
void MasterHandler::MasterClosed()
{
QMetaObject::activate(this, &staticMetaObject, 1, 0);
}
static const uint qt_meta_data_QtPLWidget[] = {
// content:
6, // revision
0, // classname
0, 0, // classinfo
6, 14, // methods
0, 0, // properties
0, 0, // enums/sets
0, 0, // constructors
0, // flags
0, // signalCount
// slots: signature, parameters, type, tag, flags
18, 12, 11, 11, 0x09,
48, 12, 11, 11, 0x09,
80, 12, 11, 11, 0x09,
109, 12, 11, 11, 0x09,
135, 12, 11, 11, 0x09,
160, 11, 11, 11, 0x09,
0 // eod
};
static const char qt_meta_stringdata_QtPLWidget[] = {
"QtPLWidget\0\0event\0mousePressEvent(QMouseEvent*)\0"
"mouseReleaseEvent(QMouseEvent*)\0"
"mouseMoveEvent(QMouseEvent*)\0"
"keyPressEvent(QKeyEvent*)\0"
"closeEvent(QCloseEvent*)\0nextPage()\0"
};
void QtPLWidget::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id,
void **_a)
{
if (_c == QMetaObject::InvokeMetaMethod) {
Q_ASSERT(staticMetaObject.cast(_o));
QtPLWidget *_t = static_cast<QtPLWidget *>(_o);
switch (_id) {
case 0: _t->mousePressEvent((*reinterpret_cast<
QMouseEvent*(*)>(_a[1]))); break;
case 1: _t->mouseReleaseEvent((*reinterpret_cast<
QMouseEvent*(*)>(_a[1]))); break;
case 2: _t->mouseMoveEvent((*reinterpret_cast<
QMouseEvent*(*)>(_a[1]))); break;
case 3: _t->keyPressEvent((*reinterpret_cast< QKeyEvent*(*)>(_a[1])));
break;
case 4: _t->closeEvent((*reinterpret_cast< QCloseEvent*(*)>(_a[1])));
break;
case 5: _t->nextPage(); break;
default: ;
}
}
}
const QMetaObjectExtraData QtPLWidget::staticMetaObjectExtraData = {
0, qt_static_metacall
};
const QMetaObject QtPLWidget::staticMetaObject = {
{ &QWidget::staticMetaObject, qt_meta_stringdata_QtPLWidget,
qt_meta_data_QtPLWidget, &staticMetaObjectExtraData }
};
#ifdef Q_NO_DATA_RELOCATION
const QMetaObject &QtPLWidget::getStaticMetaObject() { return staticMetaObject;
}
#endif //Q_NO_DATA_RELOCATION
const QMetaObject *QtPLWidget::metaObject() const
{
return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject :
&staticMetaObject;
}
void *QtPLWidget::qt_metacast(const char *_clname)
{
if (!_clname) return 0;
if (!strcmp(_clname, qt_meta_stringdata_QtPLWidget))
return static_cast<void*>(const_cast< QtPLWidget*>(this));
if (!strcmp(_clname, "QtPLDriver"))
return static_cast< QtPLDriver*>(const_cast< QtPLWidget*>(this));
return QWidget::qt_metacast(_clname);
}
int QtPLWidget::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
_id = QWidget::qt_metacall(_c, _id, _a);
if (_id < 0)
return _id;
if (_c == QMetaObject::InvokeMetaMethod) {
if (_id < 6)
qt_static_metacall(this, _c, _id, _a);
_id -= 6;
}
return _id;
}
static const uint qt_meta_data_QtExtWidget[] = {
// content:
6, // revision
0, // classname
0, 0, // classinfo
3, 14, // methods
0, 0, // properties
0, 0, // enums/sets
0, 0, // constructors
0, // flags
0, // signalCount
// slots: signature, parameters, type, tag, flags
19, 13, 12, 12, 0x0a,
48, 13, 12, 12, 0x0a,
80, 13, 12, 12, 0x0a,
0 // eod
};
static const char qt_meta_stringdata_QtExtWidget[] = {
"QtExtWidget\0\0event\0mouseMoveEvent(QMouseEvent*)\0"
"mouseReleaseEvent(QMouseEvent*)\0"
"mousePressEvent(QMouseEvent*)\0"
};
void QtExtWidget::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int
_id, void **_a)
{
if (_c == QMetaObject::InvokeMetaMethod) {
Q_ASSERT(staticMetaObject.cast(_o));
QtExtWidget *_t = static_cast<QtExtWidget *>(_o);
switch (_id) {
case 0: _t->mouseMoveEvent((*reinterpret_cast<
QMouseEvent*(*)>(_a[1]))); break;
case 1: _t->mouseReleaseEvent((*reinterpret_cast<
QMouseEvent*(*)>(_a[1]))); break;
case 2: _t->mousePressEvent((*reinterpret_cast<
QMouseEvent*(*)>(_a[1]))); break;
default: ;
}
}
}
const QMetaObjectExtraData QtExtWidget::staticMetaObjectExtraData = {
0, qt_static_metacall
};
const QMetaObject QtExtWidget::staticMetaObject = {
{ &QtPLWidget::staticMetaObject, qt_meta_stringdata_QtExtWidget,
qt_meta_data_QtExtWidget, &staticMetaObjectExtraData }
};
#ifdef Q_NO_DATA_RELOCATION
const QMetaObject &QtExtWidget::getStaticMetaObject() { return
staticMetaObject; }
#endif //Q_NO_DATA_RELOCATION
const QMetaObject *QtExtWidget::metaObject() const
{
return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject :
&staticMetaObject;
}
void *QtExtWidget::qt_metacast(const char *_clname)
{
if (!_clname) return 0;
if (!strcmp(_clname, qt_meta_stringdata_QtExtWidget))
return static_cast<void*>(const_cast< QtExtWidget*>(this));
return QtPLWidget::qt_metacast(_clname);
}
int QtExtWidget::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
_id = QtPLWidget::qt_metacall(_c, _id, _a);
if (_id < 0)
return _id;
if (_c == QMetaObject::InvokeMetaMethod) {
if (_id < 3)
qt_static_metacall(this, _c, _id, _a);
_id -= 3;
}
return _id;
}
QT_END_MOC_NAMESPACE
/* This file is autogenerated, do not edit*/
#include "moc_qt.cpp"
------------------------------------------------------------------------------
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today.http://sdm.link/xeonphi
_______________________________________________
Plplot-devel mailing list
Plplot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-devel