Discussion:
Build latest master (26 September 2014)
Jacob Shapiro
2014-09-27 08:38:26 UTC
Permalink
I'm trying to build the latest master (26 September 2014) with QT5
in order to solve the blurriness of
the macbook retina display with LyX (could that even help?)

I'm using this repository:
https://github.com/yashkes/LyX
and I applied the patches from MacPorts to make the
thing compile on OS X:
https://trac.macports.org/browser/trunk/dports/aqua/LyX/

My configure was:
./configure --enable-qt5 --with-qt-dir=/usr/local/opt/qt5/
--without-x --with-included-gettext -
-without-included-boost --enable-optimization=-Os --disable-concept-checks

QT5.3.2 was installed from homebrew.

However, during the 'make' procedure, I get the following error:
CXX GuiApplication.o
GuiApplication.cpp:137:10: fatal error: 'QMacPasteboardMime' file not
found
#include <QMacPasteboardMime>
^

Searching google gives results from 2012 saying that
QMacPasteboardMime was deprecated in QT5.

Can anyone provide more help?

Thanks,

~Jacob
Jacob Shapiro
2014-09-27 09:25:40 UTC
Permalink
Post by Jacob Shapiro
I'm trying to build the latest master (26 September 2014) with QT5
in order to solve the blurriness of
the macbook retina display with LyX (could that even help?)
So it seems like there is a fix for this (and yes, it requires QT5):
http://www.lyx.org/trac/ticket/9130
and the fix is here:
https://github.com/315234/lyx-retina

So if I could get this to compile I would potentially get rid of
the blurriness problem!
Stephan Witt
2014-09-27 14:12:33 UTC
Permalink
Post by Jacob Shapiro
I'm trying to build the latest master (26 September 2014) with QT5
in order to solve the blurriness of
the macbook retina display with LyX (could that even help?)
https://github.com/yashkes/LyX
and I applied the patches from MacPorts to make the
https://trac.macports.org/browser/trunk/dports/aqua/LyX/
./configure --enable-qt5 --with-qt-dir=/usr/local/opt/qt5/
--without-x --with-included-gettext -
-without-included-boost --enable-optimization=-Os --disable-concept-checks
QT5.3.2 was installed from homebrew.
CXX GuiApplication.o
GuiApplication.cpp:137:10: fatal error: 'QMacPasteboardMime' file not
found
#include <QMacPasteboardMime>
^
Searching google gives results from 2012 saying that
QMacPasteboardMime was deprecated in QT5.
Can anyone provide more help?
QMacPasteboardMime is in the QtMacExtras.framework.

Stephan
Jacob Shapiro
2014-09-27 14:41:53 UTC
Permalink
Post by Stephan Witt
QMacPasteboardMime is in the QtMacExtras.framework.
Stephan
Dear Stephan,

This works with this repository:
https://github.com/315234/lyx-retina

To make it compile,
I had to change the ./configure script
and add Qt5MacExtras or -framework
Qt5MacExtras in different places.

But now the GUI itself (not the text) is all twice as small
(which I could live with) but the text cursor is
not displayed :( The menubar of OS X is also not
so well integrated: the Lyx-> submenu is generic
and doesn't include, for example "Preferences".

Thanks for your response anyway,

~Jacob
Stephan Witt
2014-09-27 16:58:28 UTC
Permalink
Post by Jacob Shapiro
Post by Stephan Witt
QMacPasteboardMime is in the QtMacExtras.framework.
Stephan
Dear Stephan,
https://github.com/315234/lyx-retina
To make it compile,
I had to change the ./configure script
and add Qt5MacExtras or -framework
Qt5MacExtras in different places.
Ok, but I do not understand why you had to do it manually.

Did you use autogen.sh to create a decent configure script?
commit 327da4f27565e8ac26e48c7094fcf91f15562297 contains the
change to add the QtMacExtras detection. Perhaps you should
apply the latest patch of the lyx-retina repository to a git
checkout of LyX's git master.

Stephan
Post by Jacob Shapiro
But now the GUI itself (not the text) is all twice as small
(which I could live with) but the text cursor is
not displayed :( The menubar of OS X is also not
so well integrated: the Lyx-> submenu is generic
and doesn't include, for example "Preferences".
This change is intentional. The move of "Preferences" to the
LyX application menu doesn't work well with Cocoa. It leads to
multiple "Preferences" items and crashes on window close and open.

Stephan
Post by Jacob Shapiro
Thanks for your response anyway,
~Jacob
Continue reading on narkive:
Loading...