Have you finally solved this problem? If so, could you please give some 
advice how to fix this problem?
 I am stuck in the same place right now. Trying to run an example after 
cross compiling qt for BBB.

On Sunday, 20 December 2015 12:39:38 UTC+1, bremenpl wrote:
>
> I tried the first hint:
>
> root@beaglebone:/home/debian/ImpedanceManager-build# ./ImpedanceManager 
> -qws -platform eglfs
> libEGL warning: DRI3: xcb_connect failed
> libEGL warning: DRI2: xcb_connect failed
> libEGL warning: DRI2: xcb_connect failed
> Could not initialize egl display
> Aborted
>
> Theb second:
>
> root@beaglebone:/home/debian/ImpedanceManager-build# DISPLAY=:0 
> ./ImpedanceManager -qws
> No protocol specified
> QXcbConnection: Could not connect to display :0
> Aborted
>
>
> Is there something more I should specify?
>
> W dniu 2015-12-20 o 08:49, Maxim Podbereznyy pisze:
>
> Try it this thus way:
>
> DISPLAY=:0 myapp -qws
> 19 Дек 2015 г. 23:07 пользователь "Bremenpl" <[email protected] 
> <javascript:>> написал:
>
>> I am not sure, coz i wasnt building it- i fownloaded it from paxjage 
>> manager.
>>
>> On December 19, 2015 7:51:18 PM John Syne < <javascript:>
>> [email protected] <javascript:>> wrote:
>>
>>> i haven’t done this in ages, but try to run your QT app with the "-platform 
>>> eglfs” option. I’m assuming you built QT with EGL.  
>>>
>>> Regards,
>>> John
>>>
>>>
>>>
>>>
>>> On Dec 19, 2015, at 3:46 AM, Bremenpl < <javascript:>[email protected] 
>>> <javascript:>> wrote:
>>>
>>> Hello there,
>>> I managed to set up qt 5.3.2 on the beaglebone. I have build everything 
>>> there and it took ages but it works :).
>>>
>>> Next step is that I need to check either it is possible to run qt app on 
>>> bbb without gui with qws parameter. Because at the moment when i run it 
>>> with qws i get QXcbconnection: Could not connect to display. I need to do 
>>> it like this because thw gui is really really slow.
>>>
>>> On December 15, 2015 6:10:13 AM John Syne <[email protected] 
>>> <javascript:>> wrote:
>>>
>>>> For purely building armhf code, Odroid XU4 might be a good choice: 
>>>>
>>>> http://www.hardkernel.com/main/main.php
>>>>
>>>> This is an Octacore processor with 4 CortexA15 and 4 CortexA7 
>>>> processors. I don’t know how good their kernel/debian support is, but I 
>>>> know Robert had looked at this board or a predecessor in the past, so 
>>>> perhaps he can give his input here.
>>>>
>>>> Clearly this board doesn’t have the flexibility of the BeagleBoard-x15 
>>>> with it’s dual DSP, Dual CortexM4, Quad PRU, SATA interface, PCIe 
>>>> interface, etc. 
>>>>
>>>> Regards,
>>>> John
>>>>
>>>>
>>>>
>>>>
>>>> On Dec 14, 2015, at 4:29 PM, William Hermans < <javascript:>
>>>> [email protected] <javascript:>> wrote:
>>>>
>>>> Anyway, the main problem with the rPI 2 is that it has no "fast" non 
>>>> destructive storage. But the Omilex . . let me look it up.
>>>>
>>>>
>>>> https://www.olimex.com/Products/OLinuXino/A20/A20-OLinuXIno-LIME2-4GB/open-source-hardware
>>>>  
>>>> Has SATA and GbE both. Dual cores too I think. However, you'd have to ask 
>>>> someone who has one how well they think it would work as a build board. 
>>>> RObert might know, as his Debian build guide also includes this board too 
>>>> I 
>>>> believe.
>>>>
>>>> On Mon, Dec 14, 2015 at 5:25 PM, William Hermans < <javascript:>
>>>> [email protected] <javascript:>> wrote:
>>>>
>>>>> <https://www.adafruit.com/product/2358>
>>>>> https://www.adafruit.com/product/2358
>>>>>
>>>>> On Mon, Dec 14, 2015 at 5:23 PM, William Hermans < <javascript:>
>>>>> [email protected] <javascript:>> wrote:
>>>>>
>>>>>> The new board is armv7. Positively.
>>>>>>
>>>>>> On Mon, Dec 14, 2015 at 5:24 PM, Bremenpl < <javascript:>
>>>>>> [email protected] <javascript:>> wrote:
>>>>>>
>>>>>>> Okay, thank :P. I am quite sure raspberry pi is not hard float.
>>>>>>>
>>>>>>> W dniu 2015-12-15 o 01:21, William Hermans pisze:
>>>>>>>
>>>>>>> So just thinking for a minute. A Raspberry PI 2, the new board with 
>>>>>>> quad cores, and 1 GB ram would probably work fairly decent as a build 
>>>>>>> system for the Beaglebones. Granted, something like the X15, of that 
>>>>>>> new 
>>>>>>> nVidia ARM board, or even the Omelex A20 board with SATA would probably 
>>>>>>> be 
>>>>>>> a much better choice if cost is not a problem.
>>>>>>>
>>>>>>> By the way, I have no idea what Robert is talking about. You need to 
>>>>>>> ask him.
>>>>>>>
>>>>>>> On Mon, Dec 14, 2015 at 5:15 PM, Bremenpl < <javascript:>
>>>>>>> [email protected] <javascript:>> wrote:
>>>>>>>
>>>>>>>> I have just flashed my BeagleBone Black emmc  with lxqt image 
>>>>>>>> linked by Robert. I cant seem to find qmake anywhere. I thought there 
>>>>>>>> would 
>>>>>>>> be qt installed and all. Am I missing something again?
>>>>>>>>
>>>>>>>> W dniu 2015-12-15 o 00:54, William Hermans pisze:
>>>>>>>>
>>>>>>>> Not necessarily, but consider this. How much does an embedded 
>>>>>>>> systems specialist in your area get paid per hour ? In my area, about 
>>>>>>>> 15-20 
>>>>>>>> years ago. The cost of a board like the X15 would have been absorbed 
>>>>>>>> in 
>>>>>>>> roughly half a day. That is to say, an embedded systems specialist 
>>>>>>>> could 
>>>>>>>> buy a board for $239 after working roughly half a day. 
>>>>>>>>
>>>>>>>> Now take into account that figuring out how to cross compile 
>>>>>>>> something like this is a serious headache, and often takes days, if 
>>>>>>>> not 
>>>>>>>> weeks to get right . . .
>>>>>>>>
>>>>>>>> On Mon, Dec 14, 2015 at 4:32 PM, Bremenpl < <javascript:>
>>>>>>>> [email protected] <javascript:>> wrote:
>>>>>>>>
>>>>>>>>> So if I understand correctly, I should have a second board that is 
>>>>>>>>> more powerfull than beagle just to compile the code for beagle?
>>>>>>>>>
>>>>>>>>> W dniu 2015-12-15 o 00:26, William Hermans pisze:
>>>>>>>>>
>>>>>>>>> *I cant change the board right now, it has to be BeagleBone Black. 
>>>>>>>>>> Thats why I need to build on my host. Did you succed on installing 
>>>>>>>>>> QT5.1 
>>>>>>>>>> and deploying it to BeagleBone Black? Maybe I should use it instead 
>>>>>>>>>> of 
>>>>>>>>>> 4.8.6 if its easier?*
>>>>>>>>>>
>>>>>>>>>
>>>>>>>>> No one was saying change boards. Use the same board, but use a 
>>>>>>>>> faster, more powerful ARM board to compile native ARM executable. The 
>>>>>>>>> reasons are simple. No need to mess with cross compiling, which in 
>>>>>>>>> many 
>>>>>>>>> cases is messy, and sometimes near impossible.
>>>>>>>>>
>>>>>>>>> You don't think Robert spends days, or weeks compiling packages do 
>>>>>>>>> you ? But why don't we ask Robert. Robert, hey what percentage of the 
>>>>>>>>> packages you build are compiled native to ARM, from some sort of 
>>>>>>>>> beefy ARM 
>>>>>>>>> board? I'm guessing nearly 100% if not 100% but . . .
>>>>>>>>>
>>>>>>>>> On Mon, Dec 14, 2015 at 4:00 PM, Bremenpl < <javascript:>
>>>>>>>>> [email protected] <javascript:>> wrote:
>>>>>>>>>
>>>>>>>>>> Ahh., thats the way, you are right...
>>>>>>>>>> Thank you for all the support guys, I really mean it! Hope to get 
>>>>>>>>>> it working in a while if i wont fall asleep on my desk! 
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> On December 14, 2015 11:55:59 PM John Syne < <javascript:>
>>>>>>>>>> [email protected] <javascript:>> wrote:
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>> On Dec 14, 2015, at 2:34 PM, Bremenpl < <javascript:>
>>>>>>>>>>>> [email protected] <javascript:>> wrote:
>>>>>>>>>>>>
>>>>>>>>>>>> Okay guys, atm I am donwloading the lxqt image. AT first I will 
>>>>>>>>>>>> try to open the app on the BeagleBone Black itself. But after that 
>>>>>>>>>>>> works I 
>>>>>>>>>>>> need to figure out how to remote debug while building on beagle 
>>>>>>>>>>>> instead of 
>>>>>>>>>>>> cross compile on host.
>>>>>>>>>>>> Could you please onl
>>>>>>>>>>>
>>>>>>>>>>>

-- 
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/d/optout.

Reply via email to