QT multiple windows display issue in touchscreen for yocto beaglebone black
-
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.
-
@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?
-
@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 theqDebug
message in the console when login is clicked), but the dialog window is not opening.