[UPDATE Dec. 1st] Qt Developer's Dream RC-2 (Qt-5.6)

Moderators: mdrjr, odroid

Re: [UPDATE Dec. 1st] Qt Developer's Dream RC-2 (Qt-5.6)

Unread postby Tpimp » Tue Feb 16, 2016 10:45 am

QtCreator from package will likely use the built-in Qt5 libraries (which will not work) but you may be able to fix this by soft links. Yeah I have had a lot of issues configuring properly on 15.04-15.10. 14.04LTS seemed like the best best. Glad you got that far.
Tpimp
 
Posts: 355
Joined: Thu Jul 16, 2015 5:57 am
languages_spoken: english
ODROIDs: U3, C1+, XU4

Re: [UPDATE Dec. 1st] Qt Developer's Dream RC-2 (Qt-5.6)

Unread postby maatong » Wed Mar 02, 2016 4:30 am

Hi there:
I'm a beginner of Qt dream image for u3.
Now I'm on a qt program with opengl es support, this program includes 2d texture shading.
And when I ran the program, there's a error notice pops out and reads:

Code: Select all
QOpenGLShaderProgram: could not create shader program


And I've posted the problem on u3 issue forum too, and the link is here:
http://forum.odroid.com/viewtopic.php?f=82&t=18939&p=127157#p127157

So do I need to do some extra settings in .pro file when I convert opengl program to opengl es program so that the program can have egl support?

Thanks.
maatong
 
Posts: 30
Joined: Fri Aug 01, 2014 3:54 am
languages_spoken: english

Re: [UPDATE Dec. 1st] Qt Developer's Dream RC-2 (Qt-5.6)

Unread postby LongChair » Mon Mar 28, 2016 2:37 pm

Hello,

I have tried building qt 5.6 on Odroid C2, but i'm encountering some issues with the gles integration plugins.

it seems that the mali driver defines an fbdev_window structure which is different than the one in qt. here is the error message i am getting :

Code: Select all
qeglfsmaliintegration.cpp:45:8: error: redefinition of ‘struct fbdev_window’
 struct fbdev_window {
        ^
In file included from /usr/include/EGL/eglplatform.h:28:0,
                 from /usr/include/EGL/egl.h:36,
                 from ../../../eglfs/qeglfsdeviceintegration.h:53,
                 from qeglfsmaliintegration.h:37,
                 from qeglfsmaliintegration.cpp:34:
/usr/include/EGL/fbdev_window.h:33:16: error: previous definition of ‘struct fbdev_window’
 typedef struct fbdev_window


I was wondering if this was a know issue ...

Also i see that the available 5.5.1 qt packages have qtwebkit, but qtwebengine is not available. is there any know issue with qtwebengine build on c2 ?

any feedback is really appreciated :)
LongChair
 
Posts: 153
Joined: Mon Mar 28, 2016 2:32 pm
languages_spoken: english
ODROIDs: ODROID C2

Re: [UPDATE Dec. 1st] Qt Developer's Dream RC-2 (Qt-5.6)

Unread postby Tpimp » Fri Apr 01, 2016 4:18 pm

Assuming the version of qtcreator you get works, then no. Compiling from source gets you the latest features is the only advantage.
Tpimp
 
Posts: 355
Joined: Thu Jul 16, 2015 5:57 am
languages_spoken: english
ODROIDs: U3, C1+, XU4

Re: [UPDATE Dec. 1st] Qt Developer's Dream RC-2 (Qt-5.6)

Unread postby maatong » Wed Apr 06, 2016 9:46 am

Hi Tpimp:
The link for rc2 doesn't work,
Is it possible to provide another link?
Thank you.
maatong
 
Posts: 30
Joined: Fri Aug 01, 2014 3:54 am
languages_spoken: english

Re: [UPDATE Dec. 1st] Qt Developer's Dream RC-2 (Qt-5.6)

Unread postby Tpimp » Wed Apr 06, 2016 11:51 pm

maatong wrote:Hi Tpimp:
The link for rc2 doesn't work,
Is it possible to provide another link?
Thank you.


I've had to provide my own links for images and my storage was full. I may be able to reupload this weekend.
Tpimp
 
Posts: 355
Joined: Thu Jul 16, 2015 5:57 am
languages_spoken: english
ODROIDs: U3, C1+, XU4

Re: [UPDATE Dec. 1st] Qt Developer's Dream RC-2 (Qt-5.6)

Unread postby maatong » Thu Apr 07, 2016 1:42 am

