On 15/05/2016 19:48, Bruce Dubbs wrote:
> Pierre Labastie wrote:
>> On 15/05/2016 11:35, Pierre Labastie wrote:
>>> On 14/05/2016 17:03, Ken Moffat wrote:
>>>> On Sat, May 14, 2016 at 04:14:48PM +0200, Pierre Labastie wrote:
>>>>>
>>>>> This "-fno-delete-null-pointer-checks" addition is the same as that for
>>>>> OpenJDK. I understand it removes some too agressive optimization.
>>>>>
>>>>> It seems that only qtwebengine needs that, and not the whole Qt, so I 
>>>>> wonder
>>>>> how to do it: First build Qt with -skip-qtwebengine, then run qmake for qt
>>>>> webengine (as in the fedora spec above), and make again? Or add a new
>>>>> page for
>>>>> qtwebengine?
>>>>>
>>>>
>>>> I haven't had time to study the details of what fedora are doing,
>>>> but I was already thinking about adding a new page for qtwebengine.
>>>> My primary reason is that it extendes the build time a lot and for
>>>> the moment only qupzilla uses it.
>>>>
>>>> But that might end up with both pages calling themselves qt
>>>> throughout the book.
>>>>
>>>
>>> Update:
>>> Adding "export CXXFLAGS=-fno-delete-null-pointer-checks" before building
>>> qtwebengine fixes qupzilla (respective to this "unable to load page" thing).
>>> FWIW, here is what I did:
>>> - build qt5 as per the book (skip-qtwebengine)
>>> - build the whole of LXQt except qupzilla.
>>> - install pciutils
>>> - build qtwebengine with the following instructions:
>>>    - extract qt5 tarball again and change to the extracted directory
>>>    - apply the NSS patch
>>
>> Forgot:
>>      - run "export CXXFLAGS=-fno-delete-null-pointer-checks"
>>
>>
>>>    - run "./configure ..." as given in the book, except removing the
>>> "-skip-qtwebengine" flag
>>>    - run "make module-qtwebengine". This just rebuilds part of qt, and then
>>> builds qtwebengine
>>>    - run "make module-qtwebengine-install_subtargets".
>>>    - run the instructions as in the book to remove reference to the build
>>> directory.
>>> - build qupzilla, as per the book.
> 
> Do you have any timing data or space for that?
> 
>   -- Bruce
> 
> 
Good question. Since I was not sure the build was working, I did not measure
anything... I think the only interesting thing actually would be to compare
the time for building qt5, then qtwebengine in the same directory, to the time
for first building qt5, then start from a refreshed build directory as above.
I think the time for rebuilding the part of qt, which is needed for
qtwebengine is shorter, but not negligible compared to the time for building
qtwebengine itself (say 10 mn for the qt part and 1 hour for qtwebengine, at
-j4 on an i7-4790). As of disk space, the only thing I can tell is that the
installed size (in /opt/qt5) is around 280 MB.

Pierre


Pierre
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to