octave-bug-tracker
[Top][All Lists]
Advanced

[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: Wed, 15 Jan 2014 06:05:51 +0000
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/31.0.1650.63 Safari/537.36

URL:
  <http://savannah.gnu.org/bugs/?41236>

                 Summary: Configure fails to find Qt frameworks if not
installed in system locations (patch provided)
                 Project: GNU Octave
            Submitted by: mcgrant
            Submitted on: Wed 15 Jan 2014 06:05:51 AM GMT
                Category: Configuration and Build System
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Build Failure
                  Status: None
             Assigned to: None
         Originator Name: Michael C. Grant
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: dev
        Operating System: Mac OS

    _______________________________________________________

Details:

I'm offering a slight modification here to configure.ac that enables it to
locate Qt libraries when 1) installed as frameworks instead of a standard
library set, and 2) installed in a non-standard location, as is the case with
Homebrew.

The proper linker flags for my installation of Qt, for instance, is


-F/usr/local/Cellar/qt/4.8.5.lib -framework QtCore -framework QtGui -framework
QtNetwork


but the pkg-config commands in configure will never actually spit out those
flags, so QT_LDFLAGS and QT_LIBS remain blank, and the library is not used. 

This corrects that limitation by changing the way pkg-config is called for Qt.
I am using a case statement here so that the change only applies to Darwin.



    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Wed 15 Jan 2014 06:05:51 AM GMT  Name: configure.ac  Size: 97kB   By:
mcgrant

<http://savannah.gnu.org/bugs/download.php?file_id=30278>

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?41236>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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