KDEUI build failed on Mac OS X with Qt Framework installation.

younker mac.younker at gmail.com
Sun Jun 10 10:20:30 BST 2007


If Qt is built as framework, there is not a folder named Qt in its
include dir, so when you include <Qt/qdom.h> or <Qt/qxml.h>,
gcc can not find the right header files so the compilation will stop.

Anyway if Qt isn't build as framework, this include is correct.

Thiago Macieira 写道:
> younker wrote:
>   
>> There are some source files include <Qt/qdom.h> which will cause compile
>> failed when Qt is installed as framework on Mac OS X,
>> These include should be <QtXml/qdom.h>
>>     
>
> Sorry, the patch is incorrect. The includes are correct. Please post the 
> error you're getting so that we can fix it in another way.
>
>   
>> Index: kxmlguibuilder.cpp
>> ===================================================================
>> --- kxmlguibuilder.cpp (revision 673234)
>> +++ kxmlguibuilder.cpp (working copy)
>> @@ -37,7 +37,7 @@
>> #include <klocale.h>
>> #include <kiconloader.h>
>> #include <kdebug.h>
>> -#include <Qt/qdom.h>
>> +#include <QtXml/qdom.h>
>>     
>
>
>   





More information about the kde-core-devel mailing list