LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 08-22-2006, 10:16 AM   #1
Principher
LQ Newbie
 
Registered: May 2004
Posts: 13

Rep: Reputation: 0
Developing cross platform applications


As I am going to work on a (possibly) commercial application which is supposed to work on various platforms (alright just Linux and OSX, Windows would be nice), I am looking for advise for some of the choices.

All of the questions are "religious" topics, but please forget that

First of all a description of what I want to do... I want to make a powerpoint-like application with the twist that one should be able of changing the presentation while it is running. That is, the editor should be shown on one screen while the presentation may run on an other. I am aware that I may have to go platform-specific for some parts of the program.

Since I am fairly proficient with C++ that is the language I am going to use.

The choices come in two parts, IDE and graphical toolkit. For IDE I have read here on the forum, and has come to the conclusion that Code::Blocks is good since, it gets good reviews and runs on both Windows and Linux. Are there any other good crossplatform options, they don't have to be free, though there is a limit to how much money I can spent on a commercial IDE.

As for toolkit, I have found WX Windows and GTK+, are there other options (apart from QT which costs lots of $$$ when you want to use it commercially). Which of the options would be the best choice? It should be mentioned that I have used GTK+ (briefly) before while I am completely new to WX.
 
Old 08-22-2006, 02:16 PM   #2
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
Quote:
Originally Posted by Principher
All of the questions are "religious" topics, but please forget that
Okay, so I won't answer you'd rather use Java for cross platform development
 
Old 08-22-2006, 04:44 PM   #3
Flesym
Member
 
Registered: Aug 2005
Location: Germany
Distribution: Ubuntu, Debian
Posts: 189

Rep: Reputation: 31
Well, actually you answered everything yourself: CB is a fantastic (crossplatform) IDE, although you don't want use their latest official release (1.0r2), but one of their latest builds, because the official release is really outdated and has very little to do with the current version. Another great IDE is eclipse, that is also able to handle c++ with the CDT-plugin.
About wxWindows: Well after our all favorite company "M$" talked to Julian Smart (the founder of the project) and pointed out that the trademark "Windows" is owned by them, Mr Smart decided (along with some compensation money) to change the name into wxWidgets But this is a great library, especially if you want free crossplatform C++. Although I love GTK, I even do prefer wxWidgets over it, because unlike GTK it is a very "clean" C++-API. My advice is: Give it a try!
 
Old 08-22-2006, 04:50 PM   #4
xhi
Senior Member
 
Registered: Mar 2005
Location: USA::Pennsylvania
Distribution: Slackware
Posts: 1,065

Rep: Reputation: 45
eclipse would be my choice of ide. support for c++ and support for cvs, subversion, etc all with plugins.. works on both windows and linux, and is free. my favorite ide.

as far as windowing toolkit. my vote goes with QT, but i dont have the problem of paying for a license like you will. wxWidgets is spoken well of (there is also a book from prentice hall that is available for free, ill post the link when i find it)..

(btw, its wxwidgets now because microsoft owns the word windows)

Edit> didnt see your post Flesym, i wasnt trying to be an echo i swear..

Last edited by xhi; 08-22-2006 at 04:51 PM.
 
Old 08-25-2006, 08:47 AM   #5
Principher
LQ Newbie
 
Registered: May 2004
Posts: 13

Original Poster
Rep: Reputation: 0
Ok found the book myself... Here is a link to it, and some of the other free books he has written:

http://files.opencursus.org/bruce_perens_series/
 
Old 08-25-2006, 08:57 AM   #6
xhi
Senior Member
 
Registered: Mar 2005
Location: USA::Pennsylvania
Distribution: Slackware
Posts: 1,065

Rep: Reputation: 45
yeh sorry i forgot to dig out the link. looks like you found a good one there though..

thanks
 
Old 08-25-2006, 12:57 PM   #7
sundialsvcs
LQ Guru
 
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 10,636
Blog Entries: 4

Rep: Reputation: 3933Reputation: 3933Reputation: 3933Reputation: 3933Reputation: 3933Reputation: 3933Reputation: 3933Reputation: 3933Reputation: 3933Reputation: 3933Reputation: 3933
You're going to get as many responses to this as there are cross-platform languages to choose from.

It would probably be best to thoroughly design the application, then explore implementation choices. Select your target platforms, including operating-system versions, and try to map out exactly what would be needed to port this application to each one ...

... before you write any code at all!

Yes, it takes a lot of discipline to do that, and you'll get "itchy fingers," but persist.

Last edited by sundialsvcs; 08-25-2006 at 01:03 PM.
 
Old 08-27-2006, 01:35 PM   #8
X.Cyclop
Member
 
Registered: Jun 2006
Location: Tlv
Distribution: Arch!
Posts: 120

Rep: Reputation: 21
C++ with WxWidgets is the best choice.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Cross-platform, the road to Linux applications wyo Linux - Software 9 12-27-2005 09:10 AM
cross platform c++ nyomon Programming 6 07-03-2005 03:24 PM
good applications for developing webpages drvinoy Linux - Software 3 02-17-2004 06:03 PM
The best IDE for developing cross-platform CAD software cjp Programming 1 12-04-2003 08:08 AM
Cross Platform biggiefatts Linux - Software 4 06-04-2002 03:00 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 01:32 AM.

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