On Tue, Oct 21, 2014 at 2:02 AM, Stephan Witt <st.w...@gmx.net> wrote:
> 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. Makes sense. > 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? It is strange that it says "Building in-source". I cannot reproduce this (I tried your same steps). Something weird is going on. For some reason CMAKE_SOURCE_DIR is the same as CMAKE_BINARY_DIR, which should not be the case. > 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. Good idea. I should do that. Scott