[Top][All Lists]

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

[Octave-bug-tracker] [bug #41236] Configure fails to find Qt frameworks

From: Michael C. Grant
Subject: [Octave-bug-tracker] [bug #41236] Configure fails to find Qt frameworks if not installed in system locations (patch provided)
Date: Fri, 24 Jan 2014 21:07:32 +0000
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_1) AppleWebKit/537.73.11 (KHTML, like Gecko) Version/7.0.1 Safari/537.73.11

Follow-up Comment #15, bug #41236 (project octave):

That's great to hear, thanks. Sorry again for the regression.

Here's what this fix does: first, it looks for a standard library set (-L/-l)
using the old approach. If it finds none, *and* we're running Mac OS, then it
looks for a framework set (-F/-framework). If *that* succeeds, and at least
one '-F' flag is present, then it enables "link-all-deps" to ensure that the
final linking steps get that -F flag.

In comment 3, I was using a "+=" approach to combine any library and framework
flags together. That's probably fine; however, it seems clear that with Qt
you're going to have *either* a framework set or a library set, and not both.
Indeed, if you had both, there is likely to be a conflict. So going with an
exclusive or seems best.


Reply to this item at:


  Message sent via/by Savannah

reply via email to

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