Thank you very much.

Tpimp wrote:
maatong wrote:Hi Tpimp:
The link for rc2 doesn't work,
Is it possible to provide another link?
Thank you.


I've had to provide my own links for images and my storage was full. I may be able to reupload this weekend.
maatong
 
Posts: 30
Joined: Fri Aug 01, 2014 3:54 am
languages_spoken: english

Re: [UPDATE Dec. 1st] Qt Developer's Dream RC-2 (Qt-5.6)

Unread postby dndoverlord » Sun Apr 10, 2016 3:25 am

Hi. I am very interested in this image. I have an xu4 and I need to use Qt with postgresql. ATM I don't have a regular development machine and am needing to use the xu4 as my primary. What is the status of this project?
dndoverlord
 
Posts: 9
Joined: Mon Oct 05, 2015 1:09 am
languages_spoken: english
ODROIDs: XU4

Re: [UPDATE Dec. 1st] Qt Developer's Dream RC-2 (Qt-5.6)

Unread postby Tpimp » Tue Apr 19, 2016 12:27 pm

Working on cross-compiling this week. Hopefully new images posted before too long. I still have an issue with cloud storage for the downloads. :cry:
Tpimp
 
Posts: 355
Joined: Thu Jul 16, 2015 5:57 am
languages_spoken: english
ODROIDs: U3, C1+, XU4

Re: [UPDATE Dec. 1st] Qt Developer's Dream RC-2 (Qt-5.6)

Unread postby mdrjr » Tue Apr 19, 2016 1:01 pm

Tpimp wrote:Working on cross-compiling this week. Hopefully new images posted before too long. I still have an issue with cloud storage for the downloads. :cry:


My signature :)
mdrjr
Site Admin
 
Posts: 11690
Joined: Fri Feb 22, 2013 11:34 pm
Location: Brazil
languages_spoken: english, portuguese
ODROIDs: -

Re: [UPDATE Dec. 1st] Qt Developer's Dream RC-2 (Qt-5.6)

Unread postby Tpimp » Tue Apr 19, 2016 5:25 pm

:) I asked for space to host images before but there was not enough room. I assume things changed? I'll send you a formal request.
Tpimp
 
Posts: 355
Joined: Thu Jul 16, 2015 5:57 am
languages_spoken: english
ODROIDs: U3, C1+, XU4

Re: [UPDATE Dec. 1st] Qt Developer's Dream RC-2 (Qt-5.6)

Unread postby mdrjr » Tue Apr 19, 2016 6:44 pm

Things changed.. well.. only 2 weeks ago
mdrjr
Site Admin
 
Posts: 11690
Joined: Fri Feb 22, 2013 11:34 pm
Location: Brazil
languages_spoken: english, portuguese
ODROIDs: -

Re: [UPDATE Dec. 1st] Qt Developer's Dream RC-2 (Qt-5.6)

Unread postby callmesteve » Tue May 03, 2016 8:33 am

How do you suggest compiling this into a .deb package? In past experience with debbuild, I have found that it tries to auto-configure, which fails because it does not append all the needed flags AND because the single dash is not expected by debbuild, which adds two, crashing the build. How do I set up the debian directory(s) for this version, also? Since it contains so many sub-folders, each with its own purpose, I don't know how debbuild would react.

Can someone give me a fairly in-depth guide as to how to do the above items?

Thank you.
If I can't open it, I don't own it.
callmesteve
 
Posts: 157
Joined: Tue Feb 24, 2015 7:06 am
languages_spoken: english
ODROIDs: Odroid xu3

Re: [UPDATE Dec. 1st] Qt Developer's Dream RC-2 (Qt-5.6)

Unread postby callmesteve » Mon May 09, 2016 2:08 am

Hello. I think I have succeeded in creating a binary deb package for QT. I am unsure, however, if it is valid. Can you tell me if this error message just means that there was some sort of foulup on Lintian's part, or did it mess up the package?

Downloads for the package etc (and the build log):

https://drive.google.com/folderview?id= ... sp=sharing

Note: It's really Qt5.5, not 5.6. I had so many redos required that I never got around to fixing the version. Oops. Anyway, does this work?

Please let me know.
If I can't open it, I don't own it.
callmesteve
 
Posts: 157
Joined: Tue Feb 24, 2015 7:06 am
languages_spoken: english
ODROIDs: Odroid xu3

Re: [UPDATE Dec. 1st] Qt Developer's Dream RC-2 (Qt-5.6)

Unread postby Tpimp » Wed May 11, 2016 6:13 am

