[Qt-interest] Check the library availability

Andreas Pakulat apaku at gmx.de
Fri Jul 3 09:12:00 CEST 2009


On 03.07.09 14:22:06, Vyacheslav V. Yurkov wrote:
> Hi,
> I use *qmake* for creating Makefiles in project.
> How can I check the availbility of a third-party library which I use in my
> project and add corresponding parameter to LIBS variable.
> If it's not possible

Thats not possible and also the reason why Qt itself has a shell-script
for Linux and a separate executable for windows to find its
dependencies.

> to do it with *qmake* then can you suggest a howto
> about using autotools in Qt project?

I'd suggest to try out cmake (www.cmake.org) before sticking with
autotools. Its usually quite a bit easier to understand for somebody who
doesn't have years of autotools-experience. And AFAIK Qt4 is quite a bit
better supported by current CMake than with autotools (lack of autotool
macro's to properly find Qt4). Not to mention that cmake works
cross-platform without the need to have a unixish environment on the
platform.

Andreas

-- 
Your boss climbed the corporate ladder, wrong by wrong.



More information about the Qt-interest-old mailing list