Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. IMX6 QtWebEngine black surfaces
Forum Updated to NodeBB v4.3 + New Features

IMX6 QtWebEngine black surfaces

Scheduled Pinned Locked Moved Mobile and Embedded
10 Posts 8 Posters 6.4k Views 1 Watching
  • 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.
  • O Offline
    O Offline
    oleg_kaa
    wrote on last edited by
    #1

    Hello Qt project!

    I successfully built Qt5.4 official release using Yocto sdk for iMX6 Sabre Lite:
    @
    $ ./configure -qreal float -device linux-yocto-g++ -confirm-license -opensource -device-option CROSS_COMPILE=arm-poky-linux-gnueabi- -linuxfb -opengl es2 -prefix /home/kaa/qt5 -no-xcb -no-kms -no-alsa -system-freetype -system-harfbuzz -system-libpng
    @
    And also I have success with building QtWebEngine
    @
    $ cd qtwebengine
    $ /home/kaa/qt5/bin/qmake -r CONFIG+=release
    make -j5
    make install
    @

    I tried to run examples from webenginewidgets folder, I can see browsers controls (navigation panel), but no html rendered surface (black surfaces instead)

    Browsers controls work fine (navigation, url string, page refresh, about window), but I don't see any html content (I tried to open www.google.com, www.qt.io - but can see only black surfaces).

    !http://www.kaa.org.ua/qtwebengine_20150216_131715.jpg(Qt WebEngine Fancybrowser)!

    Any suggestions? Maybe I forgot some configuration options?

    R 1 Reply Last reply
    0
    • I Offline
      I Offline
      ian_009
      wrote on last edited by
      #2

      Experiencing this exact issue also when using QtWebEngine in Qt 5.4 across multiple ARM platforms. Same problem in both Vivante and PowerVR OpenGLES implementations when used with the EGLFS platform plugin.

      This only occurs in a Widgets application. A Qt Quick application has no such issues for me. Give the example quicknanobrowser a try for example..

      Q 1 Reply Last reply
      0
      • O Offline
        O Offline
        oleg_kaa
        wrote on last edited by tekojo
        #3

        Thanks for reply!

        I have the same issue with quicknanobrowser from QtWebEngine examples.

        http://www.kaa.org.ua/qtwebengine_20150216_183212.jpg

        1 Reply Last reply
        0
        • A Offline
          A Offline
          agocs
          wrote on last edited by
          #4

          webenginewidgets is known to be broken on embedded at least. The focus is on the Qt Quick elements for now.

          1 Reply Last reply
          1
          • G Offline
            G Offline
            gadusmorhua
            wrote on last edited by
            #5

            Hi agocs,

            Where did you get the information that the webenginewidgets are broken on embedded platforms?

            I'm porting Qt 5.4.1to an embedded platform and I'm seeing the same problem as described in this thread - that quicknanobrowser works, but the webenginewidgets examples bowser and fancybrowser just show black blocks where the web page should be drawn.

            It would be great if you could provide some pointers as to where you got the information about the webenginewidgets being broken.

            Thanks.

            1 Reply Last reply
            0
            • V Offline
              V Offline
              vautourdns
              wrote on last edited by
              #6

              I may have the same issue with QT 4.8.6. I have noticed that text won't be rendered unless there is an image in the paragraph! I have also noticed that background colors won't get rendered. I suggest adding an image to a simple HTML page and seeing if the image gets rendered.

              1 Reply Last reply
              0
              • G Offline
                G Offline
                gadusmorhua
                wrote on last edited by
                #7

                There is some additional information on this issue in the JIRA at https://bugreports.qt.io/browse/QTBUG-45122

                1 Reply Last reply
                0
                • O oleg_kaa

                  Hello Qt project!

                  I successfully built Qt5.4 official release using Yocto sdk for iMX6 Sabre Lite:
                  @
                  $ ./configure -qreal float -device linux-yocto-g++ -confirm-license -opensource -device-option CROSS_COMPILE=arm-poky-linux-gnueabi- -linuxfb -opengl es2 -prefix /home/kaa/qt5 -no-xcb -no-kms -no-alsa -system-freetype -system-harfbuzz -system-libpng
                  @
                  And also I have success with building QtWebEngine
                  @
                  $ cd qtwebengine
                  $ /home/kaa/qt5/bin/qmake -r CONFIG+=release
                  make -j5
                  make install
                  @

                  I tried to run examples from webenginewidgets folder, I can see browsers controls (navigation panel), but no html rendered surface (black surfaces instead)

                  Browsers controls work fine (navigation, url string, page refresh, about window), but I don't see any html content (I tried to open www.google.com, www.qt.io - but can see only black surfaces).

                  !http://www.kaa.org.ua/qtwebengine_20150216_131715.jpg(Qt WebEngine Fancybrowser)!

                  Any suggestions? Maybe I forgot some configuration options?

                  R Offline
                  R Offline
                  rahul3349
                  wrote on last edited by
                  #8

                  @oleg_kaa
                  I'm facing same issue where quicknanobrowser on embedded linux shows only blank rectangles. I want to debug this issue, I'm newbie in QT. Can you pls guide me to enable logs in qtwebengine/chromium code?. I'm not able to get any logs from chroimum.

                  1 Reply Last reply
                  0
                  • S Offline
                    S Offline
                    samir_nvd
                    wrote on last edited by
                    #9

                    Could any please mention steps to enable logs in qtwebengine? I am facing same issue for quicknanobrowser. Does QT based browser runs with chromium flags such as --enable-logging --v=1?

                    1 Reply Last reply
                    0
                    • I ian_009

                      Experiencing this exact issue also when using QtWebEngine in Qt 5.4 across multiple ARM platforms. Same problem in both Vivante and PowerVR OpenGLES implementations when used with the EGLFS platform plugin.

                      This only occurs in a Widgets application. A Qt Quick application has no such issues for me. Give the example quicknanobrowser a try for example..

                      Q Offline
                      Q Offline
                      Qt2019
                      wrote on last edited by
                      #10

                      @ian_009 said in IMX6 QtWebEngine black surfaces:

                      A Qt Quick application has no such issues for me. Give the example quicknanobrowser a try for example..
                      also meet the same problem, imx6q with Yocto4.9.11 Qt5.8. is some one tried success in a Widgets application?

                      1 Reply Last reply
                      0

                      • Login

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