Qt executables run without error, but nothing displays
-
Hi and welcome to devnet,
Did you try starting your application from the command line ? That might give you some additional clues about what is happening.
Hope it helps
-
And there's nothing showing up ? Or is the screen blacked ?
-
That's strange, it should not do that.
Are you sure
app.exec()
is called properly ? -
I literally haven't read anything about developing Qt programs yet. But as a trivial example, I created a Qt Widgets Application and just kept the default code. As a test, I compiled it with Qt 5.2.1 on my host machine, and it comes up with an empty window. So you would expect this same code is working on the target if cross-compiled correctly.
-
Good thinking, did you check that you have all the necessary rights to access the devices e.g. the frame buffer ?
-
groups
to know the groups your user is a member of.
ls -la /dev/fb0
orls -la /dev/fb/0
to see what permissions are set -
Looks good.
Then, you should use gdb to debug your application