[Qgis-developer] Fwd: [Qt5] Compilation problems on windows

alisovenko alexander.lisovenko at gmail.com
Mon Dec 19 09:42:11 PST 2016


Hi!
I have a similar problem.
I try to build master qgis with qt 7.5.1 (windows 10 msvc 2013 and 2015).
But have Multiple errors and can not to build qgis:

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 [...] 

Maybe you know how to get rid of the error?




--
View this message in context: http://osgeo-org.1560.x6.nabble.com/Fwd-Qt5-Compilation-problems-on-windows-tp5295744p5300521.html
Sent from the Quantum GIS - Developer mailing list archive at Nabble.com.


More information about the Qgis-developer mailing list