I won't be able to test for some time but thanks for your efforts.
Tpimp
 
Posts: 355
Joined: Thu Jul 16, 2015 5:57 am
languages_spoken: english
ODROIDs: U3, C1+, XU4

Re: [UPDATE Dec. 1st] Qt Developer's Dream RC-2 (Qt-5.6)

Unread postby memeka » Wed May 11, 2016 7:00 am

i have binary debs for qt5.6
i will be releasing them soon with my image.
User avatar
memeka
 
Posts: 4051
Joined: Mon May 20, 2013 10:22 am
languages_spoken: english
ODROIDs: XU rev2 + eMMC + UART
U3 + eMMC + IO Shield + UART

Re: [UPDATE Dec. 1st] Qt Developer's Dream RC-2 (Qt-5.6)

Unread postby Tpimp » Wed May 11, 2016 8:28 am

memeka wrote:i have binary debs for qt5.6
i will be releasing them soon with my image.


:D This guy^^ Ty
Tpimp
 
Posts: 355
Joined: Thu Jul 16, 2015 5:57 am
languages_spoken: english
ODROIDs: U3, C1+, XU4

Re: [UPDATE Dec. 1st] Qt Developer's Dream RC-2 (Qt-5.6)

Unread postby callmesteve » Wed May 11, 2016 10:42 pm

Oops. *facedesk* It turns out that FreeCad requires Qt 4.8. I can't seem to find any documentation on its dependencies, or a really good tar.gz source, but I managed to get one. Unfortunately, debuild is throwing a fit (webkit is misbehaving, but if I can get it packaged, maybe it'll work. It does have openGL es, at least. Does anyone have a qt4 deb for the Odroid xu3? I need one that uses es. Or suggestions about webkit in this version, if you know anything about it?
If I can't open it, I don't own it.
callmesteve
 
Posts: 157
Joined: Tue Feb 24, 2015 7:06 am
languages_spoken: english
ODROIDs: Odroid xu3

Re: [UPDATE Dec. 1st] Qt Developer's Dream RC-2 (Qt-5.6)

Unread postby Tpimp » Thu May 12, 2016 6:31 am

That's going to be rough. Qt4.8 required extensive platform specific hooks to be written for anything hardware accelerated. You can likely still get a version (or compile one yourself) that uses all raster rendering on CPU. Performance will be poor!
Tpimp
 
Posts: 355
Joined: Thu Jul 16, 2015 5:57 am
languages_spoken: english
ODROIDs: U3, C1+, XU4

Re: [UPDATE Dec. 1st] Qt Developer's Dream RC-2 (Qt-5.6)

Unread postby reflex » Tue May 17, 2016 11:30 pm

Hi There!!! Thanks for the info. I'm trying to build QT in a minimal ubuntu install on my ODROID C1 (Cross compile).

In the mkspecs you give to odroidc1 wou use:
Code: Select all
EGLFS_PLATFORM_HOOKS_SOURCES = /home/odroid/Documents/qt5/qtbase/src/platformsupport/eglconvenience/qeglfshooks_odroidc1.cpp

I dont find this file, could you please post it here?

I'm having an error:
Code: Select all
qminimalintegration.cpp:136: error: undefined reference to 'createUnixEventDispatcher()'
collect2: error: ld returned 1 exit status

And I think this could be the cause.

Best Regards!
reflex
 
Posts: 8
Joined: Fri Feb 06, 2015 4:56 am
Location: Belo Horizonte - Brazil
languages_spoken: english, portuguese, spanish
ODROIDs: C1,C1+

Re: [UPDATE Dec. 1st] Qt Developer's Dream RC-2 (Qt-5.6)

Unread postby Tpimp » Wed May 18, 2016 10:58 am

Sorry about that - here it is: https://github.com/Tpimp/OdroidEGLFSQt5
And the file is named C1 hooks but I'm pretty sure this is compatible with the U3 and other Odroid devices. (Anything using Mali/x11 Qt5 QPA).
Tpimp
 
Posts: 355
Joined: Thu Jul 16, 2015 5:57 am
languages_spoken: english
ODROIDs: U3, C1+, XU4

Re: [UPDATE Dec. 1st] Qt Developer's Dream RC-2 (Qt-5.6)

Unread postby memeka » Wed May 18, 2016 11:17 am

User avatar
memeka
 
Posts: 4051
Joined: Mon May 20, 2013 10:22 am
languages_spoken: english
ODROIDs: XU rev2 + eMMC + UART
U3 + eMMC + IO Shield + UART

