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

Bug QGLWidget::renderText with Opengl 3.3 core profile

    XMLWordPrintable

Details

    • Bug
    • Resolution: Invalid
    • Not Evaluated
    • None
    • 4.7.0
    • GUI: OpenGL
    • None
    • windows vista 64 bits

    Description

      Hello
      My function glWidget::renderText didn't work. This message appears on my console : "QColor :: setRgbF : RGB parameters out of range".

      Further :

      • if I use void QGLWidget::renderText ( int x, int y, const QString & str, const QFont & font = QFont(), int listBase = 2000 ) nothing is written.

      -if I use void QGLWidget::renderText ( double x, double y, double z, const QString & str, const QFont & font = QFont(), int listBase = 2000 ) nothing is written and my opengl rendering loses quality.

      I used an opengl 3.3 context core profile.

      Thanks to give me help.....

      Attachments

        1. fonctions.h
          2 kB
        2. glext.h
          567 kB
        3. OpenGL32.Lib
          75 kB
        4. principal.cpp
          0.2 kB
        5. qt_bug.pro
          0.2 kB
        6. sample.cpp
          15 kB
        7. sample.h
          1 kB
        8. tutorial4.frag
          0.1 kB
        9. tutorial4.geom
          1 kB
        10. tutorial4.vert
          0.2 kB

        Issue Links

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

          Activity

            People

              kjernase Trond Kjernåsen (Inactive)
              nasboy3d Nassim
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes