Linking problem with QtD

Qian Xu qian.xu at
Fri Oct 30 06:24:29 PDT 2009

Eldar Insafutdinov wrote:
> All Qt versions keep forward binary compatibility and a full compatibility
> within a major version, 4.5.3 contains only bug fixes compared to 4.5.2.
> Version from is a waaaaay to old, so I would not even
> consider it. Have you tried to turn on BUILD_EXAMPLES option in cmake? It
> will build all examples bundled with qtd.

The problem has been solve.

The linker "ld" searches first in "/usr/lib" (Qt 4.4.3) and then
my "/my-qt-sdk/lib", even when the path "/usr/lib" is not specified. 

I checked the man page of "ld". There is an argument "-rpath-link". If it is
not specified, the "/usr/lib" will be assumed.

So my problem is solve. Thanks for you all. Have a nice day.

More information about the Digitalmars-d-learn mailing list