LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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 10-30-2004, 04:16 AM   #1
mr_segfault
Member
 
Registered: Oct 2003
Location: Australia
Distribution: Redhat 9
Posts: 95

Rep: Reputation: 15
Linux/windows Cross Platform Gui toolkit.


I have a program which I want to make cross platform compatible.

I want the interface to look exactly the same, regardless of the platform.

Is there a good gui toolkit that you would suggest?

I have abstracted the presentation layer from the rest of the code base so integration should be simple.

I originally wrote it for windows and the interface looked like:
http://homepages.picknowl.com.au/abr...s/CyberLab.jpg

The code has already been ported to Linux, but I would like to create an interface that is similar to the one shown above that will be cross platform compatible between Windows and Linux and if possible Mac.

The project code base is C++..

Cheers.
..segfault
 
Old 10-30-2004, 01:46 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
Safest bet is probably Qt ... downside: the windows
bit isn't free :) Have a browse on http://freshmeat.net ,
there's a few others around that I haven't seen/used.


Cheers,
Tink
 
Old 10-30-2004, 02:55 PM   #3
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
wxwidgets looks like fitting your needs:

http://wxwindows.org/
 
Old 10-31-2004, 04:26 AM   #4
vineetsunshine
LQ Newbie
 
Registered: Oct 2004
Posts: 6

Rep: Reputation: 0
wxWindows and Qt provides the look and feel like the underlying plateform. If u want to stick with the same look and feel and think you should use Tkinter and Tix toolkit that comes with standard Python Distribution. But this will work only if you want to go with Python :-)
 
Old 10-31-2004, 08:54 AM   #5
Dodgeram01
Member
 
Registered: Jun 2003
Distribution: Gentoo and Ubuntu
Posts: 95

Rep: Reputation: 15
I would use wxWidgets (formerly, wxWindows).
 
Old 10-31-2004, 09:16 AM   #6
Ernest0x
LQ Newbie
 
Registered: Oct 2004
Distribution: Slackware
Posts: 3

Rep: Reputation: 0
The FLTK Toolkit may have fewer capabilities in relation to Qt or wxWidgets, but is just fine for a great variety of projects including the one you are interested in and, moreover, it keeps the same look 'n' feel in every supported platform.
 
Old 10-31-2004, 09:26 AM   #7
vharishankar
Senior Member
 
Registered: Dec 2003
Distribution: Debian
Posts: 3,178
Blog Entries: 4

Rep: Reputation: 138Reputation: 138
This may sound silly, but did you ever consider Java?
 
Old 10-31-2004, 04:57 PM   #8
mr_segfault
Member
 
Registered: Oct 2003
Location: Australia
Distribution: Redhat 9
Posts: 95

Original Poster
Rep: Reputation: 15
Thanks all for your suggestions,

The current port I have done, uses wxWindows for the interface, but I find xwWindows is a little bloated for my needs and does not maintain an identical look accross platforms.

I am not a fan of QT and it too suffers with the bloat factor, but it is still an option.

Tkinter would probably be ok, but this is already written in C++, and I have no Python experience.

The FLTK Toolkit looks quite good and might suit my needs, thanks. I will take a look at this.

I have also considered Java, although the JNI looks like it could make this a less than simple.

Thanks again for your input.

..segfault
 
  


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
Cross-Platform GUI Frontend for MySQL chandru.in Linux - Software 2 08-10-2005 07:13 AM
Cross Platform GUI development Artik Programming 15 06-29-2005 06:36 PM
Cross Platform Key Logging on Linux & Windows WarlockofVirgo Linux - Security 3 08-31-2004 07:31 PM
Cross Compiling FOX GUI Toolkit Akuma no Houkon Programming 0 06-07-2004 04:01 PM
Cross Platform c++ gui programming djadhav Programming 8 05-25-2004 02:15 AM

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

All times are GMT -5. The time now is 05:58 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