Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. Canvas3D: gl.getString fails
QtWS25 Last Chance

Canvas3D: gl.getString fails

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
opengl es
1 Posts 1 Posters 609 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.
  • S Offline
    S Offline
    Stefan Monov76
    wrote on 2 Nov 2016, 17:00 last edited by
    #1

    As pointed out in this question of mine, I want to figure out what version of ESSL is used by Qt on my PC.

    My code (in the initializeGL handler):

    console.log(gl.getString(gl.SHADING_LANGUAGE_VERSION));
    

    I'm getting the following error:

    TypeError: Property 'getString' of object QtCanvas3D::CanvasContext(0x682d530) is not a function

    Any ideas?

    Notes:

    • I'm using GL ES mode in Qt. But that's not the problem, because ES does have glGetString.
    • Other GL functions and rendering do work.
    1 Reply Last reply
    0

    1/1

    2 Nov 2016, 17:00

    • Login

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