[Bug 25058] New: 0.2.0 doesn't compile on Qt >= 4.6beta

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Nov 12 19:56:37 CET 2009


http://bugs.freedesktop.org/show_bug.cgi?id=25058

           Summary: 0.2.0 doesn't compile on Qt >= 4.6beta
           Product: Telepathy
           Version: unspecified
          Platform: Other
               URL: http://git.collabora.co.uk/?p=user/smcv/telepathy-qt4-
                    smcv.git;a=shortlog;h=refs/heads/qvariant-workaround
        OS/Version: All
            Status: NEW
          Keywords: patch
          Severity: normal
          Priority: medium
         Component: tp-qt4
        AssignedTo: telepathy-bugs at lists.freedesktop.org
        ReportedBy: simon.mcvittie at collabora.co.uk


sauron on IRC reports that with Qt 4.6 beta,

../TelepathyQt4/types.h: In function ‘bool operator==(const QDBusVariant&,
const QDBusVariant&)’:
../TelepathyQt4/types.h:102: error: redefinition of ‘bool operator==(const
QDBusVariant&, const QDBusVariant&)’
/usr/include/qt4/QtDBus/qdbusextratypes.h:177: error: ‘bool operator==(const
QDBusVariant&, const QDBusVariant&)’ previously defined here

18:34 < smcv> sauron: that's a workaround for functionality missing from some 
              Qt versions (but apparently not yours)
18:34 < smcv> sauron: it's meant to not be compiled if it's not needed... seems 
              that's not working for you
...
18:40 < smcv> hmm. so HAVE_QDBUSVARIANT_OPERATOR_EQUAL *is* defined
18:41 < smcv> sauron: argh! of course, the ifndef doesn't work, because types.h 
              can't safely include config.h


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the telepathy-bugs mailing list