mingw-cross-env-list
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Mingw-cross-env-list] Qt with Cmake


From: Mark Brand
Subject: Re: [Mingw-cross-env-list] Qt with Cmake
Date: Mon, 22 Nov 2010 20:10:52 +0100
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.12) Gecko/20101026 SUSE/3.1.6 Thunderbird/3.1.6


On 11/22/2010 12:46 PM, Daniel Stonier wrote:
I'm trying to link in the static libs from qt using the usual cmake
interface with the FindQt4.cmake module.

It doesn't seem to realise itself that it is linking static libs. Nor
are the dependencies linking in all the
lower libraries (jpeg, mng etc). Has anyone here tried cmake with
mingw cross' qt?

Cheers,
Daniel.

Hi Daniel,

My understanding is that qmake is able to include the static dependencies when generating makefiles because it because it reads them out of the .prl files in the 'lib' directory. The .prl files themselves are assembled during the building of Qt.

Not being very familiar with cmake, I don't know what mechanisms cmake supports to identify static dependencies. I did come across this reference that seems to be about getting cmake to look at the .prl files:

http://www.cmake.org/pipermail/cmake/2006-August/010547.html

Please let us know what solution you settle on.

Mark



reply via email to

[Prev in Thread] Current Thread [Next in Thread]