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. QT multiple windows display issue in touchscreen for yocto beaglebone black
QtWS25 Last Chance

QT multiple windows display issue in touchscreen for yocto beaglebone black

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
yoctobeaglebonetouch screenstackedwidgetx11
6 Posts 2 Posters 598 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.
  • M Offline
    M Offline
    mj01
    wrote on 20 Apr 2024, 10:04 last edited by mj01
    #1

    I am doing yocto project for beaglebone black board with MACHINE NAME='beaglebone' using the meta-ti layer. I need to run a qt application on startup in a touchscreen. I am using X11 rendering.

    The BBB is booting with qt application on startup. In my application I have designed multiple indexes in a stackedwidget in the mainwindow. The mainwindow contains an icon which is basically a login page. If you click that icon, it displays a dialog box which contains 2 icons. If you click either of the icons it will display a keyboard and by entering the correct password you can go to the corresponding page (It is also one of the stackedwidgets in the mainwindow).

    This application is working fine on my desktop. But when I boot this into the touchscreen, I am able to login only once. After that if I go back to my homescreen and try to login again, my whole window gets freezed.

    I have replicated this issue in this demo application.

    J 1 Reply Last reply 22 Apr 2024, 05:49
    0
    • M mj01
      20 Apr 2024, 10:04

      I am doing yocto project for beaglebone black board with MACHINE NAME='beaglebone' using the meta-ti layer. I need to run a qt application on startup in a touchscreen. I am using X11 rendering.

      The BBB is booting with qt application on startup. In my application I have designed multiple indexes in a stackedwidget in the mainwindow. The mainwindow contains an icon which is basically a login page. If you click that icon, it displays a dialog box which contains 2 icons. If you click either of the icons it will display a keyboard and by entering the correct password you can go to the corresponding page (It is also one of the stackedwidgets in the mainwindow).

      This application is working fine on my desktop. But when I boot this into the touchscreen, I am able to login only once. After that if I go back to my homescreen and try to login again, my whole window gets freezed.

      I have replicated this issue in this demo application.

      J Offline
      J Offline
      jsulm
      Lifetime Qt Champion
      wrote on 22 Apr 2024, 05:49 last edited by
      #2

      @mj01 said in QT multiple windows display issue in touchscreen for yocto beaglebone black:

      my whole window gets freezed

      Did you use debugger to see where it freezes?

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

      M 1 Reply Last reply 22 Apr 2024, 07:57
      0
      • J jsulm
        22 Apr 2024, 05:49

        @mj01 said in QT multiple windows display issue in touchscreen for yocto beaglebone black:

        my whole window gets freezed

        Did you use debugger to see where it freezes?

        M Offline
        M Offline
        mj01
        wrote on 22 Apr 2024, 07:57 last edited by
        #3

        @jsulm I used qDebug to print a message in the console when the buttons are clicked. When I boot and run my application in BBB, I observed that after I login once and go back to the homepage and clicked login again, the button is getting clicked ( I can see the qDebug message in the console when login is clicked), but the dialog window is not opening.

        J 1 Reply Last reply 22 Apr 2024, 08:14
        0
        • M mj01
          22 Apr 2024, 07:57

          @jsulm I used qDebug to print a message in the console when the buttons are clicked. When I boot and run my application in BBB, I observed that after I login once and go back to the homepage and clicked login again, the button is getting clicked ( I can see the qDebug message in the console when login is clicked), but the dialog window is not opening.

          J Offline
          J Offline
          jsulm
          Lifetime Qt Champion
          wrote on 22 Apr 2024, 08:14 last edited by
          #4

          @mj01 This does not help much. Why don't you use debugger?

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

          M 1 Reply Last reply 22 Apr 2024, 09:10
          0
          • J jsulm
            22 Apr 2024, 08:14

            @mj01 This does not help much. Why don't you use debugger?

            M Offline
            M Offline
            mj01
            wrote on 22 Apr 2024, 09:10 last edited by
            #5

            @jsulm This application is working fine in the desktop. It is causing the problem only when I boot it in a touchscreen or monitor connected to beaglebone black.

            J 1 Reply Last reply 22 Apr 2024, 09:13
            0
            • M mj01
              22 Apr 2024, 09:10

              @jsulm This application is working fine in the desktop. It is causing the problem only when I boot it in a touchscreen or monitor connected to beaglebone black.

              J Offline
              J Offline
              jsulm
              Lifetime Qt Champion
              wrote on 22 Apr 2024, 09:13 last edited by
              #6

              @mj01 Up to you to use or not to use debugger to get more information about your issue, I'm out...

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

              1 Reply Last reply
              0

              5/6

              22 Apr 2024, 09:10

              • Login

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