configure: error: cannot find QtCore header

Hinckley Dan dbh at suiattle.org
Thu Jun 11 04:09:10 PDT 2015


I have qt5-mac installed and am compiling a program which looks for qtccore. The error I get is:

checking QtCore usability... no
checking QtCore presence... no
checking for QtCore... no
configure: error: cannot find QtCore header; try setting CPPFLAGS.

Can someone point me to what value I pass in CPPFLAGS to cure this?

For example:

CPPFLAGS='-I /opt/local/libexec/qt5-mac/lib/QtCore.framework/Versions/5/Headers'

But I cannot seem to make this work.

10.9.5
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-users/attachments/20150611/a14e97d7/attachment.html>


More information about the macports-users mailing list