summaryrefslogtreecommitdiffstats
path: root/src/core/config/embedded_linux.pri
Commit message (Collapse)AuthorAgeFilesLines
* Use ozone for x11Michal Klocek2018-08-021-13/+0
| | | | | | | | | | | | | | | | | | | | | Switch to use ozone also for x11/glx. This way we have a more elegant approach to hook in our gl surface classes and we use ozone for all linux qpa backends. Moreover, we have now also more fine grain control to reimplement gl surface handling logic. This also aims to fix currently broken wayland backend, but instead of patching the broken x11 calls, we simply reuse ozone which does not use x11 for ozone egl. Add webengine-x11 check to handle ozone glx plugin compilation. For ozone egl backend reimplement missing functions. Task-number: QTBUG-65682 Task-number: QTBUG-51631 Change-Id: I8b45c6f4d09a1c703efb12b6452d78ab385371ab Reviewed-by: Jüri Valdmann <juri.valdmann@qt.io>
* Remove WEBENGINE_CONFIG from configureMichal Klocek2017-09-201-4/+0
| | | | | | | | | | | | | | Do not store flags in qmake.cache with WEBENGINE_CONFIG. Use directly qtConfig values insted. This makes configuration more consistent, simplifies handling and avoids passing values from qtConfig to WEBENIGNE_CONFIG, which then were passed to gn. [ChangeLog] Removing WEBENGINE_CONFIG from qtwebengine configure Change-Id: I1a773fb4bff6d67ad75c237d044998051d92ab51 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
* Adaptations for Chromium 57Allan Sandfeld Jensen2017-06-141-1/+0
| | | | | Change-Id: Ia2756c1e9b13839c2330bd98cf953d47cbdac0dd Reviewed-by: Peter Varga <pvarga@inf.u-szeged.hu>
* Remove gyp handlingAllan Sandfeld Jensen2017-03-221-54/+14
| | | | | | | Remove now dead GYP related code. Change-Id: I7d5b8f28f8925e553211dc88acd571b605ffe80d Reviewed-by: Michal Klocek <michal.klocek@qt.io>
* Cleanup ozone platformAllan Sandfeld Jensen2017-03-201-1/+1
| | | | | | | | | Rename the platform to make it clear it is not just for eglfs. Fixes formating, and also removes parts unnecessary for us that original ozone platforms doesn't use anymore either. Change-Id: I04e5792e2ced2580ae0cbfe208b4e594af60a09a Reviewed-by: Michal Klocek <michal.klocek@qt.io>
* Fix OpenGL for embedded buildsAllan Sandfeld Jensen2017-03-201-0/+2
| | | | | | | | Sets the external ozone platform and make sure we don't set bad QT_LIBDIR defines for libEGL and libGLESv2 when not doing cross builds. Change-Id: I60eada3c93224a3aa3a105b007d669932516d331 Reviewed-by: Michal Klocek <michal.klocek@qt.io>
* Fix cross-compiled desktop linux buildsAllan Sandfeld Jensen2017-03-021-5/+0
| | | | | | | | With embedded-builds now being a configure option we can have cross compiled desktop builds, and should support them. Change-Id: I43d9f26dc13bc1709c24d1420868e3c8bbbc458f Reviewed-by: Michael Brüning <michael.bruning@qt.io>
* Fix linux-clang buildsAllan Sandfeld Jensen2017-03-021-1/+0
| | | | | | | Pass through the right GN args to make clang builds work. Change-Id: I99d7f0caaed8a8c594a8b40f18207f2f95fe03b1 Reviewed-by: Michal Klocek <michal.klocek@qt.io>
* Support cross-builds and alternative compilers with GNAllan Sandfeld Jensen2017-03-011-0/+5
| | | | | | | | Adds GN versions of the gyp_configure targets, to create custom toolchains we can use to override compilers used by GN. Change-Id: Ic3a9cb7e83f845180396faff632f72f9c24f3365 Reviewed-by: Michal Klocek <michal.klocek@qt.io>
* Simple adaptations to Chromium 55Allan Sandfeld Jensen2017-03-011-0/+18
| | | | | | | The simplest adaptations to API and build changes in Chromium 55 Change-Id: I923fa188690a04902492317807f72f006bcab9c6 Reviewed-by: Michal Klocek <michal.klocek@qt.io>
* Make WebRTC support configurableAllan Sandfeld Jensen2017-01-311-1/+0
| | | | | | | | | | WebRTC is a big feature that Chromium has left configurable for a long time, we can forward that configurability to our users to allow them control it directly instead of just enabling it on desktop and disabling it on embedded. Change-Id: I4445e2189112205ddf1368bd5e197bab2df92092 Reviewed-by: Michael Brüning <michael.bruning@qt.io>
* Add pepper-plugins feature to new configure systemMichal Klocek2017-01-161-1/+0
| | | | | | | | Task-number: QTBUG-57731 Task-number: QTBUG-58108 Change-Id: I253dab52361afd411dcf545fab752836c19ee3c7 Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Add print and pdf feature to new configure systemMichal Klocek2017-01-161-4/+1
| | | | | | | | | | | | Currently printing and pdf are bounded together. Make compilation optional by adding it as a feature. Fix formatting of embedded_linux.pri Task-number: QTBUG-57731 Task-number: QTBUG-58108 Change-Id: I53a2baea656df0a5b6139365ed06385c9ebc5830 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Disable angle opengl in embedded linuxSamuli Piippo2016-09-301-0/+1
| | | | | | | | | Angle opengl has dependency to mesa (libdrm/gbm), but component is never built on embedded linux. Disable to avoid unnecessary check. Change-Id: Ie1e2ef56692f5e311bb2011a15dba9de1bb8de2f Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Enable PDF for desktop platforms and add chromium dependenciesMichael Bruning2016-08-241-0/+1
| | | | | | | | PDF is enabled globally, but disabled for the embedded platforms currently Change-Id: I44e1ffc8587ff8d8e677a47f8048feaef2e3266a Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Basic porting to Chromium 51Allan Sandfeld Jensen2016-06-011-1/+1
| | | | | | | Trivial changes in methods, arguments and types. Change-Id: Ic707c376249f816268223e696ed5f6251df1f85f Reviewed-by: Michael Brüning <michael.bruning@theqtcompany.com>
* Update snapshot scripts to Chromium 49Allan Sandfeld Jensen2016-03-071-1/+0
| | | | | | | | | The multi megabyte ICU assembler files are now omitted, as we instead either generate data files or use system ICU. Task-number: QTBUG-51173 Change-Id: I7c7594be08876751ffd73171550000a28399954f Reviewed-by: Michael Brüning <michael.bruning@theqtcompany.com>
* Reduce size of embedded binariesAllan Sandfeld Jensen2016-02-161-0/+2
| | | | | | | | | | Adds a WEBENGINE_CONFIG option that greatly reduces the size of the core library (from 80Mbyte to 45Mbyte on Linux), and enable it on embedded linux by default. Change-Id: Ieb7afdbc160984fe5952be16dfbc96aa8c5f35ef Reviewed-by: Michael Brüning <michael.bruning@theqtcompany.com> Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
* Include printing sources and enable printing for desktop platforms.Michael Bruning2016-02-101-0/+1
| | | | | | | | | | | Also adds Qt specific core classes for printing as well as adding printing related objects to the web engine context and including the printing sources in the builds for the desktop platforms. Also updates src/3rdparty submodule SHA-1. Change-Id: I9c2631c59f63571c0840d838077e66122bacc741 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@theqtcompany.com>
* Add spell checker supportMichal Klocek2016-02-011-1/+0
| | | | | | | | | | | | | | | | | Integrate chromium spell checker: * add spellchecker and dependencies to build * underline misspelled words in html text areas * right-click context menu shows up to 4 options to correct the misspelled word * toggle spell check from context menu * add new qml and widget api calls to qwebengineprofile to enable/disable spell check, select spell check language, get list of supported languages/dictionaries * register new qml spell check properties for QtWebEngine 1.3 * CONFIG+="no_spellcheck" to remove spellcheck support Change-Id: Ie61434ab9493597d7759a6f33794f6859c4e3a4c Reviewed-by: Allan Sandfeld Jensen <allan.jensen@theqtcompany.com>
* Make NSS vs BoringSSL choice more flexibleAllan Sandfeld Jensen2015-10-121-3/+0
| | | | | | | | Make the NSS library optional on Linux to reduce the hard coded difference between embedded and desktop builds. Change-Id: I3d7f703ead0ff325ffd2ae272e7e4c2d5258fc25 Reviewed-by: Michael Brüning <michael.bruning@theqtcompany.com>
* Unite commmon linux platform configurationAllan Sandfeld Jensen2015-09-101-29/+2
| | | | | | | Move duplicated linux configuration to linux.pri Change-Id: I9f6f876e09fb748fb78cfbd5201a4326693f0be9 Reviewed-by: Peter Varga <pvarga@inf.u-szeged.hu>
* Respect Qt system-harfbuzz settingAllan Sandfeld Jensen2015-08-251-0/+1
| | | | | | | Link with system harfbuzz when Qt has been configured to do so. Change-Id: I6921397915f069b06e6447987744c0186b6c7ce0 Reviewed-by: Andras Becsi <andras.becsi@theqtcompany.com>
* Fix the build on embedded linuxAndras Becsi2015-08-241-0/+3
| | | | | | | | | | | | This patch: - adds required options to the embedded_linux.pri config - adds missing events_ozone.gyp:events_ozone_evdev dependency - fixes pkg-config not to pick host paths when cross compiling - implements missing functions of the OzonePlatform interface - updates the submodule to include fixes for chromium Change-Id: I77b384738fa7d41938a68c10a007728b10d7db28 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@theqtcompany.com>
* Add configurable option for using system FFMPEGAllan Sandfeld Jensen2015-07-281-0/+1
| | | | | | | | | | | Add qmake command line option to use system FFMPEG and report result and option in the configure summary. Also checks libraries FFMPEG and chromium both uses are available on the system since linking will otherwise fail. Does not check if the version of the libav libraries are correct, but leaves that to whomever enables the option. Change-Id: I39c9c47eba19a6e40872a2e9b24a9010cdea1011 Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
* Use system snappy if availableAllan Sandfeld Jensen2015-07-281-0/+1
| | | | | | | Snappy doesn't use pkg-config so we use a configure check to detect it. Change-Id: I54f02d493139069ca8838f7008041340990fc016 Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
* Add post configure step and make using system ICU an optionAllan Sandfeld Jensen2015-07-271-1/+2
| | | | | | | | | | Adds a post configure step to test qmake arguments, summerize options, and make it possible to enable using system ICU, but leaving it default off for now. Also summerizes the proprietary codec configuration. Change-Id: I620a69dcdbb14b49143770d38eecb5aeab48ad05 Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
* Use system libsrtp if availableAllan Sandfeld Jensen2015-07-191-0/+1
| | | | | | | | Adds configure check and configures chromium to use system libsrtp if available. Change-Id: I134c50e1179bfb6acf01347456f8be26f27bf559 Reviewed-by: Simon Hausmann <simon.hausmann@theqtcompany.com>
* Detect and use system librariesAllan Sandfeld Jensen2015-07-191-1/+8
| | | | | | | | Uses pkg-config to detect libevent, libwebp, flac, jsoncpp, opus, speex and vpx, and configure chromium to link with system versions. Change-Id: Ic6c5bbe07929a7c2b79abcb760a8c61b0c9ed92f Reviewed-by: Simon Hausmann <simon.hausmann@theqtcompany.com>
* Remove code dealing with now removed ffmpegsumo pluginAllan Sandfeld Jensen2015-07-151-1/+0
| | | | | | | | | | Chromium now links statically to ffmpeg, and the ffmpegsumo plugin is no longer built. This also makes the plugin dir unneeded. Change-Id: I2204ce966b067886d57a9548d8aec829b73642d8 Reviewed-by: Andras Becsi <andras.becsi@theqtcompany.com>
* Merge Chromium 44 and fixesAllan Sandfeld Jensen2015-07-061-0/+3
|\ | | | | | | | | | | | | Bumbs the Chromium version to 44 and merges the 'wip/44-based' branch, which contains all the patches to build against Chromium 44. Change-Id: If03dd301cb2a5cf7da3fe0a92ce1134f1239bf00
| * Unbundle zlib, minizip, libxml2 and libxslt on LinuxAllan Sandfeld Jensen2015-07-011-0/+2
| | | | | | | | | | | | | | If available use the system versions of these basic libraries on Linux. Change-Id: Iebcd5c11c53d0d491c457ccff71be04f8b2cac1c Reviewed-by: Andras Becsi <andras.becsi@theqtcompany.com>
| * Respect the system-png configure optionAllan Sandfeld Jensen2015-07-011-0/+1
| | | | | | | | | | | | | | Link to system libpng on Linux if Qt was configured to do so. Change-Id: Ic86120aabb206173738e5a1977cad1d762794f2a Reviewed-by: Andras Becsi <andras.becsi@theqtcompany.com>
* | Use system fontconfig on embedded linuxv5.5.0Andras Becsi2015-06-161-0/+1
|/ | | | | | | | | | Since our reference platform provides fontconfig on the system we can use that instead of the bundled one. This prevents us from duplicating the fontconfig cache which might also result in a very long first startup time. Change-Id: Ida74651a0d73ac7631cb5b60c0ced5998e59bc8c Reviewed-by: Allan Sandfeld Jensen <allan.jensen@theqtcompany.com>
* Update embedded configurationAndras Becsi2015-05-121-5/+2
| | | | | | | | | Remove some obsolete options and add conditionals similar to desktop_linux.pri. Change-Id: Id295345028e5fd5f593cbd0b5dc6acdb5c00518b Reviewed-by: Michael Brüning <michael.bruning@theqtcompany.com> Reviewed-by: Allan Sandfeld Jensen <allan.jensen@theqtcompany.com>
* Fix the build on eLinuxAndras Becsi2015-02-201-0/+3
| | | | | | | | | | | | | Update ozone layer to the new snapshot, update the embedded_linux.pri configuration, fix the GLSurfaceQt build on non-x11 linux and update embedded command line switches for the 40.0.2214-based chromium snapshot. This patch also updates the snapshot sha1 to include required chromium changes. Change-Id: I7f9446fa1b67a0af7baee564acff41ae33ff1a94 Reviewed-by: Michael Brüning <michael.bruning@theqtcompany.com>
* eLinux: build ffmpegsumo as well.v5.4.1Zeno Albisser2015-02-021-1/+1
| | | | | | | This will only contain free codecs. Change-Id: I021b2c121bf146abb24b7a90dd1c3580638b1058 Reviewed-by: Andras Becsi <andras.becsi@theqtcompany.com>
* Disable using the ICU data file on embedded linuxAndras Becsi2014-11-241-0/+1
| | | | | | | | Since we use the system ICU we do not need the extra data file. This fixes a crash caused by missing icudtl.dat file. Change-Id: Ic7a6ad83d6595ea3a89c736c281499636b05945e Reviewed-by: Zeno Albisser <zeno.albisser@digia.com>
* Update build configuration for eLinux after update to Chromium 37.Zeno Albisser2014-10-061-1/+3
| | | | | | | | | | | | | | | | | | | | The build configuration requires the following changes: - toolkit_views=1: for native_theme_aura, as otherwise nine_image_painter_factory.cc would be excluded. - use_system_harfbuzz=0: we do not want to rely on this being provided on the system, therefore being explicit. - want_separate_host_toolset=1: assures that icuuc gyp target will be available. The file gl_surface_ozone.cc must be added to the exclusion list to avoid duplicate symbols with gl_surface_at.cpp. The defines EGL_API_FB and LINUX must be set to 1, to explicitly define that we are using EGL and are building for a linux target. Change-Id: If6722ecbfd0655fe7852d52a606f27c18304f717 Reviewed-by: Zeno Albisser <zeno.albisser@digia.com>
* Sort embedded_linux.pri alphabetically.Zeno Albisser2014-04-091-11/+11
| | | | | Change-Id: Ie907ade6c4888f450ee22d4d6bfd00f0e2d1fa09 Reviewed-by: Andras Becsi <andras.becsi@digia.com>
* Do not use aurax11 clipboard on embedded linux.Zeno Albisser2014-04-091-0/+1
| | | | | Change-Id: I0ed2bd7f27bfba863331390bd5630b552cd41af4 Reviewed-by: Andras Becsi <andras.becsi@digia.com>
* Add GLContextHelper class for EGL context creation.Zeno Albisser2014-04-091-1/+1
| | | | | | | | | | | | | | | | | | | | Shared EGL contexts should always be created on the same thread, as otherwise context creation might fail. We use a GLContextHelper singleton that is initialized on startup and creates the contexts when requested through a BlockingQueuedConnection. There is a pretty and a correct solution for this problem. This is the pretty one. It is based on the assumption that Chromium decides to use the same or a similar enough configuration for the EGLContext as Qt previously did. But we prefer pretty over correct as the correct solution would potentially impose a layering violation. This is enabled for all embedded linux devices. Change-Id: I910cc90d0f87fd6d1fe0a475b17ba56cd8c503f6 Reviewed-by: Jocelyn Turcotte <jocelyn.turcotte@digia.com>
* Introduce platform specific pri files for all platforms.Zeno Albisser2014-03-281-0/+49
Define qt_os for all supported platforms. Move simple platform specific flags into the pri files. Change-Id: I09b030f4a8a815f48a8100d81669a7729218efc2 Reviewed-by: Andras Becsi <andras.becsi@digia.com>