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: [hidden email] ReportedBy: [hidden email] 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 the assignee for the bug. _______________________________________________ Digikam-devel mailing list [hidden email] https://mail.kde.org/mailman/listinfo/digikam-devel |
http://bugs.kde.org/show_bug.cgi?id=180908
--- Comment #1 from Pino Toscano <pino kde org> 2009-01-16 02:28:54 --- (In reply to comment #0) > When passing pointers to QVariant, the constructor QVariant(int typeOrUserType, > const void *copy) should be used. It may require registering a custom QVariant > type. Or the simpler QVariant::fromValue(mypointer) / qVariantFromValue(mypointer). -- Configure bugmail: http://bugs.kde.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. _______________________________________________ Digikam-devel mailing list [hidden email] https://mail.kde.org/mailman/listinfo/digikam-devel |
In reply to this post by Bugzilla from christoph.feck@mathe-kapiert.de
http://bugs.kde.org/show_bug.cgi?id=180908
Gilles Caulier caulier gilles gmail com changed: What |Removed |Added ---------------------------------------------------------------------------- Component|general |Portability Version|unspecified |0.10.0-svn -- Configure bugmail: http://bugs.kde.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. _______________________________________________ Digikam-devel mailing list [hidden email] https://mail.kde.org/mailman/listinfo/digikam-devel |
In reply to this post by Bugzilla from christoph.feck@mathe-kapiert.de
http://bugs.kde.org/show_bug.cgi?id=180908
Gilles Caulier caulier gilles gmail com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[hidden email] --- Comment #2 from Gilles Caulier <caulier gilles gmail com> 2009-01-16 08:12:57 --- Marcel, I don't have Qt 4.5 here to test... What do you think about Pino tip from #1 ? Gilles -- Configure bugmail: http://bugs.kde.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. _______________________________________________ Digikam-devel mailing list [hidden email] https://mail.kde.org/mailman/listinfo/digikam-devel |
In reply to this post by Bugzilla from christoph.feck@mathe-kapiert.de
http://bugs.kde.org/show_bug.cgi?id=180908
--- Comment #3 from Marcel Wiesweg <marcel wiesweg gmx de> 2009-01-16 17:19:11 --- SVN commit 912061 by mwiesweg: Declare Album* as Metatype and use QVariant::fromValue. Did not compile with Qt4.5 CCBUG: 180908 M +2 -0 album.h M +1 -1 albummodel.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=912061 -- Configure bugmail: http://bugs.kde.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. _______________________________________________ Digikam-devel mailing list [hidden email] https://mail.kde.org/mailman/listinfo/digikam-devel |
In reply to this post by Bugzilla from christoph.feck@mathe-kapiert.de
http://bugs.kde.org/show_bug.cgi?id=180908
--- Comment #4 from Marcel Wiesweg <marcel wiesweg gmx de> 2009-01-16 17:20:12 --- Christoph, can you test compilation? We all dont have Qt4.5. -- Configure bugmail: http://bugs.kde.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. _______________________________________________ Digikam-devel mailing list [hidden email] https://mail.kde.org/mailman/listinfo/digikam-devel |
In reply to this post by Bugzilla from christoph.feck@mathe-kapiert.de
http://bugs.kde.org/show_bug.cgi?id=180908
--- Comment #5 from Christoph Feck <christoph feck mathe-kapiert de> 2009-01-16 18:18:04 --- r912061 compiles with Qt 4.5 snapshot 20090116, thanks! Note that Marble currently has the same bug, so I had to compile digiKam without libmarblewidget support. All other dependencies enabled, as far as CMake report is correct. -- Configure bugmail: http://bugs.kde.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. _______________________________________________ Digikam-devel mailing list [hidden email] https://mail.kde.org/mailman/listinfo/digikam-devel |
In reply to this post by Bugzilla from christoph.feck@mathe-kapiert.de
http://bugs.kde.org/show_bug.cgi?id=180908
Marcel Wiesweg marcel wiesweg gmx de changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED -- Configure bugmail: http://bugs.kde.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. _______________________________________________ Digikam-devel mailing list [hidden email] https://mail.kde.org/mailman/listinfo/digikam-devel |
In reply to this post by Bugzilla from christoph.feck@mathe-kapiert.de
https://bugs.kde.org/show_bug.cgi?id=180908
Gilles Caulier <[hidden email]> changed: What |Removed |Added ---------------------------------------------------------------------------- Version|0.10.0-svn |0.10.0 -- Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. _______________________________________________ Digikam-devel mailing list [hidden email] https://mail.kde.org/mailman/listinfo/digikam-devel |
In reply to this post by Bugzilla from christoph.feck@mathe-kapiert.de
https://bugs.kde.org/show_bug.cgi?id=180908
[hidden email] changed: What |Removed |Added ---------------------------------------------------------------------------- Component|Portability |Bundle-Tarball -- You are receiving this mail because: You are the assignee for the bug. |
Free forum by Nabble | Edit this page |