views:

503

answers:

1

Hello,

I am getting the following error while compiling a sample program in Qt 4.5 in Ubuntu OS.

/usr/bin/ld: cannot find -lgthread-2.0
collect2: ld returned 1 exit status
A: 

I found the solution, I installed the library libqt4-dev by typing the command

sudo apt-get install libqt4-dev

and the problem got solved.

udpsunil