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. QGLFormat class
Forum Update on Monday, May 27th 2025

QGLFormat class

Scheduled Pinned Locked Moved Solved General and Desktop
3 Posts 2 Posters 165 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.
  • D Offline
    D Offline
    dan1973
    wrote on last edited by
    #1

    I am running Affine example in Qt creator 9.0.1 and using Qt 5.15.2. MSVC2019 32 bit Compiler.

    i get the following error:

    D:\Dan\QtLib\QtPrjs\affine\xform.cpp:838: error: C2653: 'QGLFormat': is not a class or namespace name
    

    do i miss anything here?

    Please help.

    Christian EhrlicherC 1 Reply Last reply
    0
    • D dan1973

      I am running Affine example in Qt creator 9.0.1 and using Qt 5.15.2. MSVC2019 32 bit Compiler.

      i get the following error:

      D:\Dan\QtLib\QtPrjs\affine\xform.cpp:838: error: C2653: 'QGLFormat': is not a class or namespace name
      

      do i miss anything here?

      Please help.

      Christian EhrlicherC Offline
      Christian EhrlicherC Offline
      Christian Ehrlicher
      Lifetime Qt Champion
      wrote on last edited by
      #2

      @dan1973 said in QGLFormat class:

      do i miss anything here?

      Did you include the appropriate header?

      Qt Online Installer direct download: https://download.qt.io/official_releases/online_installers/
      Visit the Qt Academy at https://academy.qt.io/catalog

      D 1 Reply Last reply
      1
      • Christian EhrlicherC Christian Ehrlicher

        @dan1973 said in QGLFormat class:

        do i miss anything here?

        Did you include the appropriate header?

        D Offline
        D Offline
        dan1973
        wrote on last edited by
        #3

        @Christian-Ehrlicher Thank you christian.

        Yes. Now i included and found it works.

        its my mistake. thank you again.

        Regards,
        dan

        1 Reply Last reply
        0
        • D dan1973 has marked this topic as solved on

        • Login

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