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

List:       kde-bugs-dist
Subject:    [Bug 180908] New: digiKam does not compile with recent Qt 4.5
From:       Christoph Feck <christoph.feck () mathe-kapiert ! de>
Date:       2009-01-16 1:07:17
Message-ID: bug-180908-17878 () http ! bugs ! kde ! org/
[Download RAW message or body]

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

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


Version:            (using Devel)
Installed from:    Compiled sources

Compiling digiKam 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
Digikam::AbstractAlbumModel::data(const QModelIndex&, int) const':
/usr/local/qt4/include/QtCore/qvariant.h:408: error:
'QVariant::QVariant(void*)' is private
/mnt/svn/kde/trunk/extragear/graphics/digikam/digikam/albummodel.cpp:167:
error: within this context
make[2]: *** [digikam/digikam/CMakeFiles/digikam.dir/albummodel.o] Error 1
make[1]: *** [digikam/digikam/CMakeFiles/digikam.dir/all] Error 2
make: *** [all] Error 2
-- Failed: extragear/graphics


-- 
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