Qt5 Tutorial Ubuntu Install and Others - 2018
While I was trying to run Qt5 on Ubuntu 13.04, I faced some issues that I had to spend several hours.
- /usr/bin/ld: cannot find -lGL
- qmake: could not find a Qt installation of ''
Whether in command line mode or from creator, compiler complained about GL library.
Qt5 under Ubuntu could find -lGL
/usr/bin/ld: cannot find -lGL
To make it short, we need to do this:
$ sudo apt-get install freeglut3-dev
The reason was libGL.so was missing in /usr/lib/i386-linux-gnu/mesa directory.
When I tried to run qmake, I got this:
qmake: could not find a Qt installation of ''
Solution was to install default:
sudo apt-get install qt5-default
We need to do this in addition to running the Qt supplier .run file.
Ph.D. / Golden Gate Ave, San Francisco / Seoul National Univ / Carnegie Mellon / UC Berkeley / DevOps / Deep Learning / Visualization