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. Only seeing black box in QGLWidget
QtWS25 Last Chance

Only seeing black box in QGLWidget

Scheduled Pinned Locked Moved General and Desktop
2 Posts 2 Posters 494 Views
  • 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.
  • M Offline
    M Offline
    Mikrolar
    wrote on last edited by
    #1

    I am trying to add an OpenGL widget to my existing application. The same exact GLWidget class works fine in other applications, but not the application I want it to work in. The only difference I am seeing, is that in other applications, OpenGL does not return any error codes. When it does not work, I receive a "1282" error.

    Totally stuck now. Any help would be appreciated!

    1 Reply Last reply
    0
    • T Offline
      T Offline
      tilsitt
      wrote on last edited by
      #2

      Hi,

      The 1282 error code means GL_INVALID_OPERATION (see the following "link":https://www.opengl.org/wiki/OpenGL_Error) but it could be thrown by any one of your OpenGL calls. It would help to see some code.

      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