Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. How to verify activate OpenGL ?
Forum Updated to NodeBB v4.3 + New Features

How to verify activate OpenGL ?

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
4 Posts 2 Posters 337 Views 2 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.
  • A Offline
    A Offline
    Anonymous_Banned275
    wrote on last edited by
    #1

    Again - after clean install OpenGL is inaccessible. There are few posts telling how to activate / install. Some say it is a part of Ubuntu, hence not necessary to install.

    1. How do I verify if it is already installed , and QT just does no see it?

    2. What is the most reasonable;e way to "just re install OpenGL " so QT can see it?
      Cheers

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

      Hi,

      Again, as explained in countless other threads, install the OpenGL dev package.

      sudo apt install libgl1-mesa-dev
      

      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
      1
      • A Offline
        A Offline
        Anonymous_Banned275
        wrote on last edited by
        #3

        I used this
        sudo apt-get install libglu1-mesa-dev freeglut3-dev mesa-common-dev

        I was asking which way is "reasonable".

        I guess if QT complains it is a way to "verify" too.

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

          Fastest way:

          find /usr/lib/ -name "libGL.so" -print

          If no file found, it means that the you do not have the OpenGL development package installed.

          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
          1

          • Login

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