Uploaded image for project: 'Qt for Python'
  1. Qt for Python
  2. PYSIDE-1395

Compile with add_definitions(-DQT_STRICT_ITERATORS)

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Not Evaluated
    • Resolution: Incomplete
    • Affects Version/s: 5.15.1
    • Fix Version/s: None
    • Component/s: Shiboken
    • Labels:
      None

      Description

      It seems that generator doesn't generate correct code when we use QT_STRICT_ITERATORS

      see:
      
      build/src/rocketchatrestapi-qt5/python/pyrocketchatrestapi-qt5/RocketChatRestapiQt5/rocketchatrestapiqt5_module_wrapper.cpp:140:93: erreur:
         conversion de « QMap<QString, QVariant>::iterator » vers le type non scalaire « QMap<QString, QVariant>::const_iterator » demandée
      
       140 | for (::QMap<QString,QVariant >::const_iterator it = cppInRef.begin(), end = cppInRef.end(); it != end; ++it) {
      

       
      Is it possible to fix it please ?

      Thanks

        Attachments

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

          Activity

            People

            Assignee:
            kleint Friedemann Kleint
            Reporter:
            montel Montel Laurent
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes