Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-133233

Deprecate QT_NO_CAST_TO_ASCII

    XMLWordPrintable

Details

    • Task
    • Resolution: Unresolved
    • P2: Important
    • None
    • None
    • None

    Description

      It seems like the last actual uses of QT_NO_CAST_TO_ASCII were removed in qtbase/d7ccd8cb4565c8643b158891c9de3187c1586dc9. There's a use still in qstringbuilder.h. Apart from that, the real QString::operator const char*() is in Qt 4 as QT3_COMPAT, but no longer in Qt 5.0.

      Acceptance criteria:

      • Remove last behaviour change under QT_NO_CAST_TO_ASCII from qstringbuilder.h, as if it is unconditionally defined
      • remove all in-tree users
      • Deprecate the macro
        • in the docs
        • in code (there's a way to deprecate macros, saw it on the old C++11 atomic init macro in libc++, at least for Clang, then)

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            thiago Thiago Macieira
            mmutz Marc Mutz
            Vladimir Minenko Vladimir Minenko
            Alex Blasche Alex Blasche
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes