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

Compile with add_definitions(-DQT_STRICT_ITERATORS)

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Incomplete
    • Icon: Not Evaluated Not Evaluated
    • None
    • 5.15.1
    • Shiboken
    • None

      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

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

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes