On 11 Jun, 2015, at 8:08, Rainer Müller <[email protected]> wrote:

> On 2015-06-11 13:09, Hinckley Dan wrote:
>> 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.
> 
> You should look into config.log to get the details of this failing test.
> 
> Perhaps it is also trying to link a simple program which requires setting 
> LDFLAGS as well.
> 
> Have you made sure it is actually looking for the right version of Qt? Often, 
> Qt 5.x is referenced by Qt5Core and Qt 4.x is QtCore.

configure.ac:

> # libqt 4.7 or compatible newer version is required.
> AC_CHECK_HEADER([QtCore], [],
>                 [AC_MSG_ERROR([cannot find QtCore header; try setting 
> CPPFLAGS.])])
> AC_CHECK_HEADER([QtGui], [],
>                 [AC_MSG_ERROR([cannot find QtGui header; try setting 
> CPPFLAGS.])])
> AC_CHECK_HEADER([Qt3Support], [],
>                 [AC_MSG_ERROR([cannot find Qt3Support header; try setting 
> CPPFLAGS.])])

I have qt-mac4 installed (and 5, but deactivated) but don’t know which path to 
put into the CPPFLAGS.
_______________________________________________
macports-users mailing list
[email protected]
https://lists.macosforge.org/mailman/listinfo/macports-users

Reply via email to