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. [SOLVED]Issues while buiiding the project
Forum Updated to NodeBB v4.3 + New Features

[SOLVED]Issues while buiiding the project

Scheduled Pinned Locked Moved General and Desktop
4 Posts 3 Posters 2.2k Views 1 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.
  • IamSumitI Offline
    IamSumitI Offline
    IamSumit
    wrote on last edited by
    #1

    My Setup:-
    (OS) Ubuntu Linux
    (SDK) Qt 5.2.1
    (IDE) Qt creator 3.1
    (Compiler) GCC 4.6.1 ,64 bit
    Ram 1 GB
    I am getting two issues while building my project.
    when i add QT += widgets in .pro and include <QWidget> class then these issues arise.
    1.:-1: error: cannot find -lGL
    2.:-1: error: collect2: ld returned 1 exit status
    any Reply would be appreciated...
    Thanks

    Be Cute

    1 Reply Last reply
    0
    • C Offline
      C Offline
      clochydd
      wrote on last edited by
      #2

      Hi,
      it seems you have a problem with your OpenGL libraries. Perhaps "this: ":http://ubuntuforums.org/showthread.php?t=1480282 may help?

      1 Reply Last reply
      0
      • JKSHJ Offline
        JKSHJ Offline
        JKSH
        Moderators
        wrote on last edited by
        #3

        Install the libgl1-mesa-dev package

        Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

        1 Reply Last reply
        0
        • IamSumitI Offline
          IamSumitI Offline
          IamSumit
          wrote on last edited by
          #4

          HI
          I tried this
          http://igorbarbosa.com/articles/opengl-glut-with-linux-mint-and-ubuntu-12-04/

          Be Cute

          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