Opened 15 years ago
Closed 15 years ago
#2399 closed bug (fixed)
Build fails for r12842.
Reported by: | strk | Owned by: | nobody |
---|---|---|---|
Priority: | major: does not work as expected | Milestone: | Version 1.5.0 |
Component: | Build/Install | Version: | Trunk |
Keywords: | Cc: | ||
Must Fix for Release: | No | Platform: | SuSE |
Platform Version: | Awaiting user input: | no |
Description
In file included from /net/lafont/home/santisa/src/qgis/qgis/src/core/symbology-ng/qgssymbolv2.cpp:5: /net/lafont/home/santisa/src/qgis/qgis/src/core/symbology-ng/qgslinesymbollayerv2.h:70: error: field ‘mCustomDashVector’ has incomplete type /net/lafont/home/santisa/src/qgis/qgis/src/core/symbology-ng/qgslinesymbollayerv2.h: In member function ‘QVector<double> QgsSimpleLineSymbolLayerV2::customDashVector() const’: /net/lafont/home/santisa/src/qgis/qgis/src/core/symbology-ng/qgslinesymbollayerv2.h:58: error: return type ‘struct QVector<double>’ is incomplete /net/lafont/home/santisa/src/qgis/qgis/src/core/symbology-ng/qgslinesymbollayerv2.h:58: error: ‘mCustomDashVector’ was not declared in this scope /net/lafont/home/santisa/src/qgis/qgis/src/core/symbology-ng/qgslinesymbollayerv2.h: In member function ‘void QgsSimpleLineSymbolLayerV2::setCustomDashVector(const QVector<double>&)’: /net/lafont/home/santisa/src/qgis/qgis/src/core/symbology-ng/qgslinesymbollayerv2.h:59: error: ‘mCustomDashVector’ was not declared in this scope
Change History (11)
comment:1 by , 15 years ago
comment:2 by , 15 years ago
As of r12844 that problem is gone, now another is exposed:
src/core/symbology-ng/qgssymbolv2.h:104: error: non-static reference member ‘QgsRenderContext& QgsSymbolV2RenderContext::mRenderContext’, can't use default assignment operator sipcorepart0.cpp: In function ‘void assign_QgsSymbolV2RenderContext(void*, const void*)’: sipcorepart0.cpp:13644: note: synthesized method ‘QgsSymbolV2RenderContext& QgsSymbolV2RenderContext::operator=(const QgsSymbolV2RenderContext&)’ first required here make[2]: * [python/CMakeFiles/python_module_qgis_core.dir/core/sipcorepart0.cpp.o] Error 1 make[1]: * [python/CMakeFiles/python_module_qgis_core.dir/all] Error 2 make: * [all] Error 2
(could be already reported as I think I've read something about SIP being broked on the mailing list)
comment:4 by , 15 years ago
comment:5 by , 15 years ago
What Qt version do you use? At least Qt4.4 is necessary due QtWebKit component.
WITH_QWT cmake variable has other meaning: it says whether compile also parts that depend on Qwt toolkit (currently only GPS tracking widget).
comment:6 by , 15 years ago
libQtCore.so.4.4.3 qglobal.h:#define QT_VERSION_STR "4.4.3"
I guess I could do w/out QtWebKit, if there's a way to specify that at configure/cmake time.
comment:7 by , 15 years ago
QtWebKit is a required part for the help viewer.
Any chance the qtwebkit include files are not present on your system? (search e.g. for qwebview.h)
comment:8 by , 15 years ago
Indeed no qwebview.h I belive that part is in a package called libQtWebKit-devel. Qgis should check for qwebview.h existance and warn/error at configure time if it's mandatory
comment:10 by , 15 years ago
Unfortunately I installed libQtWebKit-devel so can't check it. Feel free to close if you did test yourself.
comment:11 by , 15 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Hm, probably it was a problem only with certain compiler versions. Try r12844, I hope it will fix the problem.