1. 11 Feb, 2023 2 commits
  2. 07 Jan, 2023 4 commits
  3. 03 Jan, 2023 1 commit
  4. 06 Dec, 2022 3 commits
    • Martin Jansa's avatar
      qt5-creator: bump SRCREV to fix compatibility with newer qt · c22b8fac
      Martin Jansa authored
      * https://code.qt.io/cgit/qt-creator/qt-creator.git/commit/?h=4.15&id=c5ab9205895d630d2a3828e4f623617efcb97784
      
      
        fixes:
      | make[3]: Leaving directory '/OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/qt5-creator/4.15.2+gitAUTOINC+94d227cd43-r0/build/src/tools/sdktool'
      | /OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/qt5-creator/4.15.2+gitAUTOINC+94d227cd43-r0/git/share/qtcreator/qml/qmlpuppet/qmlprivategate/qmlprivategate_56.cpp: In function 'QmlDesigner::PropertyNameList QmlDesigner::Internal::QmlPrivateGate::propertyNameListForWritableProperties(QObject*, const QmlDesigner::PropertyName&, QObjectList*)':
      | /OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/qt5-creator/4.15.2+gitAUTOINC+94d227cd43-r0/git/share/qtcreator/qml/qmlpuppet/qmlprivategate/qmlprivategate_56.cpp:156:82: error: no matching function for call to 'QQuickDesignerSupportProperties::propertyNameListForWritableProperties(QObject*&, const QmlDesigner::PropertyName&, QObjectList*&)'
      |   156 |     return QQuickDesignerSupportProperties::propertyNameListForWritableProperties(object, baseName, inspectedObjects);
      |       |            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      | In file included from /OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/qt5-creator/4.15.2+gitAUTOINC+94d227cd43-r0/git/share/qtcreator/qml/qmlpuppet/qmlprivategate/qmlprivategate_56.cpp:44:
      | /OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/qt5-creator/4.15.2+gitAUTOINC+94d227cd43-r0/recipe-sysroot/usr/include/QtQuick/5.15.7/QtQuick/private/qquickdesignersupportproperties_p.h:93:52: note: candidate: 'static QQuickDesignerSupport::PropertyNameList QQuickDesignerSupportProperties::propertyNameListForWritableProperties(QObject*)'
      |    93 |     static QQuickDesignerSupport::PropertyNameList propertyNameListForWritableProperties(QObject *object);
      |       |                                                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      | /OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/qt5-creator/4.15.2+gitAUTOINC+94d227cd43-r0/recipe-sysroot/usr/include/QtQuick/5.15.7/QtQuick/private/qquickdesignersupportproperties_p.h:93:52: note:   candidate expects 1 argument, 3 provided
      Signed-off-by: default avatarMartin Jansa <Martin.Jansa@gmail.com>
      c22b8fac
    • Markus Volk's avatar
      qtbase: add -DUSE_X11 Flag · c555401f
      Markus Volk authored
      
      Recently Mesa synced egl headers with khronos.
      Until now eglplatform.h added the xlib headers as long as it
      hasn't been explicitly disabled with EGL_NO_X11. Now its one step
      closer to deprecating X11 and the headers are only included if
      USE_X11 is set. If missing qtbase silently refuses to build the EGL_X11
      Plugin.
      
      This results e.g. in configure failure for qtwayland, if building
      with xcomposite-egl PACKAGECONFIG:
      
      ERROR: Feature 'xcomposite-egl' was enabled, but the pre-condition
      'features.wayland-client && features.opengl && features.egl && features.xlib
      && libs.xcomposite && features.egl_x11' failed.
      Signed-off-by: default avatarMarkus Volk <f_l_k@t-online.de>
      Signed-off-by: default avatarMartin Jansa <Martin.Jansa@gmail.com>
      c555401f
    • Francesco Montefoschi's avatar
  5. 23 Oct, 2022 1 commit
  6. 16 Oct, 2022 1 commit
  7. 30 Sep, 2022 4 commits
  8. 15 Aug, 2022 1 commit
  9. 08 Aug, 2022 2 commits
    • Marek Vasut's avatar
      qtwebengine: Fix archiver assignment · 9287d635
      Marek Vasut authored
      This qtwebengine GN patch already assigns AR correctly one line above
      to '--ar \"$$which(ar)\"' , drop the newly added upstream AR assignment
      as it triggers build failure:
      
      "
      [184/187] CXX tools/gn/target.o
      [185/187] CXX tools/gn/visual_studio_writer.o
      [186/187] AR gn_lib.a
      [187/187] LINK gn
      FAILED: gn
      /build/tmp/hosttools/g++ -O3 -fdata-sections -ffunction-sections -Wl,--gc-sections -Wl,-strip-all -Wl,--as-needed -static-libstdc++ -pthread -o gn -Wl,--start-group tools/gn/gn_main.o base.a gn_lib.a -Wl,--end-group -ldl
      /build/tmp/hosttools/ld: base.a: error adding symbols: archive has no index; run ranlib to add one
      collect2: error: ld returned 1 exit status
      ninja: build stopped: subcommand failed.
      Project ERROR: GN build error!
      make[2]: *** [Makefile:98: sub-gn-pro-make_first] Error 3
      "
      
      MJ: for GN(-native) build we don't want to respect QMAKE_AR, we want ar for
      host architecture and use $$which(ar) (will will be similar to $$first(BUILD_AR)
      with BUILD_AR from bitbake.conf)
      
      MJ: Refresh other patches to apply on top of this change.
      
      MJ: it's not reproducible with qemux86-64 (which I was using to test the last upgrade):
      
      martin@jama /OE/build/oe-core/tmp-glibc/work $ ls -lah core2-64-oe-linux/qtwebengine/5.15.10+gitAUTOINC+c7e716ef1f_ecc2bb74f1-r0/build/src/3rdparty/gn/out/Release/base.a cortexa15t2hf-neon-oe-linux-gnueabi/qtwebengine/5.15.10+gitAUTOINC+c7e716ef1f_ecc2bb74f1-r0/build/src/3rdparty/gn/out/Release/base.a
      -rw-r--r-- 1 martin martin  99K Aug  8 22:01 core2-64-oe-linux/qtwebengine/5.15.10+gitAUTOINC+c7e716ef1f_ecc2bb74f1-r0/build/src/3rdparty/gn/out/Release/base.a
      -rw-r--r-- 1 martin martin 3.3K Aug  8 21:10 cortexa15t2hf-neon-oe-linux-gnueabi/qtwebengine/5.15.10+gitAUTOINC+c7e716ef1f_ecc2bb74f1-r0/build/src/3rdparty/gn/out/Release/base.a
      
      martin@jama /OE/build/oe-core/tmp-glibc/work $ file core2-64-oe-linux/qtwebengine/5.15.10+gitAUTOINC+c7e716ef1f_ecc2bb74f1-r0/build/src/3rdparty/gn/out/Release/base.a cortexa15t2hf-neon-oe-linux-gnueabi/qtwebengine/5.15.10+gitAUTOINC+c7e716ef1f_ecc2bb74f1-r0/build/src/3rdparty/gn/out/Release/base.a
      core2-64-oe-linux/qtwebengine/5.15.10+gitAUTOINC+c7e716ef1f_ecc2bb74f1-r0/build/src/3rdparty/gn/out/Release/base.a:                   thin archive with 1168 symbol entries
      cortexa15t2hf-neon-oe-linux-gnueabi/qtwebengine/5.15.10+gitAUTOINC+c7e716ef1f_ecc2bb74f1-r0/build/src/3rdparty/gn/out/Release/base.a: thin archive with 1650553701 symbol entries
      
      The issue is that gn build will use arm-oe-linux-gnueabi-gcc-ar from QMAKE_AR which is correct for
      target libraries, but in this case it's used for native gn and arm-oe-linux-gnueabi-gcc-ar doesn't
      support native x86_64 host (while x86_64-oe-linux-gcc-ar used in qemux86-64 builds was fine, because
      the architecture is compatible):
      
      qtwebengine/5.15.10+gitAUTOINC+c7e716ef1f_ecc2bb74f1-r0/build/src/3rdparty/gn/out/Release $ ninja -v gn 2>&1
      [1/2] rm -f base.a && /OE/build/oe-core/tmp-glibc/work/cortexa15t2hf-neon-oe-linux-gnueabi/qtwebengine/5.15.10+gitAUTOINC+c7e716ef1f_ecc2bb74f1-r0/recipe-sysroot-native/usr/bin/arm-oe-linux-gnueabi/arm-oe-linux-gnueabi-gcc-ar rcsT base.a base/callback_internal.o base/command_line.o base/environment.o base/files/file.o base/files/file_enumerator.o base/files/file_path.o base/files/file_path_constants.o base/files/file_util.o base/files/scoped_file.o base/files/scoped_temp_dir.o base/json/json_parser.o base/json/json_reader.o base/json/json_writer.o base/json/string_escape.o base/logging.o base/md5.o base/memory/ref_counted.o base/memory/weak_ptr.o base/sha1.o base/strings/string_number_conversions.o base/strings/string_piece.o base/strings/string_split.o base/strings/string_util.o base/strings/string_util_constants.o base/strings/stringprintf.o base/strings/utf_string_conversion_utils.o base/strings/utf_string_conversions.o base/third_party/icu/icu_utf.o base/timer/elapsed_timer.o base/value_iterators.o base/values.o base/files/file_enumerator_posix.o base/files/file_posix.o base/files/file_util_posix.o base/posix/file_descriptor_shuffle.o base/posix/safe_strerror.o base/strings/string16.o
      [2/2] /OE/build/oe-core/tmp-glibc/hosttools/g++ -O3 -fdata-sections -ffunction-sections -Wl,--gc-sections -Wl,-strip-all -Wl,--as-needed -static-libstdc++ -pthread -o gn -Wl,--start-group tools/gn/gn_main.o base.a gn_lib.a -Wl,--end-group -ldl
      FAILED: gn
      /OE/build/oe-core/tmp-glibc/hosttools/g++ -O3 -fdata-sections -ffunction-sections -Wl,--gc-sections -Wl,-strip-all -Wl,--as-needed -static-libstdc++ -pthread -o gn -Wl,--start-group tools/gn/gn_main.o base.a gn_lib.a -Wl,--end-group -ldl
      /usr/lib/gcc/x86_64-pc-linux-gnu/12.1.1/../../../../x86_64-pc-linux-gnu/bin/ld: base.a: error adding symbols: archive has no index; run ranlib to add one
      collect2: error: ld returned 1 exit status
      ninja: build stopped: subcommand failed.
      
      $ arm-oe-linux-gnueabi-gcc-ar --help | grep supported.targets
      recipe-sysroot-native/usr/bin/arm-oe-linux-gnueabi/../../libexec/arm-oe-linux-gnueabi/gcc/arm-oe-linux-gnueabi/12.1.0/ar:
      supported targets: elf32-littlearm elf32-littlearm-fdpic elf32-bigarm elf32-bigarm-fdpic elf32-little elf32-big srec symbolsrec verilog tekhex binary ihex plugin
      
      $ ar --help | grep supported.targets
      ar:
      supported targets: elf64-x86-64 elf32-i386 elf32-iamcu elf32-x86-64 pei-i386 pe-x86-64 pei-x86-64 elf64-l1om elf64-k1om elf64-little elf64-big elf32-little elf32-big srec symbolsrec verilog tekhex binary ihex plugin
      
      It would be better to force gn build to respect
      BUILD_AR = "${BUILD_PREFIX}ar"
      instead of "$$which(ar)" here or better just using separate gn-native recipe like meta-browser does since:
      https://github.com/OSSystems/meta-browser/commit/c5ff301787ef76eec57ca500ec9d1ccf0f74b488
      
      
      but meta-qt5 is dead-end and I don't care enough to fix this.
      Signed-off-by: default avatarMarek Vasut <marex@denx.de>
      Signed-off-by: default avatarMartin Jansa <Martin.Jansa@gmail.com>
      9287d635
    • Khem Raj's avatar
      qtpdf: Do not add -rtlib=libgcc -unwindlib=libgcc when using gcc · e8ada8b8
      Khem Raj authored
      
      We need to also check for compiler along with runtime to apply this
      patch so we dont accidentally add these options when using TOOLCHAIN =
      "gcc"
      Signed-off-by: default avatarKhem Raj <raj.khem@gmail.com>
      Signed-off-by: default avatarMartin Jansa <Martin.Jansa@gmail.com>
      e8ada8b8
  10. 06 Jul, 2022 1 commit
  11. 05 Jul, 2022 4 commits
  12. 09 Jun, 2022 1 commit
  13. 25 May, 2022 1 commit
  14. 24 May, 2022 1 commit
  15. 22 May, 2022 1 commit
  16. 20 May, 2022 1 commit
  17. 16 May, 2022 1 commit
    • Khem Raj's avatar
      cinematicexperience: Fix file permissions for non-root user · 6b29b217
      Khem Raj authored
      When running this demo under non-root user it often does not come up
      because the asset are non-readable for non-root users e.g. weston user
      when running weston based images.
      
      Fixes
      raspberrypi4-64:/usr/share/cinematicexperience-1.0$ ./Qt5_CinematicExperience
      file:///usr/share/cinematicexperience-1.0/Qt5_CinematicExperience.qml:30:5: Type InfoView unavailable
               InfoView {
               ^
      file:///usr/share/cinematicexperience-1.0/content/InfoView.qml
      
      : Permission denied
      ^C
      
      buildhistory view after the change
      
      --- a/packages/cortexa72-yoe-linux-musl/cinematicexperience/sysroot
      +++ b/packages/cortexa72-yoe-linux-musl/cinematicexperience/sysroot
      @@ -5,11 +5,11 @@ drwxr-xr-x -          -                4096 ./usr/share
       drwxr-xr-x -          -                4096 ./usr/share/cinematicexperience-1.0
       drwxr-xr-x -          -                4096 ./usr/share/cinematicexperience-1.0/content
       -rw-r--r-- -          -                1184 ./usr/share/cinematicexperience-1.0/content/Background.qml
      --rw------- -          -                2868 ./usr/share/cinematicexperience-1.0/content/Button.qml
      --rw------- -          -                1777 ./usr/share/cinematicexperience-1.0/content/CurtainEffect.qml
      +-rw-r--r-- -          -                2868 ./usr/share/cinematicexperience-1.0/content/Button.qml
      +-rw-r--r-- -          -                1777 ./usr/share/cinematicexperience-1.0/content/CurtainEffect.qml
       -rw-r--r-- -          -                3284 ./usr/share/cinematicexperience-1.0/content/DelegateItem.qml
       -rw-r--r-- -          -                5499 ./usr/share/cinematicexperience-1.0/content/DetailsView.qml
      --rw------- -          -                 844 ./usr/share/cinematicexperience-1.0/content/FpsItem.qml
      +-rw-r--r-- -          -                 844 ./usr/share/cinematicexperience-1.0/content/FpsItem.qml
       drwxr-xr-x -          -                4096 ./usr/share/cinematicexperience-1.0/content/images
       -rw-r--r-- -          -               88497 ./usr/share/cinematicexperience-1.0/content/images/10.png
       -rw-r--r-- -          -              106319 ./usr/share/cinematicexperience-1.0/content/images/11.png
      @@ -63,11 +63,11 @@ drwxr-xr-x -          -                4096 ./usr/share/cinematicexperience-1.0/
       -rw-r--r-- -          -                5854 ./usr/share/cinematicexperience-1.0/content/images/switch_frame.png
       -rw-r--r-- -          -                2383 ./usr/share/cinematicexperience-1.0/content/images/switch_on.png
       -rw-r--r-- -          -                3366 ./usr/share/cinematicexperience-1.0/content/images/switch_thumb.png
      --rw------- -          -                 727 ./usr/share/cinematicexperience-1.0/content/InfoViewItem.qml
      --rw------- -          -               10046 ./usr/share/cinematicexperience-1.0/content/InfoView.qml
      +-rw-r--r-- -          -                 727 ./usr/share/cinematicexperience-1.0/content/InfoViewItem.qml
      +-rw-r--r-- -          -               10046 ./usr/share/cinematicexperience-1.0/content/InfoView.qml
       -rw-r--r-- -          -                8136 ./usr/share/cinematicexperience-1.0/content/MainView.qml
      --rw------- -          -               15431 ./usr/share/cinematicexperience-1.0/content/MoviesModel.qml
      --rw------- -          -                 794 ./usr/share/cinematicexperience-1.0/content/RatingsItem.qml
      +-rw-r--r-- -          -               15431 ./usr/share/cinematicexperience-1.0/content/MoviesModel.qml
      +-rw-r--r-- -          -                 794 ./usr/share/cinematicexperience-1.0/content/RatingsItem.qml
       -rw-r--r-- -          -                4155 ./usr/share/cinematicexperience-1.0/content/SettingsView.qml
       -rw-r--r-- -          -                5020 ./usr/share/cinematicexperience-1.0/content/Switch.qml
       -rwxr-xr-x -          -                9960 ./usr/share/cinematicexperience-1.0/Qt5_CinematicExperience
      Signed-off-by: default avatarKhem Raj <raj.khem@gmail.com>
      Signed-off-by: default avatarMartin Jansa <Martin.Jansa@gmail.com>
      6b29b217
  18. 10 May, 2022 1 commit
  19. 15 Apr, 2022 3 commits
  20. 11 Mar, 2022 1 commit
  21. 10 Mar, 2022 5 commits
    • Martin Jansa's avatar
      qt5: upgrade to v5.15.3-lts-lgpl · 74c27fa5
      Martin Jansa authored
      * https://github.com/meta-qt5/meta-qt5/issues/455
      * https://lists.qt-project.org/pipermail/development/2022-March/042262.html
      
      
      
      qtbase/0021-qfloat16-Include-limits-header.patch partially resolved in upstream commit:
        0afad46bb7 Fix build with GCC 11: include <limits>
      
      qtbase/0022-fix_timezone_dst.patch resolved in upstream commits:
        692c7e021f Fix QTzTimeZonePrivate::displayName()'s fallback
        5f91ed1493 QTzTimeZonePrivate::init(): fix handling of empty ID
        9f74724d84 Fix handling of Sunday in POSIX time-zone rules
      
      qtsvg/CVE-2021-3481.patch: partially resolved in upstream commit:
        aceea78 Improve handling of malformed numeric values in svg files
      but the 2nd part is still needed.
      
      qtcoap, qtknx, qtmqtt, qtopcua: keep QT_MODULE_BRANCH "5.15.2" as
        it still wasn't downmerged to 5.15 branch and there is no
        v5.15.3-lts-lgpl tag in these as well
      Signed-off-by: default avatarMartin Jansa <Martin.Jansa@gmail.com>
      74c27fa5
    • Khem Raj's avatar
      32e6203c
    • Khem Raj's avatar
      qtpdf: Fix build with clang on aarch64 · 121c1bfd
      Khem Raj authored
      
      OE clang add -target option itself, there is no need to detect it in
      Chromium GN time
      Signed-off-by: default avatarKhem Raj <raj.khem@gmail.com>
      Signed-off-by: default avatarMartin Jansa <Martin.Jansa@gmail.com>
      121c1bfd
    • Khem Raj's avatar
      qtpdf: Fix build with clang · 06647dd2
      Khem Raj authored
      
      use GNU runtime when building native tools like gn
      when using native clang compiler
      
      Fixes
      | FAILED: gn
      | /mnt/b/yoe/master/build/tmp/work/core2-64-yoe-linux/qtpdf/5.15.8+gitAUTOINC+73e76f9e86_48a205f9e0-r0/recipe-sysroot-native/usr/bin/clang++ -O3 -fdata-sections -ffunction-sections -Wl,--gc-sections -Wl,-stri
      p-all -Wl,--as-needed -pthread -o gn -Wl,--start-group tools/gn/gn_main.o base.a gn_lib.a -Wl,--end-group -ldl
      | /mnt/b/yoe/master/build/tmp/hosttools/ld: cannot find /usr/lib/clang/14.0.0/lib/linux/libclang_rt.builtins-x86_64.a: No such file or directory
      Signed-off-by: default avatarKhem Raj <raj.khem@gmail.com>
      Signed-off-by: default avatarMartin Jansa <Martin.Jansa@gmail.com>
      06647dd2
    • Marek Vasut's avatar
      qtwebengine: Add missing libxkbfile dependency · 6f82e21d
      Marek Vasut authored
      The libxkbfile is a new dependency of qtwebengine 5.15.8 updated in commit
      d38470c2
      
       ("qtwebengine: upgrade to v5.15.8 and use the same SRCREVs as qtpdf")
      Without libxkbfile dependency, the build fails with:
      
      ```
      sed: can't read /.../qtwebengine/5.15.8+gitAUTOINC+73e76f9e86_48a205f9e0-r0/image/usr/lib/pkgconfig/Qt5WebEngineCore.pc: No such file or directory
      ```
      
      The sed failure is fatal, but doesn't show what's wrong,
      log.do_configure shows it nicely:
      
      ```
        QtWebEngine required system libraries for qpa-xcb:
          x11 .................................. yes
          libdrm ............................... yes
          xcomposite ........................... yes
          xcursor .............................. yes
          xi ................................... yes
          xproto (glproto) ..................... yes
          xtst ................................. yes
          xkbfile .............................. no
      ...
      Note: The following modules are not being compiled in this
      configuration:
          webenginecore
          webengine
          webenginewidgets
      
      WARNING: Could not find all necessary libraries for qpa-xcb support in
      QtWebEngine.
      
      WARNING: QtWebEngine will not be built.
      ```
      
      And it happens only with x11 in DISTRO_FEATURES <- that's why I wasn't
      seeing it in my builds before.
      Signed-off-by: default avatarMarek Vasut <marex@denx.de>
      Signed-off-by: default avatarMartin Jansa <Martin.Jansa@gmail.com>
      6f82e21d