[Qgis-developer] build error on qgscomposer.cpp
Vincent Schut
schut at sarvision.nl
Tue Apr 27 08:46:43 EDT 2010
Hi, I'm trying to (re)build my qgis, but make is halting at 50% with the
following message:
[ 50%] Building CXX object
src/app/CMakeFiles/qgis.dir/composer/qgscomposer.cpp.o
/usr/local/src/qgis/src/app/composer/qgscomposer.cpp: In member function
‘void QgsComposer::restoreWindowState()’:
/usr/local/src/qgis/src/app/composer/qgscomposer.cpp:1034:44: error:
cannot call constructor ‘QVariant::QVariant’ directly
/usr/local/src/qgis/src/app/composer/qgscomposer.cpp:1034:44: error:
for a function-style cast, remove the redundant ‘::QVariant’
make[2]: *** [src/app/CMakeFiles/qgis.dir/composer/qgscomposer.cpp.o]
Error 1
make[1]: *** [src/app/CMakeFiles/qgis.dir/all] Error 2
make: *** [all] Error 2
I'm using qgis from svn trunk. I completely emptied the build folder
before building, and reran ccmake on the qgis source folder.
gcc --version
gcc (GCC) 4.5.0
Copyright (C) 2010 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
qt: 4.6.2
Regards,
Vincent Schut.
More information about the Qgis-developer
mailing list