LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 03-05-2005, 08:04 PM   #1
acidjuice
Member
 
Registered: Jan 2005
Location: a tiny spot on the iceberg
Distribution: Slackware 10.1 (dropline 2.10, kernel 2.6.11.6)
Posts: 320

Rep: Reputation: 30
programming under linux


dear all,

i am an experienced VB programmer with notions of java and C++, but have always worked under windows.

i am enjoying this linux eperience so much i'm thinking of porting part of my applications too.

i'd like to develop a small application (that would have GUI) under linux.

now: what should i start using? is there a detailed guide for complete noobs to linux developing environment?

any help welcomed

cheers,

aj.
 
Old 03-05-2005, 08:32 PM   #2
elitecodex
Member
 
Registered: Feb 2004
Location: MD
Distribution: Fedora 9
Posts: 129

Rep: Reputation: 15
I am in a very similar boat as yourself...

I have choosen to go the Qt route. They have a decent tutorial to get you started.
Check this site out... should help: http://stommel.tamu.edu/~baum/programming.html

EDIT
Another resource to start with: LinuxQuestions QT Wiki. There are also other APIs... Im just throwing out what I am starting with.

Last edited by elitecodex; 03-05-2005 at 08:41 PM.
 
Old 03-05-2005, 09:19 PM   #3
MMYoung
Member
 
Registered: Apr 2004
Location: Arkansas
Distribution: Ubuntu 8.10
Posts: 365

Rep: Reputation: 30
If you are using KDE there is an IDE "built in" for C and C ++ programs. If you are using GNOME you might want to look into Anjuta. I've downloaded the source code for Anjuta and have built a SlackPack and installed on my PC, works great and "looks" really nice.

I've only just started doing some C ++ programming, actually only had my first class at college last semester. Soon as this semester is out I plan on getting a good book on Linux Programming with C ++ and "have a go at it".

Later,
MMYoung
 
Old 03-05-2005, 10:18 PM   #4
Radiomaan
LQ Newbie
 
Registered: May 2001
Posts: 14

Rep: Reputation: 0
TCL/TK has the reputation for being the quickest approach for a newbie to get a GUI running under linux.
 
Old 03-05-2005, 10:27 PM   #5
Feminista
Member
 
Registered: Sep 2004
Distribution: Gentoo, OS X
Posts: 37

Rep: Reputation: 15
For coding a GUI, you'll probably want to learn either gtk or Qt. I'm biased towards gtk, myself, but that's because KDE makes my eyes hurt. And Qt support is harder to come by than gtk support in alternative window managers (even the mighty fluxbox doesn't have perfect Qt compatibility). Also, I'd code in a high level language (C/C++/java) rather than a BASIC derivative, even for simple programs. Other than the GUI end of things, porting shouldn't be too difficult.

As for IDEs, the 1337 among us use emacs for everything , but you may want something more visual, coming from a windows background. However, I DON'T suggest using kdevelop, even if you are using kde. There are better options out there. If you do in fact go for emacs (and make me proud), remember that there are five zillion plugins available, so make it suit your needs.
 
Old 03-06-2005, 02:26 AM   #6
gbonvehi
Senior Member
 
Registered: Jun 2004
Location: Argentina (SR, LP)
Distribution: Slackware
Posts: 3,145

