[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-bugs-dist
Subject:    [Bug 180861] New: Marble does not compile with recent Qt 4.5
From:       Christoph Feck <christoph.feck () mathe-kapiert ! de>
Date:       2009-01-15 18:36:29
Message-ID: bug-180861-17878 () http ! bugs ! kde ! org/
[Download RAW message or body]

http://bugs.kde.org/show_bug.cgi?id=180861

           Summary: Marble does not compile with recent Qt 4.5 snapshot;
                    QVariant issue
           Product: marble
           Version: unspecified
          Platform: Compiled Sources
        OS/Version: unspecified
            Status: NEW
          Severity: wishlist
          Priority: NOR
         Component: general
        AssignedTo: rahn@kde.org
        ReportedBy: christoph.feck@mathe-kapiert.de


Version:            (using Devel)
Installed from:    Compiled sources

Compiling Marble with latest Qt 4.5 snapshot results in a compilation error.
The QVariant(void *) constructor has been made private.

When passing pointers to QVariant, the constructor QVariant(int typeOrUserType,
const void *copy) should be used. It may require registering a custom QVariant
type.

What follows is the detailed error message:

/usr/local/qt4/include/QtCore/qvariant.h: In member function 'virtual QVariant
Marble::GpxFileViewItem::data(int) const':
/usr/local/qt4/include/QtCore/qvariant.h:408: error:
'QVariant::QVariant(void*)' is private
/mnt/svn/kde/trunk/KDE/kdeedu/marble/src/lib/GpxFileViewItem.cpp:68: error:
within this context
make[2]: *** [marble/src/lib/CMakeFiles/marblewidget.dir/GpxFileViewItem.o]
Error 1
make[1]: *** [marble/src/lib/CMakeFiles/marblewidget.dir/all] Error 2
make: *** [all] Error 2
-- Failed: KDE/kdeedu


-- 
Configure bugmail: http://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic