Cross Compiling on BeagleBone Black
-
Are you getting any information on the console stating that there's a problem ?
-
No I am not getting any error on the console. Everything seems to be fine.
I even tried by generating the fontdir file for the fonts, thinking it might be searching for that fontdir file. But I could not achieve success out of this. -
I also tried several ways for getting the text displayed. Like setting the QT_QWS_FONTDIR to my font dir, By setting the QWS_DISPLAY, also I tried to run the application by giving the following command: "./Test -qws -font unicode" but couldn't achieve any success.
Please direct me where I am going wrong.
Waiting for an helpful suggestion. -
What output do you get on your console when running your application ?
-
The UI is being displayed as a output but none of the texts are shown.
-
Are you running it directly on the target or using ssh/serial console ?
-
I am deploying the application into target using Qtcreator itself. As Qtcreator provides that options.
-
What language are you using for your application ?
-
I am using "English" language itself.
Now I am trying to run my application which also includes images of type ".png", but now application is not at all running, now I am getting an error in console like :
"QFSFileEngine::open: No file name specified.
Bus errorixel: coordinate (-1,-1) out of range" -
Looking very strange, are you sure your target Qt is properly compiled/installed ?
-
Ya I am sure, I dint get any errors I have installed many times without any error.
Can I know why that error "QFSFileEngine" error is there??
Though Images are there why it is unable to fetch it? -
Hi,
I resolved that "QFSFileEngine" error, it was searching for a file which I have specified in my application as I had not deployed that I was getting that error.Now I am getting an error like:
"Cannot open input device '/dev/tty0':Permission denied
QImage::pixel: coordinate (-1,-1) out of range
Bus error".Please help me why this Bus error is coming?
-
It seems you do not have the rights to access the console, what are the rights of /dev/tty0 ?
-
Rights for /dev/tty0 is "root tty"
-
Are you running your application as root ?
-
No I am not running as a root.
If I run as a root I am getting the following error:
"Qt for Embedded Linux data diirectory is not owned by user 0: /tmp/qtembedded-0" -
Either:
- Add you user to the tty group
- Delete /tmp/qtembedded-0 and restart your application