Building on latest trunk is failing on Qt class introduced in Qt 4.5 #12641
Labels
Bug
Either a bug report, or a bug fix. Let's hope for the latter!
Build/Install
Related to compiling or installing QGIS
Milestone
Author Name: Ivan Mincik (Ivan Mincik)
Original Redmine Issue: 2581
Redmine category:build/install
Assignee: Jürgen Fischer
Building on latest trunk is failing on Qt class (QNetworkDiskCache) introduced in Qt 4.5. According INSTALL file, Qt version should be >= 4.3.0.
[ 40%] Building CXX object src/app/CMakeFiles/qgis.dir/qgisapp.cpp.o
/tmp/buildd/qgis-1.5.0/src/app/qgisapp.cpp:71:29: error: QNetworkDiskCache: No such file or directory
/tmp/buildd/qgis-1.5.0/src/app/qgisapp.cpp: In member function 'void [[QgisApp]]::namUpdate()':
/tmp/buildd/qgis-1.5.0/src/app/qgisapp.cpp:6277: error: 'QNetworkDiskCache' was not declared in this scope
/tmp/buildd/qgis-1.5.0/src/app/qgisapp.cpp:6277: error: 'cache' was not declared in this scope
/tmp/buildd/qgis-1.5.0/src/app/qgisapp.cpp:6277: error: 'QNetworkDiskCache' cannot appear in a constant-expression
/tmp/buildd/qgis-1.5.0/src/app/qgisapp.cpp:6277: error: parse error in template argument list
/tmp/buildd/qgis-1.5.0/src/app/qgisapp.cpp:6277: error: 'class QNetworkAccessManager' has no member named 'cache'
/tmp/buildd/qgis-1.5.0/src/app/qgisapp.cpp:6279: error: expected type-specifier before 'QNetworkDiskCache'
/tmp/buildd/qgis-1.5.0/src/app/qgisapp.cpp:6279: error: expected @;' before 'QNetworkDiskCache'
/tmp/buildd/qgis-1.5.0/src/app/qgisapp.cpp:6290: error: 'class QNetworkAccessManager' has no member named 'cache'
/tmp/buildd/qgis-1.5.0/src/app/qgisapp.cpp:6291: error: 'class QNetworkAccessManager' has no member named 'setCache'
The text was updated successfully, but these errors were encountered: