Mahendra Gunawardena
Mahendra Gunawardena

Reputation: 1976

Touch screen not work on Qt Embedded

I have configured a Qt development environment to develop applications for ARM based Embedded Linux platform. I am using a Ubuntu 12.04 (64bit) host system and beaglebone black ARM hardware platform. I have created a simple hello world program with a button which I have deployed to the Embedded Linux device (BBB) but the touch screen is not working. Below is the code.

#include <QApplication>
#include <QPushButton>

int main(int argc, char** argv) {
    QApplication app(argc, argv);

    QPushButton btn("Hello World");
    btn.show();
    btn.showMaximized();

    return app.exec();
}

Any thoughts on what might be wrong?

I used the following tutorial to configure the development and target machine

Upvotes: 1

Views: 1967

Answers (1)

hans fab
hans fab

Reputation: 26

before start your program try:

QWS_MOUSE_PROTO=LinuxInput:/dev/input/event0 (or Event1, Event2)

and then run your program

Upvotes: 1

Related Questions