Re: [UPDATE Dec. 1st] Qt Developer's Dream RC-2 (Qt-5.6)

Unread postby Tpimp » Wed May 18, 2016 12:40 pm

Awesome memeka - sorry I have not contributed when I get back to my Odroids I will give you feedback on my testing. Great work on the repository! I do not see qt5declarative - would it not build because of conflicts? This is where the Qt5 gui stuff is actually at. Qt5 GUI -enables C++ gui but a modern Qt5 UX will be written in QML.
Tpimp
 
Posts: 355
Joined: Thu Jul 16, 2015 5:57 am
languages_spoken: english
ODROIDs: U3, C1+, XU4

Re: [UPDATE Dec. 1st] Qt Developer's Dream RC-2 (Qt-5.6)

Unread postby memeka » Wed May 18, 2016 4:04 pm

qt5-declarative comes from qtquick sources, i only built qtbase.
User avatar
memeka
 
Posts: 4051
Joined: Mon May 20, 2013 10:22 am
languages_spoken: english
ODROIDs: XU rev2 + eMMC + UART
U3 + eMMC + IO Shield + UART

Re: [UPDATE Dec. 1st] Qt Developer's Dream RC-2 (Qt-5.6)

Unread postby KC7NOA » Wed Sep 14, 2016 12:10 pm

How about a config for an old Odroid-X2 ubuntu 14.04 ? Qt5.5?
KC7NOA
 
Posts: 834
Joined: Wed Feb 27, 2013 2:25 pm
languages_spoken: english
ODROIDs: Odroid-X2(blown HDMI output)
Odroid-C2 to replace X2

Re: [UPDATE Dec. 1st] Qt Developer's Dream RC-2 (Qt-5.6)

Unread postby mance » Thu May 10, 2018 4:05 pm

Hello, I'm trying to install qt on odroid xu4 ubuntu 16.04 and after installing in wont start up. I read this topic and I'm totally lost. Is there any image with installed qt? Or any easier way, than building qt from source, because that is out of my abilities.
mance
 
Posts: 3
Joined: Sat Apr 21, 2018 7:23 pm
languages_spoken: english
ODROIDs: xu4

Re: [UPDATE Dec. 1st] Qt Developer's Dream RC-2 (Qt-5.6)

Unread postby meveric » Thu May 10, 2018 5:14 pm

Using my Debian Based images on the XU4 should work with Qt5 there's a package available called qt5-xu3-fix that will fix the "Unable to find an X11 visual which matches EGL config XX" issue.
Donate to support my work on the ODROID GameStation Turbo Image for U2/U3 XU3/XU4 X2 X C1 as well as many other releases.
Check out the Games and Emulators section to find some of my work or check the files in my repository to find the software i build for ODROIDs.
If you want to add my repository to your image read my HOWTO integrate my repo into your image.
User avatar
meveric
 
Posts: 9207
Joined: Mon Feb 25, 2013 2:41 pm
languages_spoken: german, english
ODROIDs: X2, U2, U3, XU-Lite, XU3, XU3-Lite, C1, XU4, C2, C1+, XU4Q, HC1, N1, Go

Re: [UPDATE Dec. 1st] Qt Developer's Dream RC-2 (Qt-5.6)

Unread postby harry4516 » Wed May 23, 2018 7:51 am

meveric wrote:Using my Debian Based images on the XU4 should work with Qt5 there's a package available called qt5-xu3-fix that will fix the "Unable to find an X11 visual which matches EGL config XX" issue.


is this update also available for the new 18.04 Image ? Since I have exactly this EGL problem with the new image.
harry4516
 
Posts: 39
Joined: Sun Jan 25, 2015 10:35 am
Location: Bavaria, Germany
languages_spoken: english, german
ODROIDs: C1, C2, U3, XU3, XU4Q, Raspi2B, Raspi2, Raspi3B, BananaPI, BananaPro, HiKey(-junk). Best of all: XU4Q !

Re: [UPDATE Dec. 1st] Qt Developer's Dream RC-2 (Qt-5.6)

Unread postby odroid » Wed May 23, 2018 8:35 am

It is one of the to-do items for XU4 Ubuntu 18.04.
Meanwhile, try meveric's Debian image.

Or, you can build the Qt5 source code with OpenGL-ES2 option.
User avatar
odroid
Site Admin
 
Posts: 28741
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID

Previous

Return to Ubuntu

Who is online

Users browsing this forum: No registered users and 3 guests