Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Looks like there is a mistake on QLineF documentation page
Qt 6.11 is out! See what's new in the release blog

Looks like there is a mistake on QLineF documentation page

Scheduled Pinned Locked Moved General and Desktop
10 Posts 4 Posters 2.2k 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.
  • E Offline
    E Offline
    EvgeniyE
    wrote on last edited by
    #1

    Hi guys,

    It seems that i found small mistake on the QLineF class reference "page":http://qt-project.org/doc/qt-4.8/qlinef.html:
    "The intersect() function determines the IntersectType for this line and a given line, while the angle() function returns the angle between the lines"
    It should be angleTo() instead of angle(), because in accordance with documentation:
    angle() - Returns the angle of the line in degrees
    and
    angleTo(const QLineF & line) - Returns the angle (in positive degrees) from this line to the given line.

    Is my understanding correct?

    Please correct me if this post should be in another subforum.

    Best regards,
    Evgeniy

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

      Hi,

      Moved to General and Desktop since the online documentation is built from Qt's sources.

      Seems you're right

      You can open a bug report about it on the "bug report system":http://bugreports.qt.io (check first is someone else noticed) and if you want you can even submit a patch to correct the documentation.

      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
      0
      • E Offline
        E Offline
        EvgeniyE
        wrote on last edited by
        #3

        I've created "QTWEBSITE-622":https://bugreports.qt.io/browse/QTWEBSITE-622.

        SGaist,
        Thank you very much!

        Should i mark this thread as solved?

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

          Once it's solved, however, it's not a website bug, it's in Qt's documentation which is used to generate the online documentation.

          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
          0
          • A Offline
            A Offline
            andre
            wrote on last edited by
            #5

            I have asked the bugreport to be moved. The new location is "QTBUG-44309":https://bugreports.qt.io/browse/QTBUG-44309

            1 Reply Last reply
            0
            • E Offline
              E Offline
              EvgeniyE
              wrote on last edited by
              #6

              SGaist, Andre,
              Thanks a lot for your help. Actually i'm a newbie in Qt world and currently it's difficult for me to "orient" in its subprojects and other things =)

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

                Correction in progress

                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
                0
                • JKSHJ Offline
                  JKSHJ Offline
                  JKSH
                  Moderators
                  wrote on last edited by
                  #8

                  Thanks, SGaist! The Qt 5 patch has been merged, and the Qt 4 patch has been approved.

                  The Qt 5 correction will become visible when Qt 5.5.0 is released. Hopefully, the Qt 4 correction will make it in time for the Qt 4.8.7 release.

                  EvgeniyE: I recommend you use the latest documentation, as Qt 4.8 is quite old: http://doc.qt.io/qt-5/qlinef.html

                  If you're using Google Chrome, this "extension":http://qt-project.org/forums/viewthread/36199 makes it easier to search Qt docs.

                  Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

                  1 Reply Last reply
                  0
                  • E Offline
                    E Offline
                    EvgeniyE
                    wrote on last edited by
                    #9

                    JKSH,
                    Thank you, i'll follow your recommendation.

                    Regards,
                    Evgeniy

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

                      Unless I'm mistaken, it could even be in earlier

                      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
                      0

                      • Login

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