[Qgis-developer] Build master QGIS with qt5 windows.

alisovenko alexander.lisovenko at gmail.com
Mon Dec 19 03:02:51 PST 2016


Hello!

I try to build master qgis with qt 7.5.1 (windows 10 msvc 2013).

qgis_analysis target building end with LINK error:

qgis_core.lib(qgis_core.dll) : error LNK2005: "public: __thiscall
QVector<class QVariant>::QVector<class QVariant>(class QVector<class
QVariant> const &)" already defined in qgsgraph.obj [...] 
sgraph.obj
[E:\dev\nextgis.qgis\qgis-master-build\src\analysis\qgis_analysis.vcxproj]
qgis_core.lib(qgis_core.dll) : error LNK2005: "public: __thiscall
QVector<class QVariant>::~QVector<class QVariant>(void)"
(??1?$QVector at VQVariant@@@@QAE at XZ already defined in qgsgraph.obj [...] 
qgis_core.lib(qgis_core.dll) : error LNK2005: "public: class QVector<class
QVariant> & __thiscall QVector<class QVariant>::operator=(class
QVector<class QVariant> const &)" (??4?$QVector at VQVariant@@@@QAEAAV0 at ABV0@
@Z) already defined in qgsgraph.obj [...] 
qgis_core.lib(qgis_core.dll) : error LNK2005: "public: __thiscall
QVector<class QVariant>::QVector<class QVariant>(void)"
(??0?$QVector at VQVariant@@@@QAE at XZ) already defined in qgsgraph.obj [...] 

What could be the reason?



--
View this message in context: http://osgeo-org.1560.x6.nabble.com/Build-master-QGIS-with-qt5-windows-tp5300438.html
Sent from the Quantum GIS - Developer mailing list archive at Nabble.com.


More information about the Qgis-developer mailing list