** Changed in: ubuntu-ui-toolkit (Ubuntu)
       Status: In Progress => Fix Committed

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to ubuntu-ui-toolkit in
Ubuntu.
https://bugs.launchpad.net/bugs/1625507

Title:
  Build fails on QT_ASCII_CAST_WARN in QString.replace

Status in ubuntu-ui-toolkit package in Ubuntu:
  Fix Committed

Bug description:
  Something changed, I don't know if it's in UITK, gcc or Qt, but I can
  no longer build UITK without running into this warning:

  ./src/UbuntuToolkit/ucaction.cpp: In member function ‘QString 
UCAction::text()’:
  ./src/UbuntuToolkit/ucaction.cpp:226:38 error: ‘QString::QString(const 
char*)’ is deprecated [-Werror=deprecated-declarations]
       displayText.replace("&&", "&");
                                        ^
  In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject.h:41:0,
                   from 
/usr/include/x86_64-linux-gnu/qt5/QtCore/qabstractanimation.h:37,
                   from /usr/include/x86_64-linux-gnu/qt5/QtCore/QtCore:4,
                   from ../../include/UbuntuToolkit/UbuntuToolkitDepends:3:
  /usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:654:31 note: declared here
       inline QT_ASCII_CAST_WARN QString(const char *ch)
                                 ^
  ./src/UbuntuToolkit/ucaction.cpp:226:38 error: ‘QString::QString(const 
char*)’ is deprecated [-Werror=deprecated-declarations]
       displayText.replace("&&", "&");
                                        ^
  In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject.h:41:0,
                   from 
/usr/include/x86_64-linux-gnu/qt5/QtCore/qabstractanimation.h:37,
                   from /usr/include/x86_64-linux-gnu/qt5/QtCore/QtCore:4,
                   from ../../include/UbuntuToolkit/UbuntuToolkitDepends:3:
  /usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:654:31 note: declared here
       inline QT_ASCII_CAST_WARN QString(const char *ch)
                                 ^
  cc1plus: all warnings being treated as errors

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-ui-toolkit/+bug/1625507/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to