aboutsummaryrefslogtreecommitdiffstats
path: root/qtwebengine
diff options
context:
space:
mode:
authorJuha Vuolle <[email protected]>2025-05-07 09:55:46 +0300
committerJuha Vuolle <[email protected]>2025-06-02 10:43:29 +0300
commit30aadf11aa3339887505233e293d26d27d96647a (patch)
tree6ae2bd22387450919d1d0b2d99adeab11090df91 /qtwebengine
parentb3c634b4a51c9c1f662227b9d3d8e93bb7f7c990 (diff)
Add minimalistic Qt configuration for Quick appsHEADdev
This commit adds size-optimized Qt configuration for Qt Quick apps. By having a CI configuration helps in ensuring that the configuration doesn't break over time. The goal of the configurations is to provide a size-optimized build while typical Quick applications should still work. The latter point was checked by checking several example apps: Coffeemachine, Calqlatr, Gallery, Colorpalette, and few smaller test applications. Space-savings are in 60% ballpark when comparing optimized with non-optimized static builds. Optimizations also include stripping the binaries where applicable. Tested platforms: iOS, macOS, Windows, Linux, WebAssembly and Android. Autotests are compiled and run only on one platform (macOS) to preserve CI compute. Configurations are 'Insignificant' to avoid interruptions - this should be changed once proven stable. Notably all except Android builds are static builds; static build optimizations (LTO in particular) are very powerful in optimizing size. Qt for Android OTOH does not support static builds. There are more features and options that user can disable for further space savings. Prior art for Linux show-cases taking the optimizations further (QTBUG-117638). This commit is preceded by numerous compilation fixes to qtbase and qtdeclarative (now merged). Fixes: QTBUG-134299 Change-Id: Iaec0aea3e9d475220161ca8d00f0ec15eaa637a9 Reviewed-by: Tor Arne Vestbø <[email protected]> Reviewed-by: Assam Boudjelthia <[email protected]> Reviewed-by: Simo Fält <[email protected]>
Diffstat (limited to 'qtwebengine')
0 files changed, 0 insertions, 0 deletions