Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Error while building Qt creater project of widget application!

    General and Desktop
    2
    2
    437
    Loading More Posts
    • 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
      scince94 last edited by

      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 Reply Quote 0
      • SGaist
        SGaist Lifetime Qt Champion last edited by

        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 Reply Quote 0
        • First post
          Last post