https://bugs.kde.org/show_bug.cgi?id=373509

            Bug ID: 373509
           Summary: Error building kmplayer 0.12.0b: 'class QString' has
                    no member named 'utf8'
           Product: kmplayer
           Version: unspecified
          Platform: Mandriva RPMs
                OS: Linux
            Status: UNCONFIRMED
          Severity: grave
          Priority: NOR
         Component: general
          Assignee: koos.vrie...@gmail.com
          Reporter: mc2...@mclink.it
  Target Milestone: ---

Created attachment 102722
  --> https://bugs.kde.org/attachment.cgi?id=102722&action=edit
Full log of a failed build

Trying to build kmplayer 0.12.0b for the upcoming release of Rosa Linux x86_64
(a Mandriva derivative). Using KF5 5.27 and Qt5 5.6.2; gcc 5.3.1 and cmake
3.6.1.

The build fails at kmplayerplaylist.cpp with a couple of errors:
********************************
/tmp/abf/rpmbuild/BUILD/kmplayer-0.12.0b/src/kmplayerplaylist.cpp: In function
'void KMPlayer::readXML(KMPlayer::NodePtr, QTextStream&, const QString&,
bool)':
/tmp/abf/rpmbuild/BUILD/kmplayer-0.12.0b/src/kmplayerplaylist.cpp:1602:29:
error: 'class QString' has no member named 'utf8'
         QByteArray ba = str.utf8 ();
                             ^
/tmp/abf/rpmbuild/BUILD/kmplayer-0.12.0b/src/kmplayerplaylist.cpp:1609:34:
error: no matching function for call to 'QTextStream::read()'
         QByteArray ba = in.read ().utf8 ();
                                  ^
In file included from
/tmp/abf/rpmbuild/BUILD/kmplayer-0.12.0b/src/kmplayerplaylist.cpp:22:0:
/usr/include/qt5/QtCore/qtextstream.h:129:13: note: candidate: QString
QTextStream::read(qint64)
     QString read(qint64 maxlen);
             ^
/usr/include/qt5/QtCore/qtextstream.h:129:13: note:   candidate expects 1
argument, 0 provided
***************************

Qt version mismatch?

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to