• Michal Klocek's avatar
    Add QtPdf and QtPdfWidgets modules · 883f2a99
    Michal Klocek authored
    
    This change adds two new modules to qtwebengine repository.
    
    New modules do not depend on webengine module, however webengine
    chromium source code and Chromium "gn" configuration is
    required to build QtPdf.
    
    Adding two unrelated modules to webengine might look crazy:
    however sharing gn build configuration and Chromium code base
    with necessary qt adaptations simplifies code maintenance and
    minimises required code checkouts. Back porting of security
    patches for Chromium also affects Pdfium. Moreover, Pdfium is no
    longer a separate project, but integrated into Chromium:
    therefore moving it out of Chromium source tree would require
    extra effort.
    
    Rename webengine-core feature to build-qtwebengine-core, this
    makes consistent feature naming with build-qtpdf
    
    At the moment two new modules have integrated build, with possible
    shortcuts:
    
        qmake -- --no-build-qtwebengine-core
        qmake -- --no-build-qtpdf
    
    Webengine build is disabled by default now.
    
    Change-Id: Iac3d9927d51f3ac316db0148d275eda843dcc19b
    Reviewed-by: default avatarShawn Rutledge <shawn.rutledge@qt.io>
    883f2a99