Kal
Kal

Reputation: 2309

QT error: cannot find libs

Hi tried to set up my environment to run QT 4.8.3 aimed at the GCC compiler (so reading the .a files) The problem is it is now throwing the errors:

:-1: error: cannot find -lQtGuid
:-1: error: cannot find -lQtCored
collect2.exe:-1: error: error: ld returned 1 exit status

Maybe it can't find the core and gui dll's? My environment variables point to the 4.8.3 bin directory? Am I missing anything?

enter image description here

Upvotes: 6

Views: 33145

Answers (3)

Mohamed Elleuch
Mohamed Elleuch

Reputation: 79

this one is working for me

sudo apt-get install libglu1-mesa-dev

Upvotes: 5

Harnish Shah
Harnish Shah

Reputation: 450

Try this,

sudo apt-get install libglu1-mesa-dev

Upvotes: 19

Kal
Kal

Reputation: 2309

My project was set up with the msvc compiler when in fact I had configured Qt for mingw g++ so I switched it to the GCC compiler.

Upvotes: 1

Related Questions