View unanswered posts | View active topics It is currently Fri Mar 24, 2017 6:48 pm



Reply to topic  [ 14 posts ]  Go to page 1, 2  Next
So I want to start developing for Linux [help!] 
Author Message
LQFP112 - Up with the play
User avatar

Joined: Sat Sep 29, 2012 9:16 pm
Posts: 148
Location: Rotterdam, the Netherlands
Between fixing up 2 cars, finishing off my RGB dash PCB + code and looking for a new house before I'm rendered homeless I have taken it upon myself
to help out the company I work for with an (unpayed) promotional project (building an electric car out of a Citroen 2CV based piece of shit for a contest).

I'm looking to make a dashboard that will run on a raspberry pi, the reasons for this are many:
-It's cheap.
-It's powerfull enough.
-It's something I wanted to learn about anyway.

Problem is I have been connected to Windows with an umbical cord about all my life, and I have no clue where to get started with Linux.

-What options are there for creating graphical interfaces (Glade \ Eclipse \ Netbeans \ Qt)?
Out of all those I am only familiar with Qt (have made widgets for a SCADA program based on Qt).
Bear in mind I only know C/C++ (no expert, but not a newbie either), C#, and a tiny bit of Java.

-What in the name of all that is holy is a toolchain?

Long story made short: where does one start?

_________________
FABRICA MI DIEM, PVNC!


Fri Nov 23, 2012 4:43 pm
Profile
Moderator
User avatar

Joined: Tue Jan 15, 2008 2:31 pm
Posts: 14498
Location: Home sweet home!
Got skype? If so we can have a chat about this :-)

GTK or QT or WXWidgets or Java (swing, swt, qt, wx, etc) or raw X11 and likely others.

Which lang do you want?

I prefer to code independently of the OS. For that QT and Java are best choices IMO.

Fred.

_________________
DIYEFI.org - where Open Source means Open Source, and Free means Freedom
FreeEMS.org - the open source engine management system
FreeEMS dev diary and its comments thread and my turbo truck!
n00bs, do NOT PM or email tech questions! Use the forum!
The ever growing list of FreeEMS success stories!


Fri Nov 23, 2012 8:16 pm
Profile WWW
LQFP112 - Up with the play
User avatar

Joined: Sat Sep 29, 2012 9:16 pm
Posts: 148
Location: Rotterdam, the Netherlands
Would love to chat sometime so I'll take you up on that offer.
I'll have to dig my skype login out from underneath a pile of dust though. My GF is logged into Skype 24/7 at the moment (she moved here from serbia a year ago).

As far as coding goes, I'm most proficient in C-based languages, but I'll admit that some of the more abstract C++ code can make my head spin at times.
That would be the kind you find in the embedded world usually, funny how different a language can look depending on the purpose it is used for.
The stuff I'm used to coding in all week (visual studio, SCADA and PLC) is pretty much useless to me here.
Java I've only ported programs from to C#, meaning I know how to read it well enough and don't expect much problems adapting to coding in it either.
For the rest.. I'm all ears.

I know Qt is pretty powerful for creating UI stuff like widgets and whatnot, but then I take a look at stuff like XBMC and get the feeling there is a lot
more to learn out there.

_________________
FABRICA MI DIEM, PVNC!


Fri Nov 23, 2012 10:29 pm
Profile
LQFP112 - Up with the play

Joined: Tue May 01, 2012 4:17 pm
Posts: 211
Location: Shrewsbury PA
ivan141 wrote:
I know Qt is pretty powerful for creating UI stuff like widgets and whatnot, but then I take a look at stuff like XBMC and get the feeling there is a lot
more to learn out there.


Take a look at QML. It's an opengl semi-3d fluid based GUI that uses Qtscript and has direct Qt object interactions. You can do pretty much everything XBMC can, in QML. I use Qt for the EMStudio tuning application, and use QML for the user-interface in my in-car media pc.

I also plan on using the raspberry pi, or something similar, to display gauges and the like. Most likely using Qt/QML.

_________________
EMStudio
Interesting Stuff
My Car


Fri Nov 23, 2012 10:51 pm
Profile WWW
Moderator
User avatar

Joined: Tue Jan 15, 2008 2:31 pm
Posts: 14498
Location: Home sweet home!
C# + mono is another option :-)

C# and Java are pretty similar for the most part IMO. C# has some nice syntax sugar that Java doesn't, but the sun VM is FTW IMO.

