Opened 14 years ago

Closed 14 years ago

#2581 closed bug (fixed)

Building on latest trunk is failing on Qt class introduced in Qt 4.5

Reported by: imincik1 Owned by: jef
Priority: major: does not work as expected Milestone: Version 1.5.0
Component: Build/Install Version: Trunk
Keywords: Cc: ivan.mincik@…
Must Fix for Release: Yes Platform: Debian
Platform Version: Debian Lenny Awaiting user input: no

Description

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'

Change History (3)

comment:1 by imincik1, 14 years ago

Cc: ivan.mincik@… added

comment:2 by imincik1, 14 years ago

Owner: changed from nobody to jef

comment:3 by jef, 14 years ago

Resolution: fixed
Status: newclosed

Qt 4.5 dependencies removed in r13143.

Note: See TracTickets for help on using tickets.