[Top][All Lists]

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

[Octave-bug-tracker] [bug #55282] QT_CPPFLAGS and QT_LDFLAGS not always

From: Mike Miller
Subject: [Octave-bug-tracker] [bug #55282] QT_CPPFLAGS and QT_LDFLAGS not always present when needed
Date: Thu, 27 Dec 2018 02:22:16 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.98 Safari/537.36

Follow-up Comment #9, bug #55282 (project octave):

Thanks. Then it looks to me like the pkg-config that comes with your
installation of Qt is giving you a bad configuration. It should be giving you
-I options that point to /usr/local/opt/qt/include that can actually be used,
and not the other. If you can fix your Qt pkg-config files, then Octave's
configure should set everything up correctly. If you can't, then you will have
to use the global CPPFLAGS environment variable.

For other math libraries Octave has options like --with-arpack-includedir=DIR.
But Qt is much more complicated and has many more moving parts, and we simply
don't have an option or a variable for you to pass in the Qt include directory

You might want to report a bug to homebrew or whoever your packager is for the
Qt library, because it seems to me that the pkg-config isn't useful in the
state it's in now.

If you pass in CPPFLAGS=-I/usr/local/opt/qt/include, Qt is found and works
correctly, so can we close this as working correctly?


Reply to this item at:


  Message sent via Savannah

reply via email to

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