Hi try to <br>remove from CMakeList the check for QTWebkit.<br><br>Apparently it seem work.<br><br>The cmake generate the build.<br>But when try to compile in the make phase<br><br>I have an error :)<br><br>I report the log of error.<br>
<br>.....<br>[ 87%] Generating moc_qgshelpviewer.cxx<br>Scanning dependencies of target qgis_help<br>[ 87%] Building CXX object src/helpviewer/CMakeFiles/qgis_help.dir/main.cpp.o<br>In file included from /home/archivio/tomcat/software/qgis/Quantum-GIS/src/helpviewer/qgshelpviewer.h:21,<br>
from /home/archivio/tomcat/software/qgis/Quantum-GIS/src/helpviewer/main.cpp:23:<br>/home/archivio/tomcat/software/qgis/Quantum-GIS/build-master/src/helpviewer/ui_qgshelpviewerbase.h:21:29: error: QtWebKit/QWebView: No such file or directory<br>
In file included from /home/archivio/tomcat/software/qgis/Quantum-GIS/src/helpviewer/qgshelpviewer.h:21,<br> from /home/archivio/tomcat/software/qgis/Quantum-GIS/src/helpviewer/main.cpp:23:<br>/home/archivio/tomcat/software/qgis/Quantum-GIS/build-master/src/helpviewer/ui_qgshelpviewerbase.h:29: error: ISO C++ forbids declaration of âQWebViewâ with no type<br>
/home/archivio/tomcat/software/qgis/Quantum-GIS/build-master/src/helpviewer/ui_qgshelpviewerbase.h:29: error: expected â;â before â*â token<br>/home/archivio/tomcat/software/qgis/Quantum-GIS/build-master/src/helpviewer/ui_qgshelpviewerbase.h: In member function âvoid Ui_QgsHelpViewerBase::setupUi(QDialog*)â:<br>
/home/archivio/tomcat/software/qgis/Quantum-GIS/build-master/src/helpviewer/ui_qgshelpviewerbase.h:45: error: âwebViewâ was not declared in this scope<br>/home/archivio/tomcat/software/qgis/Quantum-GIS/build-master/src/helpviewer/ui_qgshelpviewerbase.h:45: error: expected type-specifier before âQWebViewâ<br>
/home/archivio/tomcat/software/qgis/Quantum-GIS/build-master/src/helpviewer/ui_qgshelpviewerbase.h:45: error: expected â;â before âQWebViewâ<br>/home/archivio/tomcat/software/qgis/Quantum-GIS/build-master/src/helpviewer/ui_qgshelpviewerbase.h:47: error: invalid use of incomplete type âstruct QUrlâ<br>
/usr/include/QtCore/qmetatype.h:260: error: forward declaration of âstruct QUrlâ<br>make[2]: *** [src/helpviewer/CMakeFiles/qgis_help.dir/main.cpp.o] Error 1<br>make[1]: *** [src/helpviewer/CMakeFiles/qgis_help.dir/all] Error 2<br>
make: *** [all] Error 2<br>.....<br><br>I guess this section (helpviewer) is pretty unusable in a qgis-server.<br>So perhaps this could be avoided.<br><br>Perhaps this could be an interesting feature:<br>An option to compile qgis only with the feature needed for use as qgis-server.<br>
?<br><br clear="all"><br>-- <br>-----------------<br>Andrea Peri<br>. . . . . . . . . <br>qwerty àèìòù<br>-----------------<br><br>