Rep: Reputation: 53
If you're a VB coder, you should try: http://gambas.sourceforge.net/
Also you can try NetBeans (http://www.netbeans.org/ or get J2sdk1.5+Netbeans in http://java.sun.com), Java's new IDE, i've been working with it last few weeks and it's very nice and of course, you write AND design once, and run everywhere

Forgot to say, there's a programming forum on LQ (of course, programming on linux): http://www.linuxquestions.org/questi...p?s=&forumid=9

Last edited by gbonvehi; 03-06-2005 at 04:10 AM.
 
Old 03-06-2005, 05:09 AM   #7
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
If you are planning to write GUI programs for linux and use C++, you will probably want to take a look at ´kdevelop´ and ´qtdesigner´. They are full featured ide environments. QT Designer looks like ´Delphi´ on steroids.
 
Old 03-06-2005, 05:36 AM   #8
acidjuice
Member
 
Registered: Jan 2005
Location: a tiny spot on the iceberg
Distribution: Slackware 10.1 (dropline 2.10, kernel 2.6.11.6)
Posts: 320

Original Poster
Rep: Reputation: 30
dear all,

thank you for your inputs.

Quote:
Originally posted by elitecodex
I have choosen to go the Qt route.
hi elitecodex, this sure looks promising. i see they also have an opeen source licensing, which is real good.

however, only one question though: the resulting code productd by Qt can just be compiled with any GCC compiler out there? or must it be comiled from Qt?

Last edited by acidjuice; 03-06-2005 at 05:39 AM.
 
Old 03-06-2005, 05:56 AM   #9
acidjuice
Member
 
Registered: Jan 2005
Location: a tiny spot on the iceberg
Distribution: Slackware 10.1 (dropline 2.10, kernel 2.6.11.6)
Posts: 320

Original Poster
Rep: Reputation: 30
Quote:
Originally posted by Radiomaan
TCL/TK has the reputation for being the quickest approach for a newbie to get a GUI running under linux.
hi radioman, this too looks promising, though i am not sure since i do have very basic nothons of C++ (and seen the power of C++) why i should go for another language which is only TCL/TK proprietary... or am i missing something?
 
Old 03-06-2005, 05:59 AM   #10
acidjuice
Member
 
Registered: Jan 2005
Location: a tiny spot on the iceberg
Distribution: Slackware 10.1 (dropline 2.10, kernel 2.6.11.6)
Posts: 320

Original Poster
Rep: Reputation: 30
Quote:
Originally posted by Feminista
For coding a GUI, you'll probably want to learn either gtk or Qt. I'm biased towards gtk, myself, but that's because KDE makes my eyes hurt.
i should have mentioned. GNOME only user here :P
Quote:
Originally posted by Feminista
And Qt support is harder to come by than gtk support in alternative window managers (even the mighty fluxbox doesn't have perfect Qt compatibility). Also, I'd code in a high level language (C/C++/java) rather than a BASIC derivative, even for simple programs.
mmm not sure i understand: you mean Qt codes in a basic derivative?
Quote:
Originally posted by Feminista
As for IDEs, the 1337 among us use emacs for everything , but you may want something more visual, coming from a windows background. However, I DON'T suggest using kdevelop, even if you are using kde. There are better options out there. If you do in fact go for emacs (and make me proud), remember that there are five zillion plugins available, so make it suit your needs.
emacs sounds good, at the same time as i said i really only have notions of C++, i guess starting with Qt might make my life easier at the beginning, then moving to emacs?
 
Old 03-06-2005, 06:03 AM   #11
acidjuice
Member
 
Registered: Jan 2005
Location: a tiny spot on the iceberg
Distribution: Slackware 10.1 (dropline 2.10, kernel 2.6.11.6)
Posts: 320

Original Poster
Rep: Reputation: 30
Quote:
Originally posted by gbonvehi
If you're a VB coder, you should try: http://gambas.sourceforge.net/
Also you can try NetBeans (http://www.netbeans.org/ or get J2sdk1.5+Netbeans in http://java.sun.com), Java's new IDE, i've been working with it last few weeks and it's very nice and of course, you write AND design once, and run everywhere

Forgot to say, there's a programming forum on LQ (of course, programming on linux): http://www.linuxquestions.org/questi...p?s=&forumid=9
gambas sounds quite fun, however again i see a problem in using these 'proprietary' languages i might give it a try just to feel encouraged to writing my first linux app
as per netbeans, it simply won't do for me, but real thanks for these inputs.
 
Old 03-06-2005, 06:29 AM   #12
MMYoung
Member
 
Registered: Apr 2004
Location: Arkansas
Distribution: Ubuntu 8.10
Posts: 365

Rep: Reputation: 30
Quote:
Originally posted by acidjuice
i should have mentioned. GNOME only user here :P
Then you don't want to use QT, as that is "basically" a KDE thing (not completely). GTK is the default for GNOME and GNOME apps.

Did you look at Anjunta? Has import capablilites, so you can take an "already done" program and look at how the developer coded it for "hints and tips". Matter of fact, just from the little I've used of both Anjuta and the MS Visual Studio .NET (Visual Basic and C++ only) it is comparible to that.

BTW, GTK is TRUE open source, there are parts of QT that aren't. Which is why GNOME will ONLY use GTK. Before I get flamed, I'm not saying that QT is bad (basically I'm indifferent on that subject), just stating the facts AS I UNDERSTAND THEM. If I'm wrong someone please correct me (like I have to even say that ).

Later,
MMYoung
 
Old 03-06-2005, 06:40 AM   #13
acidjuice
Member
 
Registered: Jan 2005
Location: a tiny spot on the iceberg
Distribution: Slackware 10.1 (dropline 2.10, kernel 2.6.11.6)
Posts: 320

Original Poster
Rep: Reputation: 30
Quote:
Originally posted by MMYoung
Then you don't want to use QT, as that is "basically" a KDE thing (not completely)
arg. i was downloading

oh well. downloading anjuta now, hopefully i'll find good tuts on this one too.
 
Old 03-06-2005, 07:08 AM   #14
__J
Senior Member
 
Registered: Dec 2004
Distribution: Slackware, ROCK
Posts: 1,973

Rep: Reputation: 46
http://developer.gnome.org/doc/
 
Old 03-06-2005, 07:44 AM   #15
cathectic
Member
 
Registered: Sep 2004
Location: UK, Europe
Distribution: Slackware64
Posts: 761

Rep: Reputation: 35
Quote:
BTW, GTK is TRUE open source, there are parts of QT that aren't.
No. GTk is LGPL, Qt has a numerous licenses: for open source, you can have the GPL or Trolltech's own QPL, or if you don't want to give out your source code, you can pay for a commercial license (which is then used to fund development of Qt).

Gnome sprung up because Qt wasn't originally under a free license. This is now no longer the case after Trolltech relicensed the code many years ago (4th September 2000 Announcement)

Edit
In terms of compatibility, GTK is more widespread, but according to Trolltech's website, Qt 4 will be GPL'd for Windows (it is already GPL'd for the Mac and X11)

Last edited by cathectic; 03-06-2005 at 07:48 AM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Difference between Top Down programming & Bottom up programming minil Programming 1 06-17-2005 02:42 AM
New Forum for Linux-Gurus[Programming/Administration] or Linux-Advanced Users [ Progr raees LQ Suggestions & Feedback 5 04-12-2005 07:35 PM
Linux programming sichammer Programming 3 10-06-2004 04:04 AM
Linux Programming tcaptain Programming 0 02-18-2003 01:36 PM
Exp. Windows/Linux-Script Programmer - Need Linux Programming Mentor! ruttiger Linux - Newbie 2 10-28-2001 11:00 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 02:22 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration