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. Simple app links to libGL ?
Forum Updated to NodeBB v4.3 + New Features

Simple app links to libGL ?

Scheduled Pinned Locked Moved Unsolved General and Desktop
3 Posts 2 Posters 689 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.
  • K Offline
    K Offline
    kegon
    wrote on last edited by
    #1

    I wrote a very simple little app using Qt. It uses a few GUI classes like QDialog, QLineEdit, QPushButton. In the project file I use QT += core gui widgets.

    When I was building I was quite surprised to see near the end of the line doing the linking, -lGL

    Do I have an inefficient configuration; I didn't think Qt was drawing any GUI using OpenGL.

    System: g++, Linux, Qt 5.7.0.

    jsulmJ 1 Reply Last reply
    0
    • K kegon

      I wrote a very simple little app using Qt. It uses a few GUI classes like QDialog, QLineEdit, QPushButton. In the project file I use QT += core gui widgets.

      When I was building I was quite surprised to see near the end of the line doing the linking, -lGL

      Do I have an inefficient configuration; I didn't think Qt was drawing any GUI using OpenGL.

      System: g++, Linux, Qt 5.7.0.

      jsulmJ Offline
      jsulmJ Offline
      jsulm
      Lifetime Qt Champion
      wrote on last edited by
      #2

      @kegon Qt uses OpenGL by default, so that's normal.
      Is it an issue for your use case?

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • K Offline
        K Offline
        kegon
        wrote on last edited by
        #3

        No issue, I just want to avoid linking to unnecessary libs.

        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