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. Error while building Qt creater project of widget application!
Forum Update on Monday, May 27th 2025

Error while building Qt creater project of widget application!

Scheduled Pinned Locked Moved General and Desktop
2 Posts 2 Posters 520 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
    scince94
    wrote on 10 Dec 2014, 18:03 last edited by
    #1

    I got two errors when I build my qt desginer project as mentioned follows:

    cannot find -lGL
    collect2: error: ld returned 1 exit status

    1 Reply Last reply
    0
    • S Offline
      S Offline
      SGaist
      Lifetime Qt Champion
      wrote on 10 Dec 2014, 19:36 last edited by
      #2

      Hi and welcome to devnet,

      The "cannot find -lGL" question has been asked numerous time on this forum. You are missing the OpenGL development libraries.

      The collect2 error appears as a consequence of the missing libraries.

      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
      0

      1/2

      10 Dec 2014, 18:03

      • Login

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