Am 20.10.2014 um 10:27 schrieb Scott Kostyshak <skost...@lyx.org>:

> I can't help with the specific errors you're seeing since I don't know
> Qt at that technical of a level. But I can modify the lyx-tester
> script to get you a LyX build that reproduces the problem. See below
> for ways in which I can improve it to suit your needs. Are you using
> Ubuntu in a virtual box? It makes it very easy to run something from a
> fresh install of Ubuntu and you can experiment without fear.
> 
> On Tue, Oct 14, 2014 at 10:11 AM, Stephan Witt <st.w...@gmx.net> wrote:
> 
>> I cannot use your scripts to test my changes - they're not in git yet.
> 
> I see. I just pushed a patch that allows you to put .patch files in
> ~/Downloads/lyxPatches that will be applied before building LyX. I can
> make it more general if you'd be interested.
> 
>> But I've studied the scripts and think I don't need the full blown TeX
>> environment to see the rendering of LyX file content on screen.
> 
> Indeed. I can add support for either a minimal TeX installation or no
> TeX installation or system TeX installation (from apt). Let me know if
> any of those options would be helpful for you.
> 
> I also added Kornel's Qt 5 building so we can test with the latest
> stable release from Git. I just pushed this to the debug branch though
> because I haven't tested it yet.
> 
> Scott

Thank you for your effort. As you saw, I solved the compile problems with
a modified configure command line. I couldn't believe it doesn't compile
out of the box with Qt5. Most of the time I want to understand the steps
I'm doing. That's why I didn't start over with a fresh install.

You may ask, why I didn't use cmake. First it was not installed and I had
to learn how package management on Ubuntu works. Later I couldn't git it
to compile LyX out-of-source. I don't understand it. I'm doing that:

$ mkdir lyx-2.2-cmake
$ cd lyx-2.2-cmake
$ cmake ../LyX-2.2-2.2.0dev
-- 
-- Building in-source
-- 
-- Using GCC version 4.8

fatal: Not a git repository (or any of the parent directories): .git
-- Found Qt-Version 4.8.6
...

Why this?

Stephan

BTW, perhaps you may add an option to choose QT4/QT5 to your lyx-build script.
ATM automake builds it with Qt4 and cmake uses Qt5.

Reply via email to