Hi,
I have a class derived from QVector as:
class MY_EXPORT QVector3DArray : public QVector<QVector3D>
{
};
class MY_EXPORT QVector3DArray : public QVector<QVector3D>
{
};
To copy to clipboard, switch view to plain text mode
I look at Qt codes, which does:
{
};
class Q_GUI_EXPORT
QPolygon : public QVector<QPoint>
{
};
class QStringList : public QList<QString>
{
};
class Q_GUI_EXPORT QPolygon : public QVector<QPoint>
{
};
To copy to clipboard, switch view to plain text mode
Where it doesn't export QStringList, while QPolygon has export. Why & how it works?
I am very confused. Because my QVector3DArray causes link error about multi defined functions. I also use QVector<QVector3D> in other places.
Bookmarks