Trolltech Home | Qt-interest Home | Recent Threads | All Threads | Author | Date
All threads index page 4

Qt-interest Archive, January 2008
taglib


Message 1 in thread

I am trying to use taglib v1.3.1 with Qt 4.3.3 using the Qt Eclipse 
development environment on Windows XP. I cannot get MinGW to recognize 
the library taglib.lib. There seem to be no explicit instructions for 
setting up external libraries under the Qt Eclipse environment. How does 
one configure <project>.pro or the Project Properties to include an 
external library? There also seems to be some confusion over which 
parameters are effective between the project Properties in Eclipse and 
the .pro file. Can someone direct me please?

--
 [ signature omitted ] 

Message 2 in thread

When using the Qt Eclipse integration, only the .pro file defines what 
goes into the Makefile. You are right that this fact is not documented 
clearly enough in order to prevent confusion. We will change that.

In order to link against other libraries, you just need to add
   LIBS += -Lpath/to/taglib -ltaglib
to your .pro-file.

Here is the more eloquent documentation:
<http://doc.trolltech.com/latest/qmake-project-files.html#declaring-other-libraries>

Alessandro Portale

David Fuess wrote:
> I am trying to use taglib v1.3.1 with Qt 4.3.3 using the Qt Eclipse 
> development environment on Windows XP. I cannot get MinGW to recognize 
> the library taglib.lib. There seem to be no explicit instructions for 
> setting up external libraries under the Qt Eclipse environment. How does 
> one configure <project>.pro or the Project Properties to include an 
> external library? There also seems to be some confusion over which 
> parameters are effective between the project Properties in Eclipse and 
> the .pro file. Can someone direct me please?

--
 [ signature omitted ]