[Qt-interest] controlling search order for finding link libraries in qtCreator (Linux)

hugh hdixon at bigpond.net.au
Sat Mar 5 23:07:18 CET 2011


On Sunday 06 March 2011 07:07:05 Thiago Macieira wrote:
> On Saturday, 5 de March de 2011 11:05:18 hugh wrote:
> > is there some way that I can control the search order for the link
> > libraries  in qtcreator?
> 
> Don't do this. The search order at link time has nothing to do with the
> search other at run-time.


Acknowledged.  (I had not seriously considered this, but the problem is 
linking.)  My problem is that inside the qtcreator environment it is trying to 
link against the wrong library, and the program is failing to build.

Execution/run time appears to be working fine once I change the order in the 
link command.

Hugh



More information about the Qt-interest-old mailing list