[Kde-pim] kpimtextedit not building with Qt 5.7

Alexander Potashev aspotashev at gmail.com
Thu Jun 9 22:29:44 BST 2016


2016-06-09 22:59 GMT+03:00 Aleix Pol <aleixpol at kde.org>:
> Hi,
> KPimTextEdit is not building here, using Qt 5.7.0, recently built
> today. Any ideas?

Aleix,

You need a newer version of QtSpeech that includes this commit:

===
commit cb3086376fce460aa85b542d487d26b2506875f7
Author: Marc Mutz <marc.mutz at kdab.com>
Date:   Thu Mar 3 12:53:06 2016 +0100

   QTextToSpeech: QObject *parent ctor args go last

    This is one of the deepest and most long-standing
   Qt API design patterns: subclasses add ctor args
   _at the front_, not at the back.

   To compensate the slight SC breakage, add an
   overloaded ctor that only takes QObject *parent
   (also a Qt API pattern worth following), so the
   common case of

      new QTextToSpeech(this)

   continues to work.

   Change-Id: I7253abada1355e53e9817914abd80e8af17ce429
   Reviewed-by: Lars Knoll <lars.knoll at theqtcompany.com>
   Reviewed-by: Jeremy Whiting <jpwhiting at kde.org>
   Reviewed-by: Frederik Gladhorn <frederik.gladhorn at theqtcompany.com>
===

Check if /home/apol/devel/kde5/include/QtTextToSpeech/qtexttospeech.h
is outdated.

-- 
Alexander Potashev
_______________________________________________
KDE PIM mailing list kde-pim at kde.org
https://mail.kde.org/mailman/listinfo/kde-pim
KDE PIM home page at http://pim.kde.org/


More information about the kde-pim mailing list