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:
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.
right before return
int main(int argc, char** argv)
cout << “hello world” << endl;
QApplication app(argc, argv);
QPushButton helloButton(“Hello World”);
cout << “right before return” << endl;
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.