[Qgis-developer] Problem in Compiling Source Code of Qgis in Ubuntu 12.04 LTS

Kshitij Kansal kansal.k at gmail.com
Tue Dec 31 05:12:21 PST 2013


Hello

I was trying to compile the source code of Qgis by reading the instructions
available at "https://github.com/qgis/QGIS/blob/master/INSTALL".

When I "make" after building, I get error like this:

/home/kshitij/Desktop/Qgis/QGIS/src/gui/raster/qgsrasterhistogramwidget.cpp:
In member function ‘void
QgsRasterHistogramWidget::on_mSaveAsImageButton_clicked()’:

/home/kshitij/Desktop/Qgis/QGIS/src/gui/raster/qgsrasterhistogramwidget.cpp:565:137:
error: conversion from ‘long int’ to ‘QString’ is ambiguous

/home/kshitij/Desktop/Qgis/QGIS/src/gui/raster/qgsrasterhistogramwidget.cpp:565:137:
note: candidates are:
/usr/include/qt4/QtCore/qstring.h:419:43: note: QString::QString(const
char*)
/usr/include/qt4/QtCore/qstring.h:88:14: note: QString::QString(const
QChar*)
make[2]: ***
[src/gui/CMakeFiles/qgis_gui.dir/raster/qgsrasterhistogramwidget.cpp.o]
Error 1
make[1]: *** [src/gui/CMakeFiles/qgis_gui.dir/all] Error 2
make: *** [all] Error 2

Can someone help me in sorting out this issue?

Regards,

Kshitij Kansal

Lab For Spatial Informatics,

IIIT Hyderabad
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20131231/a155a635/attachment.html>


More information about the Qgis-developer mailing list