On 20 Aug, 2014, at 11:22 , Stephan Witt <st.w...@gmx.net> wrote:

> Am 19.08.2014 um 22:41 schrieb Patrick De Visschere <pdvissch...@edpnet.be>:
> 
>> On 19 Aug, 2014, at 14:12 , Stephan Witt <st.w...@gmx.net> wrote:
>> 
>>> Am 17.08.2014 um 20:13 schrieb Patrick De Visschere <pdvissch...@edpnet.be>:
>> 
>> My environment
>> 
>> * Mac OS X 10.9.4
>> * Darwin Kernel Version 13.3.0
>> * Qt 5.3.1 (stable branch) (default Cocoa)
>> ./configure -opensource -silent -shared -release -no-dbus -nomake examples 
>> -nomake tools -no-framework
> 
> You don't build the libraries as frameworks. I'm not sure if this makes no 
> difference.
> 
> I'm using the Qt frameworks I've build myself.
> 
> Stephan

Stephan,

I was planning to do that. (the qt-debug build does not make a difference as 
you expected)

I suppose you use the LyX-Mac-binary-release.sh script.

I have never managed to use this script without making changes to it, perhaps 
because I’m using it the wrong way.

I build qt as a framework separately and would then use the script like:

sh development/LyX-Mac-binary-release.sh  --with-qt-frameworks=yes  
--with-qt-dir=/Users/pdv/Developer/public/Trolltech/Qt-5.3.1 
--qt-deployment=yes --with-macosx-target=10.8 --with-sdkroot=10.8 
--with-arch=x86_64 --with-libiconv-prefix=/opt/local --enable-debug

I think the --with-qt-frameworks=yes is needed to include qt as a framework;

and --with-qt-dir=/… points to the dir where the  qt-framework has been 
installed (previously).

I’m not sure about the exact meaning of --qt-deployment=yes  but I think  I 
need it too.

What I don’t understand are the lines 260-262
if [ "${configure_qt_frameworks}" != "yes" ]; then
        QtInstallDir=${QTDIR:-"/opt/qt4"}
fi

with --with-qt-frameworks=yes, QtInstallDir is not set.
 
Therefore I uncomment the if/fi so that
QtInstallDir=${QTDIR:-"/opt/qt4”}

is always executed and QtInstallDir points to my qt-install dir.

In addition I must modify some CPPFLAGS= ...

Any idea what I’m doing wrong?

Patrick De Visschere

Reply via email to