Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Create screen shot using Qt for ARM platform
Forum Updated to NodeBB v4.3 + New Features

Create screen shot using Qt for ARM platform

Scheduled Pinned Locked Moved Unsolved General and Desktop
5 Posts 2 Posters 394 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.
  • V Offline
    V Offline
    vagesh
    wrote on last edited by
    #1

    I am trying to write a software to take a screenshot in the embedded environment.
    QPixmap image = qApp->screens().at(0)->grabWindow(QScreen().winId());
    The above snippet of code is working on AMD based device but with the same code when I am trying to run on ARM device, code is compiling but not able to get the winId.
    Could anybody help me in fixing the issue.
    Note : I am not using any QML libraries in my project

    jsulmJ 1 Reply Last reply
    0
    • V vagesh

      I am trying to write a software to take a screenshot in the embedded environment.
      QPixmap image = qApp->screens().at(0)->grabWindow(QScreen().winId());
      The above snippet of code is working on AMD based device but with the same code when I am trying to run on ARM device, code is compiling but not able to get the winId.
      Could anybody help me in fixing the issue.
      Note : I am not using any QML libraries in my project

      jsulmJ Offline
      jsulmJ Offline
      jsulm
      Lifetime Qt Champion
      wrote on last edited by
      #2

      @vagesh I don't think it has anything to do with ARM. The question is what graphics subsystem is running on your ARM device? X11? Wayland? Something else?

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      V 1 Reply Last reply
      0
      • V Offline
        V Offline
        vagesh
        wrote on last edited by
        #3

        I am using wayland

        1 Reply Last reply
        0
        • jsulmJ jsulm

          @vagesh I don't think it has anything to do with ARM. The question is what graphics subsystem is running on your ARM device? X11? Wayland? Something else?

          V Offline
          V Offline
          vagesh
          wrote on last edited by
          #4

          @jsulm Wayland is running on the device

          jsulmJ 1 Reply Last reply
          0
          • V vagesh

            @jsulm Wayland is running on the device

            jsulmJ Offline
            jsulmJ Offline
            jsulm
            Lifetime Qt Champion
            wrote on last edited by
            #5

            @vagesh Could be related to https://bugreports.qt.io/browse/QTBUG-76983

            https://forum.qt.io/topic/113070/qt-code-of-conduct

            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