[Openstreetmap-dev] Re: osmeditor make problem

Immanuel Scholz immanuel.scholz at gmx.de
Wed Jan 11 23:12:34 GMT 2006


moved to dev

> /usr/bin/ld: cannot find -lqt
> collect2: ld returned 1 exit status
> make: *** [osmeditor2] Error 1
> rm moc_HTTPHandler.cpp moc_MainWindow2.cpp
> > >Hey Nick. I've got the libqt3-mt-dev, libqt4-dev, & libcurl3-dev
> > >libraries from the ubuntu repositories. However, using "make

You have libqt-mt and try to link against libqt.

Either install libqt3-dev (which is not part of ubuntu) or change the Makefile 
to use the multi-threaded qt library. To do this, change line 34 to 
"QTLIB = -lqt-mt".

Ciao, Imi.

More information about the dev mailing list