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. Building problem on Linux
Forum Updated to NodeBB v4.3 + New Features

Building problem on Linux

Scheduled Pinned Locked Moved Installation and Deployment
3 Posts 2 Posters 820 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.
  • M Offline
    M Offline
    martin_m
    wrote on last edited by
    #1

    Hello. I've just installed Qt 5.5.0 on my Ubuntu and I have a problem with building any Qt Widget project. Even standard project generated by Qt Creator doesn't work.

    I get the following problem:
    "cannot find -lGL"

    The compiler and debugger are set properly.
    Normal C++ applications work properly, just Qt don't.

    1 Reply Last reply
    0
    • Paul H.P Offline
      Paul H.P Offline
      Paul H.
      wrote on last edited by
      #2

      I don't know how you installed, but make sure you have all the dependencies installed. According to this wiki I think these are the packages for this error:
      sudo apt-get install mesa-common-dev
      sudo apt-get install libglu1-mesa-dev -y
      Paul

      1 Reply Last reply
      0
      • M Offline
        M Offline
        martin_m
        wrote on last edited by
        #3

        Thank you very much.
        I forgot to install OpenGL libraries.
        Now it works, thanks.

        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