[Qgis-developer] Re: some trouble compiling qgis on RH
Andrea Peri
aperi2007 at gmail.com
Thu Jan 5 12:59:59 EST 2012
Hi try to
remove from CMakeList the check for QTWebkit.
Apparently it seem work.
The cmake generate the build.
But when try to compile in the make phase
I have an error :)
I report the log of error.
.....
[ 87%] Generating moc_qgshelpviewer.cxx
Scanning dependencies of target qgis_help
[ 87%] Building CXX object
src/helpviewer/CMakeFiles/qgis_help.dir/main.cpp.o
In file included from
/home/archivio/tomcat/software/qgis/Quantum-GIS/src/helpviewer/qgshelpviewer.h:21,
from
/home/archivio/tomcat/software/qgis/Quantum-GIS/src/helpviewer/main.cpp:23:
/home/archivio/tomcat/software/qgis/Quantum-GIS/build-master/src/helpviewer/ui_qgshelpviewerbase.h:21:29:
error: QtWebKit/QWebView: No such file or directory
In file included from
/home/archivio/tomcat/software/qgis/Quantum-GIS/src/helpviewer/qgshelpviewer.h:21,
from
/home/archivio/tomcat/software/qgis/Quantum-GIS/src/helpviewer/main.cpp:23:
/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
/home/archivio/tomcat/software/qgis/Quantum-GIS/build-master/src/helpviewer/ui_qgshelpviewerbase.h:29:
error: expected â;â before â*â token
/home/archivio/tomcat/software/qgis/Quantum-GIS/build-master/src/helpviewer/ui_qgshelpviewerbase.h:
In member function âvoid Ui_QgsHelpViewerBase::setupUi(QDialog*)â:
/home/archivio/tomcat/software/qgis/Quantum-GIS/build-master/src/helpviewer/ui_qgshelpviewerbase.h:45:
error: âwebViewâ was not declared in this scope
/home/archivio/tomcat/software/qgis/Quantum-GIS/build-master/src/helpviewer/ui_qgshelpviewerbase.h:45:
error: expected type-specifier before âQWebViewâ
/home/archivio/tomcat/software/qgis/Quantum-GIS/build-master/src/helpviewer/ui_qgshelpviewerbase.h:45:
error: expected â;â before âQWebViewâ
/home/archivio/tomcat/software/qgis/Quantum-GIS/build-master/src/helpviewer/ui_qgshelpviewerbase.h:47:
error: invalid use of incomplete type âstruct QUrlâ
/usr/include/QtCore/qmetatype.h:260: error: forward declaration of âstruct
QUrlâ
make[2]: *** [src/helpviewer/CMakeFiles/qgis_help.dir/main.cpp.o] Error 1
make[1]: *** [src/helpviewer/CMakeFiles/qgis_help.dir/all] Error 2
make: *** [all] Error 2
.....
I guess this section (helpviewer) is pretty unusable in a qgis-server.
So perhaps this could be avoided.
Perhaps this could be an interesting feature:
An option to compile qgis only with the feature needed for use as
qgis-server.
?
--
-----------------
Andrea Peri
. . . . . . . . .
qwerty àèìòù
-----------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/qgis-developer/attachments/20120105/be8fe20f/attachment.html
More information about the Qgis-developer
mailing list