_________________
DIYEFI.org - where Open Source means Open Source, and Free means Freedom
FreeEMS.org - the open source engine management system
FreeEMS dev diary and its comments thread and my turbo truck!
n00bs, do NOT PM or email tech questions! Use the forum!
The ever growing list of FreeEMS success stories!


Fri Nov 23, 2012 11:38 pm
Profile WWW
LQFP112 - Up with the play
User avatar

Joined: Sat Sep 29, 2012 9:16 pm
Posts: 148
Location: Rotterdam, the Netherlands
Quick update on this:

I've been nosing around Qt and Eclipse. I like what I see in Qt (QML UI's are pretty neat). Getting things to
work in Eclipse is a different matter altogether. I somehow think getting QML to work in any editor other than
Qt Creator is going to be more challenging than necessary. If anyone knows better, let me know, because I
really miss a couple of basic features in Qt Creator.

Now I need to proceed with cross-compilation testing because I don't feel like setting up a linux VM just to be
able to code for the raspberry.

_________________
FABRICA MI DIEM, PVNC!


Tue Nov 27, 2012 8:44 am
Profile
Moderator
User avatar

Joined: Tue Jan 15, 2008 2:31 pm
Posts: 14498
Location: Home sweet home!
Linux VM? You're not running Linux on any machines? :-/ You're the odd one out here :-)

_________________
DIYEFI.org - where Open Source means Open Source, and Free means Freedom
FreeEMS.org - the open source engine management system
FreeEMS dev diary and its comments thread and my turbo truck!
n00bs, do NOT PM or email tech questions! Use the forum!
The ever growing list of FreeEMS success stories!


Tue Nov 27, 2012 9:32 am
Profile WWW
LQFP112 - Up with the play

Joined: Tue May 01, 2012 4:17 pm
Posts: 211
Location: Shrewsbury PA
ivan141 wrote:
Quick update on this:

I've been nosing around Qt and Eclipse. I like what I see in Qt (QML UI's are pretty neat). Getting things to
work in Eclipse is a different matter altogether. I somehow think getting QML to work in any editor other than
Qt Creator is going to be more challenging than necessary. If anyone knows better, let me know, because I
really miss a couple of basic features in Qt Creator.

Now I need to proceed with cross-compilation testing because I don't feel like setting up a linux VM just to be
able to code for the raspberry.


I don't honestly know anyone who codes for C++/Qt in Eclipse, so I can't much help you. You could always code C++ in Eclipse, and the QML in Qt Creator. QML is very loosely coupled to the C++ behind it, so it wouldn't be a huge hassle to split it between two editors if you're really that locked in on Eclipse.

_________________
EMStudio
Interesting Stuff
My Car


Tue Nov 27, 2012 11:38 am
Profile WWW
Moderator
User avatar

Joined: Tue Jan 15, 2008 2:31 pm
Posts: 14498
Location: Home sweet home!
I just installed QT creator and to be fair, it looks decent. Give it a try :-)

_________________
DIYEFI.org - where Open Source means Open Source, and Free means Freedom
FreeEMS.org - the open source engine management system
FreeEMS dev diary and its comments thread and my turbo truck!
n00bs, do NOT PM or email tech questions! Use the forum!
The ever growing list of FreeEMS success stories!


Tue Nov 27, 2012 2:00 pm
Profile WWW
LQFP112 - Up with the play
User avatar

Joined: Sat Sep 29, 2012 9:16 pm
Posts: 148
Location: Rotterdam, the Netherlands
I just never got into the swing of things in Linux, tried it for a while on an EEEpc years ago and
got annoyed with having to find applications for it so reverted to Windows.
But never mind that, I realise I'm a minority in here, that's why I posted my call for help here in the first place.

I'm not stuck on Eclipse at all (in fact I have never used it before), but I have used visual studio with a Qt plugin
before and was looking for something non-microsoft that could do the same thing. Qt Creator is not that bad, but
you just get used to some functionalities like finding all references to a var/func from it's context menu.

I just noticed the QML designer in Qt creator.. that makes things even more appealing. Sadly there is no Qt Quick 2 support
for this visual designer yet, hope they incorporate that into the stable release of Qt5 that they promise to deliver later this year.

_________________
FABRICA MI DIEM, PVNC!


Tue Nov 27, 2012 3:58 pm
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 14 posts ]  Go to page 1, 2  Next

Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group
Designed by ST Software for PTF. ColorizeIt.