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

[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: Ben Abbott
Subject: [Octave-bug-tracker] [bug #55282] QT_CPPFLAGS and QT_LDFLAGS not always present when needed
Date: Wed, 26 Dec 2018 01:25:37 -0500 (EST)
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_2) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/12.0.2 Safari/605.1.15

Update of bug #55282 (project octave):

        Operating System:                     Any => Mac OS                 

    _______________________________________________________

Follow-up Comment #2:

@Mike

By default my pkg-config path does not include Qt.


$ pkg-config --cflags-only-I Qt5Core Qt5Gui
Package Qt5Core was not found in the pkg-config search path.
Perhaps you should add the directory containing `Qt5Core.pc'
to the PKG_CONFIG_PATH environment variable
No package 'Qt5Core' found
Package Qt5Gui was not found in the pkg-config search path.
Perhaps you should add the directory containing `Qt5Gui.pc'
to the PKG_CONFIG_PATH environment variable
No package 'Qt5Gui' found


I use a script to configure octave. Among the several things I set for the
environment is the pkg-config path.


$ PKG_CONFIG_PATH="/usr/local/opt/icu4c/lib/pkgconfig"
$ PKG_CONFIG_PATH="$PKG_CONFIG_PATH:/usr/local/opt/qt/lib/pkgconfig"
$ export PKG_CONFIG_PATH
$ pkg-config --cflags-only-I Qt5Core Qt5Gui
-I/usr/local/Cellar/qt/5.12.0/lib/QtGui.framework/Headers
-I/usr/local/Cellar/qt/5.12.0/lib/QtCore.framework/Headers


However, the QT_CPPFLAGS  doesn't get set properly during configure. Same for
the QT_LDFLAGS during make.

In case it matters, my pkg-config is located in /usr/local/bin

... switching the [Operating System] to [Mac OS].

    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?55282>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

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