- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Dear all,
I am working on QT Creator 3.4.2 (opensource) Based on Qt 5.5.0 running on ubuntu 14.04LTS. We are trying to create our own application and run it on a SABRE SD platform before creating our own customized board.
We are able to cross-compile correctly, copy the built file to the SABRE SD platform .... but when we try to execute it, we get the following error.
QXcbConnection: Could not connect to display
We run Yocto Linux 3.14.28 on the development platform.
Could you please give us some hints on how to solve this issue?
Thank you very much for your help.
Alvaro Martinez
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello Alejando,
they work properly. Actually, I have realized that I need to write export DISPLAY=:0 before executing the application from the command line.
By doing this, I can run applications.
This was the problem.
I have very few experience with Linux :-((
Thank you for your help!
Best regards,
alvaro
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
if you run the qt examples from the fsl-image-qt5 image, do you get the same error?
/Alejandro
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello Alejando,
they work properly. Actually, I have realized that I need to write export DISPLAY=:0 before executing the application from the command line.
By doing this, I can run applications.
This was the problem.
I have very few experience with Linux :-((
Thank you for your help!
Best regards,
alvaro
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I write export DISPLAY=:0 then get the following error,:
Qt Warning: Could not find a location of the system's Compose files. Consider setting the QTCOMPOSE environment variable.
Qt Warning: Could not find a location of the system's Compose files. Consider setting the QTCOMPOSE environment variable.
Unable to find an X11 visual which matches EGL config 1
do u have any clues about this?