[Development] Compiling Qt5 on Ubuntu Oneiric

marius.storm-olsen at nokia.com marius.storm-olsen at nokia.com
Thu Jan 5 15:18:29 CET 2012


On 05/01/2012 08:06, ext Kate Alhola wrote:
> 2012/1/5 Thiago Macieira<thiago.macieira at intel.com>:
>> On Thursday, 5 de January de 2012 15.42.35, Kate Alhola wrote:
>>> That's was not all, then I needed to do several patches like following
>>> because webcore tried to use QWidgets
>>>
>>> diff --git a/Source/WebCore/WebCore.pro b/Source/WebCore/WebCore.pro
>>> index 458d6a2..b257f0e 100644
>>> --- a/Source/WebCore/WebCore.pro
>>> +++ b/Source/WebCore/WebCore.pro
>>> @@ -1,6 +1,7 @@
>>>   # WebCore - qmake build info
>>>   CONFIG += building-libs
>>>   CONFIG += depend_includepath
>>> +QT += widgets gui
>>
>> Wait, are you talking about Qt 5?
>>
>> Oh, sorry. I haven't built WebKit for Qt 5 in a long time. I was talking about
>> Qt 4.8.
>
> Yes, about Qt5, I have used configure -no-webkit but it still tries to
> compile qtwebkit.
> It there better way to say that do not compile webkit ?

Remove webkit from the qt5 subdirectory. There should be code in 
projects.pro which avoids it, if the code is not there.

-- 
.marius


More information about the Development mailing list