Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. run QML APP on linux device : transparent the background ,then it will display all black or white
Forum Updated to NodeBB v4.3 + New Features

run QML APP on linux device : transparent the background ,then it will display all black or white

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
4 Posts 2 Posters 1.1k 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.
  • A Offline
    A Offline
    Alex_wang
    wrote on last edited by
    #1
    ApplicationWindow
    {
        id : mainWindow
    
        visible: true
        width: 1280
        height: 720
    
        flags: Qt.FramelessWindowHint
        color : "transparent"
    }
    

    run the QML APP , then the screen will display all white or black....

    why ?

    E 1 Reply Last reply
    0
    • A Alex_wang
      ApplicationWindow
      {
          id : mainWindow
      
          visible: true
          width: 1280
          height: 720
      
          flags: Qt.FramelessWindowHint
          color : "transparent"
      }
      

      run the QML APP , then the screen will display all white or black....

      why ?

      E Offline
      E Offline
      Eeli K
      wrote on last edited by
      #2

      @Alex_wang Give your hardware, OS and graphics driver specs.

      A 1 Reply Last reply
      0
      • E Eeli K

        @Alex_wang Give your hardware, OS and graphics driver specs.

        A Offline
        A Offline
        Alex_wang
        wrote on last edited by
        #3

        @Eeli-K
        hi,
        I am running the QML APP on TI DM8168/AM389x,with the arch ArmV7-a8.
        The linux kernel version : Linux version 2.6.37+
        graphics driver : TI Graphics_SDK_4_03_00_02
        so, it is not clear for graphics driver specs

        A 1 Reply Last reply
        0
        • A Alex_wang

          @Eeli-K
          hi,
          I am running the QML APP on TI DM8168/AM389x,with the arch ArmV7-a8.
          The linux kernel version : Linux version 2.6.37+
          graphics driver : TI Graphics_SDK_4_03_00_02
          so, it is not clear for graphics driver specs

          A Offline
          A Offline
          Alex_wang
          wrote on last edited by
          #4

          @Alex_wang

          the error is caused by the frame buffer setting :
          Alpha : 255 represents a fully transparent color, while 0 represents a fully opaque color

          but the Qt5 is different :
          Alpha : 0 represents a fully transparent color, while 255 represents a fully opaque color

          so,I need to change the frame buffer setting for alpha;

          anyone ideas ?

          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