<html><body><div style="color:#000; background-color:#fff; font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:12pt"><pre style="white-space: pre-wrap;">Hi dev, now I have updated my master repository, I can not build QGIS in visual studio.

May be this commit ?
<a href="https://github.com/qgis/QGIS/commit/e8205c98c938b60569c30d5c0bbec3acab1f441a">https://github.com/qgis/QGIS/commit/e8205c98c938b60569c30d5c0bbec3acab1f441a</a>


I get these errors...

2>  qgssinglesymbolrendererv2.cpp
2>c:\Archivos de programa\Microsoft Visual Studio 10.0\VC\include\utility(102): error C2248: 'QScopedPointer<T>::QScopedPointer' : cannot access private member declared in class 'QScopedPointer<T>'
2>          with
2>          [
2>              T=QgsSymbolV2
2>          ]
2>          D:\TFS_OSGeo\SIT\SIG_SDK\OSGeo\OSGeo4W\include\qt4\QtCore/qscopedpointer.h(170) : see declaration of 'QScopedPointer<T>::QScopedPointer'
2>          with
2>          [
2>              T=QgsSymbolV2
2>          ]
2>          ..\..\..\QGIS\src\core\symbology-ng\qgssinglesymbolrendererv2.cpp(59) : see reference to function template instantiation 'void std::swap<QScopedPointer<T>>(_Ty &,_Ty &)' being compiled
2>          with
2>          [
2>              T=QgsSymbolV2,
2>              _Ty=QScopedPointer<QgsSymbolV2>
2>          ]
2>c:\Archivos de programa\Microsoft Visual Studio 10.0\VC\include\utility(103): error C2248: 'QScopedPointer<T>::operator =' : cannot access private member declared in class 'QScopedPointer<T>'
2>          with
2>          [
2>              T=QgsSymbolV2
2>          ]
2>          D:\TFS_OSGeo\SIT\SIG_SDK\OSGeo\OSGeo4W\include\qt4\QtCore/qscopedpointer.h(170) : see declaration of 'QScopedPointer<T>::operator ='
2>          with
2>          [
2>              T=QgsSymbolV2
2>          ]
2>c:\Archivos de programa\Microsoft Visual Studio 10.0\VC\include\utility(104): error C2248: 'QScopedPointer<T>::operator =' : cannot access private member declared in class 'QScopedPointer<T>'
2>          with
2>          [
2>              T=QgsSymbolV2
2>          ]
2>          D:\TFS_OSGeo\SIT\SIG_SDK\OSGeo\OSGeo4W\include\qt4\QtCore/qscopedpointer.h(170) : see declaration of 'QScopedPointer<T>::operator ='
2>          with
2>          [
2>              T=QgsSymbolV2
2>          ]
2>c:\Archivos de programa\Microsoft Visual Studio 10.0\VC\include\utility(102): error C2248: 'QScopedPointer<T>::QScopedPointer' : cannot access private member declared in class 'QScopedPointer<T>'
2>          with
2>          [
2>              T=QgsExpression
2>          ]
2>          D:\TFS_OSGeo\SIT\SIG_SDK\OSGeo\OSGeo4W\include\qt4\QtCore/qscopedpointer.h(170) : see declaration of 'QScopedPointer<T>::QScopedPointer'
2>          with
2>          [
2>              T=QgsExpression
2>          ]
2>          ..\..\..\QGIS\src\core\symbology-ng\qgssinglesymbolrendererv2.cpp(60) : see reference to function template instantiation 'void std::swap<QScopedPointer<T>>(_Ty &,_Ty &)' being compiled
2>          with
2>          [
2>              T=QgsExpression,
2>              _Ty=QScopedPointer<QgsExpression>
2>          ]
2>c:\Archivos de programa\Microsoft Visual Studio 10.0\VC\include\utility(103): error C2248: 'QScopedPointer<T>::operator =' : cannot access private member declared in class 'QScopedPointer<T>'
2>          with
2>          [
2>              T=QgsExpression
2>          ]
2>          D:\TFS_OSGeo\SIT\SIG_SDK\OSGeo\OSGeo4W\include\qt4\QtCore/qscopedpointer.h(170) : see declaration of 'QScopedPointer<T>::operator ='
2>          with
2>          [
2>              T=QgsExpression
2>          ]
2>c:\Archivos de programa\Microsoft Visual Studio 10.0\VC\include\utility(104): error C2248: 'QScopedPointer<T>::operator =' : cannot access private member declared in class 'QScopedPointer<T>'
2>          with
2>          [
2>              T=QgsExpression
2>          ]
2>          D:\TFS_OSGeo\SIT\SIG_SDK\OSGeo\OSGeo4W\include\qt4\QtCore/qscopedpointer.h(170) : see declaration of 'QScopedPointer<T>::operator ='
2>          with
2>          [
2>              T=QgsExpression
2>          ]
2>  qgscategorizedsymbolrendererv2.cpp
2>c:\Archivos de programa\Microsoft Visual Studio 10.0\VC\include\utility(102): error C2248: 'QScopedPointer<T>::QScopedPointer' : cannot access private member declared in class 'QScopedPointer<T>'
2>          with
2>          [
2>              T=QgsSymbolV2
2>          ]
2>          D:\TFS_OSGeo\SIT\SIG_SDK\OSGeo\OSGeo4W\include\qt4\QtCore/qscopedpointer.h(170) : see declaration of 'QScopedPointer<T>::QScopedPointer'
2>          with
2>          [
2>              T=QgsSymbolV2
2>          ]
2>          ..\..\..\QGIS\src\core\symbology-ng\qgscategorizedsymbolrendererv2.cpp(59) : see reference to function template instantiation 'void std::swap<QScopedPointer<T>>(_Ty &,_Ty &)' being compiled
2>          with
2>          [
2>              T=QgsSymbolV2,
2>              _Ty=QScopedPointer<QgsSymbolV2>
2>          ]
2>c:\Archivos de programa\Microsoft Visual Studio 10.0\VC\include\utility(103): error C2248: 'QScopedPointer<T>::operator =' : cannot access private member declared in class 'QScopedPointer<T>'
2>          with
2>          [
2>              T=QgsSymbolV2
2>          ]
2>          D:\TFS_OSGeo\SIT\SIG_SDK\OSGeo\OSGeo4W\include\qt4\QtCore/qscopedpointer.h(170) : see declaration of 'QScopedPointer<T>::operator ='
2>          with
2>          [
2>              T=QgsSymbolV2
2>          ]
2>c:\Archivos de programa\Microsoft Visual Studio 10.0\VC\include\utility(104): error C2248: 'QScopedPointer<T>::operator =' : cannot access private member declared in class 'QScopedPointer<T>'
2>          with
2>          [
2>              T=QgsSymbolV2
2>          ]
2>          D:\TFS_OSGeo\SIT\SIG_SDK\OSGeo\OSGeo4W\include\qt4\QtCore/qscopedpointer.h(170) : see declaration of 'QScopedPointer<T>::operator ='
2>          with
2>          [
2>              T=QgsSymbolV2
2>          ]
2>  qgsgraduatedsymbolrendererv2.cpp
2>c:\Archivos de programa\Microsoft Visual Studio 10.0\VC\include\utility(102): error C2248: 'QScopedPointer<T>::QScopedPointer' : cannot access private member declared in class 'QScopedPointer<T>'
2>          with
2>          [
2>              T=QgsSymbolV2
2>          ]
2>          D:\TFS_OSGeo\SIT\SIG_SDK\OSGeo\OSGeo4W\include\qt4\QtCore/qscopedpointer.h(170) : see declaration of 'QScopedPointer<T>::QScopedPointer'
2>          with
2>          [
2>              T=QgsSymbolV2
2>          ]
2>          ..\..\..\QGIS\src\core\symbology-ng\qgsgraduatedsymbolrendererv2.cpp(65) : see reference to function template instantiation 'void std::swap<QScopedPointer<T>>(_Ty &,_Ty &)' being compiled
2>          with
2>          [
2>              T=QgsSymbolV2,
2>              _Ty=QScopedPointer<QgsSymbolV2>
2>          ]
2>c:\Archivos de programa\Microsoft Visual Studio 10.0\VC\include\utility(103): error C2248: 'QScopedPointer<T>::operator =' : cannot access private member declared in class 'QScopedPointer<T>'
2>          with
2>          [
2>              T=QgsSymbolV2
2>          ]
2>          D:\TFS_OSGeo\SIT\SIG_SDK\OSGeo\OSGeo4W\include\qt4\QtCore/qscopedpointer.h(170) : see declaration of 'QScopedPointer<T>::operator ='
2>          with
2>          [
2>              T=QgsSymbolV2
2>          ]
2>c:\Archivos de programa\Microsoft Visual Studio 10.0\VC\include\utility(104): error C2248: 'QScopedPointer<T>::operator =' : cannot access private member declared in class 'QScopedPointer<T>'
2>          with
2>          [
2>              T=QgsSymbolV2
2>          ]
2>          D:\TFS_OSGeo\SIT\SIG_SDK\OSGeo\OSGeo4W\include\qt4\QtCore/qscopedpointer.h(170) : see declaration of 'QScopedPointer<T>::operator ='
2>          with
2>          [
2>              T=QgsSymbolV2
2>          ]

Thanks in advance</pre></div></body></html>