Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Non-*NIX Forums > Programming
User Name
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.


  Search this Thread
Old 10-30-2004, 04:16 AM   #1
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:

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++..

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

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

Old 10-30-2004, 02:55 PM   #3
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Ubuntu/WSL
Posts: 9,785

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
wxwidgets looks like fitting your needs:
Old 10-31-2004, 04:26 AM   #4
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
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
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
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
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.



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 GUI Frontend for MySQL 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 > Forums > Non-*NIX Forums > Programming

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

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