Re: cannot compile LyX with MSVC 2013 and Qt 5 or Qt 4 - need CMake help

2014-06-26 Thread Scott Kostyshak
On Thu, Jun 26, 2014 at 7:06 PM, Uwe Stöhr wrote: > Am 26.06.2014 10:11, schrieb Kornel Benko: > > The patch implements the use of LYX_USE_QT variable, so the default compilation should use qt4 even if also qt5 devel files are installed. >>> >>> >>> That would be very helpful. This

Re: cannot compile LyX with MSVC 2013 and Qt 5 or Qt 4 - need CMake help

2014-06-26 Thread Uwe Stöhr
Am 26.06.2014 10:11, schrieb Kornel Benko: The patch implements the use of LYX_USE_QT variable, so the default compilation should use qt4 even if also qt5 devel files are installed. That would be very helpful. This way I can try Qt 5 for master and use Qt 4 to compile releases of 2.1. Please

Re: LyX 2.1.1, Again

2014-06-26 Thread Uwe Stöhr
Am 26.06.2014 20:22, schrieb Georg Baum: Not needed. Line 3855 contains only a closing brace '}' in 2.1 branch. The warning makes sense if you look at master. There you have if (pos < from + lyxrc.completion_minlength) which is indeed a comparison between signed and unsigned values. I'll fix t

Re: cannot compile LyX with MSVC 2013 and Qt 5 or Qt 4 - need CMake help

2014-06-26 Thread Kornel Benko
Am Donnerstag, 26. Juni 2014 um 20:16:56, schrieb Georg Baum > Kornel Benko wrote: > > > Am Mittwoch, 25. Juni 2014 um 23:29:34, schrieb Uwe Stöhr > > > >> > >> That would be very helpful. This way I can try Qt 5 for master and use > >> Qt 4 to compile releases of 2.1. Please commit. > > > > Don

Re: cannot compile LyX with MSVC 2013 and Qt 5 or Qt 4 - need CMake help

2014-06-26 Thread Georg Baum
Uwe Stöhr wrote: > I was now able to compile Master with Qt 5.3. LyX works so far, but > crashes immediately when trying to view a file as PDF. So yes, Qt 5 and > LyX does not yet work but we should try to make this possible for LyX > LyX 2.2. Yes. There have been many discussion already on that

Re: LyX 2.1.1, Again

2014-06-26 Thread Georg Baum
Uwe Stöhr wrote: > I get this warning when compiling current LyX 2.1.x branch: > > "D:\LyXGit\Master\compile-result\src\LyX.vcxproj" (Standard target) (3) -> > (ClCompile target) -> > ..\..\src\Paragraph.cpp(3855): warning C4018: '<': conflict between > 'signed' and 'unsigned' [D:\LyXGit\Mast

Re: cannot compile LyX with MSVC 2013 and Qt 5 or Qt 4 - need CMake help

2014-06-26 Thread Georg Baum
Kornel Benko wrote: > Am Mittwoch, 25. Juni 2014 um 23:29:34, schrieb Uwe Stöhr > >> >> That would be very helpful. This way I can try Qt 5 for master and use >> Qt 4 to compile releases of 2.1. Please commit. > > Done. I am pretty sure, this does not break users using Qt4. > > I hope, Richard

Re: cannot compile LyX with MSVC 2013 and Qt 5 or Qt 4 - need CMake help

2014-06-26 Thread Kornel Benko
Am Mittwoch, 25. Juni 2014 um 23:29:34, schrieb Uwe Stöhr > Am 25.06.2014 18:28, schrieb Kornel Benko: > > >> I understood that he _is_ trying 2.1. > > Yes. > > >> QT5 will be used there, if cmake finds it. So one has to deinstall QT5. > > That is bad. > > > Uwe, please try this patch (on 2.1 bran

Re: cannot compile LyX with MSVC 2013 and Qt 5 or Qt 4 - need CMake help

2014-06-26 Thread Kornel Benko
Am Donnerstag, 26. Juni 2014 um 00:05:40, schrieb Uwe Stöhr > Am 25.06.2014 11:21, schrieb Kornel Benko: > > >> - CMake Warning at CMakeLists.txt:549 (find_package): > >> By not providing "FindQt5X11Extras.cmake" in CMAKE_MODULE_PATH this > >> project has asked CMake to find a package configuratio