Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt for Python
  4. How to report issues with Qt documentation?
Forum Updated to NodeBB v4.3 + New Features

How to report issues with Qt documentation?

Scheduled Pinned Locked Moved Unsolved Qt for Python
4 Posts 3 Posters 299 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    Alhazred
    wrote on last edited by
    #1

    This is not really related to coding, but I'm reading the documentation to learn about how to customize models and write delegates.
    I am reading this guide, which should be for Python:
    https://doc.qt.io/qtforpython/overviews/model-view-programming.html
    but several code snippets are in C++ and others are a mix of C++ and Python which make no sense.
    This happens also for other guides, like this one which is entirely in C++
    https://doc.qt.io/qtforpython/overviews/modelview.html
    while it is also in the "Qt for Python" section.
    What I understand is that the guides are written in C++ and then ported to the other languages, but leaving behind a lot of errors and entirely forgetting to translate the snippets.
    Is there any link to report those issues? I couldn't find any.

    JonBJ 1 Reply Last reply
    0
    • A Alhazred

      This is not really related to coding, but I'm reading the documentation to learn about how to customize models and write delegates.
      I am reading this guide, which should be for Python:
      https://doc.qt.io/qtforpython/overviews/model-view-programming.html
      but several code snippets are in C++ and others are a mix of C++ and Python which make no sense.
      This happens also for other guides, like this one which is entirely in C++
      https://doc.qt.io/qtforpython/overviews/modelview.html
      while it is also in the "Qt for Python" section.
      What I understand is that the guides are written in C++ and then ported to the other languages, but leaving behind a lot of errors and entirely forgetting to translate the snippets.
      Is there any link to report those issues? I couldn't find any.

      JonBJ Offline
      JonBJ Offline
      JonB
      wrote on last edited by
      #2

      @Alhazred
      Up to you, but I suspect this is more than well known.....

      That's just how it is. Python is a second-class citizen in the Qt world/update scenario.

      1 Reply Last reply
      0
      • SGaistS Offline
        SGaistS Offline
        SGaist
        Lifetime Qt Champion
        wrote on last edited by
        #3

        Hi,

        It's a known issue and there's work in progress to port the example. The goal being able to automatically translate the C++ snippets to Python but it's not always easy to do.

        Interested in AI ? www.idiap.ch
        Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

        1 Reply Last reply
        1
        • A Offline
          A Offline
          Alhazred
          wrote on last edited by
          #4

          I see, unfortunately from the delegates paragraph on, all the snippets are wrong and many makes really no sense. To me, it is impossible to understand the code.
          I'll have to look for a guide elsewhere.

          1 Reply Last reply
          0

          • Login

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • Users
          • Groups
          • Search
          • Get Qt Extensions
          • Unsolved