ODuino Qt app does not want to compile in Qt 5.x

Post Reply
wernert
Posts: 46
Joined: Sun Dec 14, 2014 3:39 pm
languages_spoken: english
ODROIDs: ODROID-W
ODUINO One
ODROID-C1
Contact:

ODuino Qt app does not want to compile in Qt 5.x

Unread post by wernert » Sat Jan 17, 2015 6:24 pm

I just spent a couple of hours unsuccessfully trying to get the ODuino Qt app to compile in Qt 5.x. It would seem that the version of Qt used to create that app is already rather out dated and most of the path names etc have changed in the meantime. It also means the app can no longer be compiled with the latest version of Qt (Qt 5.x).

Is there any chance you guys might be updating that project to work with the latest Qt? It is a nice example which I would love to get working.

User avatar
odroid
Site Admin
Posts: 29322
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID
Contact:

Re: ODuino Qt app does not want to compile in Qt 5.x

Unread post by odroid » Sun Jan 18, 2015 2:55 pm

We don't know well the Qt5. We have no experience.
You need to install Qt4 if you can't fix it. Sorry about that. :(

Tpimp
Posts: 355
Joined: Thu Jul 16, 2015 5:57 am
languages_spoken: english
ODROIDs: U3, C1+, XU4
Contact:

Re: ODuino Qt app does not want to compile in Qt 5.x

Unread post by Tpimp » Fri Sep 04, 2015 11:47 am

Ill port it to Qt5 where is the source?

User avatar
odroid
Site Admin
Posts: 29322
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID
Contact:

Re: ODuino Qt app does not want to compile in Qt 5.x

Unread post by odroid » Fri Sep 04, 2015 4:36 pm


Tpimp
Posts: 355
Joined: Thu Jul 16, 2015 5:57 am
languages_spoken: english
ODROIDs: U3, C1+, XU4
Contact:

Re: ODuino Qt app does not want to compile in Qt 5.x

Unread post by Tpimp » Fri Sep 04, 2015 5:40 pm

Ok ported to Qt5. It wasn't difficult because QWidgets in Qt5 and Qt4 are very similar. Just replace QApplication with QtGuiApplication and add widgets library (was separated from GUI library in Qt5).
http://doc.qt.io/qt-5/portingguide.html

Oduino Qt5

User avatar
odroid
Site Admin
Posts: 29322
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID
Contact:

Re: ODuino Qt app does not want to compile in Qt 5.x

Unread post by odroid » Fri Sep 04, 2015 6:56 pm

Thank you so much. I've added a link of your post on the Wiki.

Please port this XU3/4 application to Qt5 when you have spare time.
https://github.com/hardkernel/EnergyMonitor

Post Reply

Return to “ODUINO One”

Who is online

Users browsing this forum: No registered users and 0 guests