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: Thu, 27 Dec 2018 01:45:07 -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

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

Ok, trying again

More information ... paraphrased to only include the relevant detail.

This works


QT_CPPFLAGS="-I/usr/local/opt/qt5/include"
QT_LDFLAGS="-F/usr/local/opt/qt5/lib"
# Needed for make (ex: libgui/graphics/__init_qt__.la)
LDFLAGS="$LDFLAGS $QT_LDFLAGS"
# Needed for configure (ex: check for "QAbstractItemModel::beginResetModel")
CPPFLAGS="$CPPFLAGS $QT_CPPFLAGS"
export CPPFLAGS
export LDFLAGS
./configure ...


But this does not.


QT_CPPFLAGS="-I/usr/local/opt/qt5/include"
QT_LDFLAGS="-F/usr/local/opt/qt5/lib"
./configure   QT_CFLAGS=QT_CPPFLAGS \
     QT_LDFLAGS=QT_LDFLAGS \
     ...


Note that the configure help string indicates ...


  QT_CFLAGS   C compiler flags for QT, overriding pkg-config
  QT_LIBS     linker flags for QT, overriding pkg-config




    _______________________________________________________

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]