README.kde-qt

Matthew Woehlke mw_triad at users.sourceforge.net
Tue Nov 17 02:43:30 CET 2009


Matthew Woehlke wrote:
> Michael Jansen wrote:
>> On Monday 16 November 2009 23:17:33 Matthew Woehlke wrote:
>>> (Please configure your mailer to use line breaks.)
>>>
>>> Michael Jansen wrote:
>>>> -no-exception:
>>>> --------------
>>>> Disables this XmlPattern thing and makes compiling koffice and i
>>>> think some plasma stuff impossible. qtscriptgenerator unconditionally
>>>> assumes it to be set so you have to patch it to compile it. Is this
>>>> still recommended?
>>> How does -no-exceptions relate to XmlPattern and koffice? Koffice /used/ 
>>> to build with -no-exceptions at least; recently it doesn't build, but 
>>> that seems to be related to OpenGL...
>>>
>>>
>> From qt "configure --help" text
>>
>>     -no-xmlpatterns .... Do not build the QtXmlPatterns module.
>>  +  -xmlpatterns ....... Build the QtXmlPatterns module.
>>                          QtXmlPatterns is built if a decent C++ compiler
>>                          is used and exceptions are enabled.
>>
>>
>> So if you compile qt with -no-exception you get no QXmlPatterns.
>>
>> It's possible that koffice itself compiles with -no-exception. But iirc not with a
>> qt build with -no-exceptions because something in there uses QXmlPattern. At
>> least that's what i remember.
> 
> Well, AFAIK I've always used -no-exceptions with Qt, and have been able 
> to build koffice before. The error I've been getting lately has to do 
> with glew.

...and I finally tracked this down to an incompatible change in 
koffice's FindGLEW.cmake (basically it was using a stale copy from my 
existing installation of koffice, leading to a build with HAVE_GLEW but 
not GLEW_LIBRARIES).

So... -no-exceptions does not preclude building koffice. At least not on 
my machine.

-- 
Matthew
Please do not quote my e-mail address unobfuscated in message bodies.
-- 
KDE: Desktop Excellence



More information about the Kde-buildsystem mailing list