Good morning,

I am having issues with the above error when trying to compile the app I am working on. I have the full error below, but just want to give a little background. I am running a fresh install of Ubuntu 18.04, Gnome Desktop, 4gb memory, Core i5 processor. This error is basically immediate, I create a new project and name it. Once creator opens the files for editing I don't do anything but save and then select the option to build. Soon as I do that I get the following....

Qt Code:
  1. moc_mainwindow.o moc_mainwindow.cpp
  2. g++ -Wl,-rpath,/home/david/Qt/5.11.1/gcc_64/lib -o SimpleNote main.o mainwindow.o moc_mainwindow.o -L/home/david/Qt/5.11.1/gcc_64/lib -lQt5Widgets -lQt5Gui -lQt5Core -lGL -lpthread
  3. /usr/bin/x86_64-linux-gnu-ld: cannot find -lGL
  4. Makefile:257: recipe for target 'SimpleNote' failed
  5. collect2: error: ld returned 1 exit status
  6. make: *** [SimpleNote] Error 1
  7. 09:32:20: The process "/usr/bin/make" exited with code 2.
  8. Error while building/deploying project SimpleNote (kit: Desktop Qt 5.11.1 GCC 64bit)
  9. When executing step "Make"
To copy to clipboard, switch view to plain text mode 

I have not changed or added anything to the project as of yet. Just fresh creation of a new project and then build/run. Any ideas on what may be causing the problem? I didn't have this issue when I was running Kubuntu or Manjaro.

Many thanks