I used Beaglebone Black without LCD/touchscreen module, just with HDMI out
to my Monitor.
You can try to execute
"systemctl disable gdm.service"
and
"./myQtHelloWorld -qws",
I can see the window display to my Monitor
but the mouse hanged(can not be moved).
Jody Baudoin於 2013年8月21日星期三UTC+8下午9時53分48秒寫道:
>
> 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
>
--
For more options, visit http://beagleboard.org/discuss
---
You received this message because you are subscribed to the Google Groups
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.