Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QtWebEngine
  4. QtWebEngine (6.7) load image fail。(.so file is build from source ,system is linux arm64 )
Forum Updated to NodeBB v4.3 + New Features

QtWebEngine (6.7) load image fail。(.so file is build from source ,system is linux arm64 )

Scheduled Pinned Locked Moved Solved QtWebEngine
2 Posts 1 Posters 260 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • P Offline
    P Offline
    pop.jon
    wrote on last edited by pop.jon
    #1

    the lib is build from 6.7.2 on debain 11 arm64。
    it appear some problem about qtwebengine load image

    1:
    image element load format png,jpeg is disappear,but webp format is ok 。
    eg url: https://ts1.cn.mm.bing.net/th/id/R-C.f94b80cf220688efa7fb72435021aa1c?rik=j7YA5E3%2F33In1g&pid=ImgRaw&r=0
    7d344905-841d-4dbc-8ea5-e892d892cc2f-image.png
    it looks like load successful ,but does't show

    2:
    VM251:1 WebGL: OUT_OF_MEMORY: texImage2D: bad image data

    hV.texImage2D(hV.TEXTURE_2D, 0, hZ, hZ, hY, e)

    ecf71717-80ad-4ca9-ae18-cedd2870869a-image.png

    8dde02c0-5976-432a-97eb-f965c66157f7-image.png
    webgl texImage2D

    it appear when image(png,jpeg) size>500*500 ,also format webp image is ok

    i try change some configure parameters ,but it does't work
    while I install x.so lib from pip ,it's ok ,
    so,i don't know what parameters should be set when i build from source

    1 Reply Last reply
    0
    • P Offline
      P Offline
      pop.jon
      wrote on last edited by
      #2

      it's ok ,configure add " -qt-libjpeg -qt-libpng " parameters

      1 Reply Last reply
      0
      • P pop.jon has marked this topic as solved on

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved