problem building qgis from source cannot call constructor ‘QVariant::QVariant’ directly

Bug #524354 reported by James Michael DuPont
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
qt4-x11 (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

 qgis error: cannot call constructor ‘QVariant::QVariant’ directly
Problem building qgis :

    [ 50%] Building CXX object src/app/CMakeFiles/qgis.dir/composer/qgscomposer.cpp.o
    /home/mdupont/2010/02/external/qgis/qgis/src/app/composer/qgscomposer.cpp: In member function ‘void QgsComposer::restoreWindowState()’:
    /home/mdupont/2010/02/external/qgis/qgis/src/app/composer/qgscomposer.cpp:1047:44: error: cannot call constructor ‘QVariant::QVariant’ directly
    /home/mdupont/2010/02/external/qgis/qgis/src/app/composer/qgscomposer.cpp:1047:44: note: for a function-style cast, remove the redundant ‘::QVariant’
    make[2]: *** [src/app/CMakeFiles/qgis.dir/composer/qgscomposer.cpp.o] Error 1
    make[1]: *** [src/app/CMakeFiles/qgis.dir/all] Error 2
    make: *** [all] Error 2

vvn info

    Path: .
    URL: https://svn.osgeo.org/qgis/trunk/qgis
    Repository Root: https://svn.osgeo.org/qgis
    Repository UUID: c8812cc2-4d05-0410-92ff-de0c093fc19c
    Revision: 12956
    Node Kind: directory
    Schedule: normal
    Last Changed Author: macho
    Last Changed Rev: 12956
    Last Changed Date: 2010-02-19 00:16:11 +0100 (Fri, 19 Feb 2010)

ProblemType: Bug
Architecture: i386
Date: Fri Feb 19 12:06:22 2010
DistroRelease: Ubuntu 9.10
InstallationMedia: Ubuntu-Netbook-Remix 9.10 "Karmic Koala" - Release i386 (20091028.4)
NonfreeKernelModules: nvidia
Package: libqt4-dev 4.5.3really4.5.2-0ubuntu1
ProcEnviron:
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.31-20.57-generic
SourcePackage: qt4-x11
Tags: ubuntu-unr
Uname: Linux 2.6.31-20-generic i686

Revision history for this message
James Michael DuPont (jamesmikedupont) wrote :
Revision history for this message
Jonathan Thomas (echidnaman) wrote :

This looks like a problem with qgis itself, not Qt.

Changed in qt4-x11 (Ubuntu):
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.