Peter Kümmel wrote:
> Asger Ottar Alstrup wrote:
>> OK, I managed to compile and run LyX using cmake.
>>
>> I unpackaged Joost's .zip to c:\program files\gnuwin32. I added Qt and
>> Gnuwin32 to PATH, and cmake worked.
>>
>> When compiling, I got a bunch of errors about Mac line endings, which I
>> converted manually to DOS line-endings.


I also have seen this errors. All files with the wrong line endings
where generated by a Qt tool moc or uic, but I couldn't figure out
if it is a Qt bug, wrong lyx files, or a cmake problem.
Does anyone else sees this errors?


>> Then LyX compiled and linked. On start-up, it failed without any
>> message. I set the LYX_DIR_14x to lyx-devel\lib and it started.
>>
>> So I have LyX running now.
>>
>> I do not have LaTeX (yet), so it complains about missing textclasses
>> when opening documents, but other than that, it seems to work.
>>
>> I'm downloading and installing MikTeX now.
>>
>> I found a crash bug: When opening TOC in a document without any
>> headings, it crashes in QToc.C line 59, because the toc_models_ vector
>> is empty. Investigating further, it seems that QToc::update which is
>> called earlier does not make any toc_models entries: The getTypes() call
>> returns an empty vector. From there, I can see that TocBackend::types is
>> empty, and this is because the TocBackend::update does not find anything
>> when scanning the document.
>>
>> So, the question is: Where at is the best way to fix this? There is
>> absolutely no documentation about what types and toc_models is used for,
>> so I'm not sure where to fix this.
>>
>> Regards,
>> Asger
>>
>>
> 
> 


-- 
Peter Kümmel

Reply via email to