Am 21.03.2016 um 23:00 schrieb Joel Kulesza <jkule...@gmail.com>:
> 
> On Mon, Mar 21, 2016 at 5:47 PM, Stephan Witt <st.w...@gmx.net> wrote:
> 
> The config.log would be of interest then.
> 
> See attached config.log. 

Ok, sorry for that - I’m getting old. I forgot that I've patched my 
Qt5-installation to make it usable.
I don’t know if it’s a bug in Qt5 or if some change in LyX compiler switches is 
required to use it.

What I did is to create the symlinks in $QTDIR/include to point to the real 
header locations.
See below:
 
$ ls -l /Users/Shared/LyX/qt-5.6.0-rc-frameworks-cocoa-x86_64/include
total 80
lrwxr-xr-x   1 stephan  wheel   37 25 Feb 10:10 QtConcurrent -> 
../lib/QtConcurrent.framework/Headers
lrwxr-xr-x   1 stephan  wheel   31 25 Feb 10:10 QtCore -> 
../lib/QtCore.framework/Headers
lrwxr-xr-x   1 stephan  wheel   31 25 Feb 10:10 QtDBus -> 
../lib/QtDBus.framework/Headers
lrwxr-xr-x   1 stephan  wheel   30 25 Feb 10:10 QtGui -> 
../lib/QtGui.framework/Headers
lrwxr-xr-x   1 stephan  wheel   36 25 Feb 10:10 QtMacExtras -> 
../lib/QtMacExtras.framework/Headers
lrwxr-xr-x   1 stephan  wheel   34 25 Feb 10:10 QtNetwork -> 
../lib/QtNetwork.framework/Headers
drwxr-xr-x   8 stephan  wheel  272 25 Feb 10:08 QtOpenGLExtensions
drwxr-xr-x  26 stephan  wheel  884 25 Feb 10:08 QtPlatformHeaders
drwxr-xr-x   7 stephan  wheel  238 25 Feb 10:08 QtPlatformSupport
lrwxr-xr-x   1 stephan  wheel   39 25 Feb 10:10 QtPrintSupport -> 
../lib/QtPrintSupport.framework/Headers
drwxr-xr-x   7 stephan  wheel  238 25 Feb 10:09 QtQmlDevTools
lrwxr-xr-x   1 stephan  wheel   30 25 Feb 10:10 QtSvg -> 
../lib/QtSvg.framework/Headers
drwxr-xr-x   9 stephan  wheel  306 25 Feb 10:10 QtUiTools
lrwxr-xr-x   1 stephan  wheel   34 25 Feb 10:10 QtWidgets -> 
../lib/QtWidgets.framework/Headers
lrwxr-xr-x   1 stephan  wheel   30 25 Feb 10:10 QtXml -> 
../lib/QtXml.framework/Headers

I’ve checked the pkg-config file from Qt5 for e.g. Qt5UiTools.pc and all the 
compiler switches given there are present when LyX configure is trying to 
compile the first Qt-code-snippet. If I move the QtCore symlink away I’m 
getting the same error as you mentioned.

See also at https://trac.macports.org/ticket/44204

The man page for clang mentions the -F switch to add a directory to search 
include headers in frameworks but this didn’t help. I failed to find a working 
example so I’ve sticked with my symlink hack. (It’s not so easy to google for 
examples for the „-F“ switch.)

> >       • Building LyX against qt.io's Open Source compiled version of Qt 
> > 5.6.0 with first configure/making Qt5 with the source code installer here 
> > which appears to configure/make/make install (to /sw/lib/qt5-qtio) 
> > successfully.  I then try
> > ./configure --with-qt-dir=/sw/lib/qt5-qtio/
> 
> Really? What’s the contents of /sw/lib/qt5-qtio?
> 
> 
> See attached ls -lR text files for qt5-qtio to be compared with Fink's 
> qt5-mac.
> <qt5-mac_ls-lR.txt><config.log><qt5-qtio_ls-lR.txt>

This (qt5-qtio_ls-lR.txt) looks unusable indeed.

Stephan

Reply via email to