Greetings everyone.
The program runs, but produces no graphical output.
The program does produce “cout” output.
The program does not return from the app.exec() call.
The build steps & the main.cpp file are included below.
I built a QT application using this sequence on Linux Mint:
. /usr/local/angstrom/arm/environment-setup
qmake qte-example.pro
make
Used sftp to copy the file to the beagleBone Black desktop.
Beaglebone Black “Terminal”. Angstron, with a GUI running on HDMI monitor, keyboard & moust.
//Installation of qt on the beagleBone was as follows:
// opkg update
// opkg install qt4-embedded --force-depends
// REM - I am concerned about the need for --force-depends as I do not understand why it would not work without it.
./qte-example -qws
hello world
right before return
main.cpp file:
int main(int argc, char** argv)
{
cout << “hello world” << endl;QApplication app(argc, argv);
QPushButton helloButton(“Hello World”);
helloButton.resize(80, 20);
helloButton.show();cout << “right before return” << endl;
return app.exec();
cout << “right after return” << endl;
}
Can someone give me a hint or link to a check list?
My guess is that the application cannot access the graphics output.
Or, maybe the libraries on Mint & BeagleBone do not match.
Thanks,
Jody