LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-11-2006, 08:54 AM   #1
fantomas52
LQ Newbie
 
Registered: May 2006
Location: Paris
Posts: 2

Rep: Reputation: 0
how to create a GUI for a C++ application running on linux 64 and AMD turion64


I would like to build a graphic user interface for an application written in C++ and running on a AMD Turion64 using linux mandriva 64 or fedora 4 64. I will really appreciate if you can tell me the step to follow. It seems that linux 64 is very poor in library in comparison with linux 32.

Thank you for your help
 
Old 05-11-2006, 10:05 AM   #2
Agrouf
Senior Member
 
Registered: Sep 2005
Location: France
Distribution: LFS
Posts: 1,596

Rep: Reputation: 80
There is more than one way to do it.
Which language are you planning to use to write the GUI? You can use C++ (same as the application itself), or another, like perl, python and what have you.
You need a GUI library like tk or better gtk2 or Qt (Qt is not free though). The libraries can be compiled in 64 bit, although I doubt the GUI will gain anything from 64 bit.

Last edited by Agrouf; 05-11-2006 at 10:08 AM.
 
Old 05-11-2006, 10:07 AM   #3
oneandoneis2
Senior Member
 
Registered: Nov 2003
Location: London, England
Distribution: Ubuntu
Posts: 1,460

Rep: Reputation: 48
Qt *is* free - it's released under the GPL.

You only have to pay for it if you want to keep your code proprietary.
 
Old 05-11-2006, 10:11 AM   #4
fantomas52
LQ Newbie
 
Registered: May 2006
Location: Paris
Posts: 2

Original Poster
Rep: Reputation: 0
Thank you for your answer.

I am planning on using C++ to write the interface. The GUI is too show dynamic data in real time. I do not know if gtk2 can do that and can be used on a linux 64 platform.
 
Old 05-11-2006, 10:15 AM   #5
Agrouf
Senior Member
 
Registered: Sep 2005
Location: France
Distribution: LFS
Posts: 1,596

Rep: Reputation: 80
Quote:
Originally Posted by oneandoneis2
Qt *is* free - it's released under the GPL.

You only have to pay for it if you want to keep your code proprietary.
Sorry, my bad.
Qt is indeed free.
 
Old 05-11-2006, 10:22 AM   #6
Agrouf
Senior Member
 
Registered: Sep 2005
Location: France
Distribution: LFS
Posts: 1,596

Rep: Reputation: 80
Quote:
Originally Posted by fantomas52
Thank you for your answer.

I am planning on using C++ to write the interface. The GUI is too show dynamic data in real time. I do not know if gtk2 can do that and can be used on a linux 64 platform.
Get gtk2 x86_64 dev rpm from some rpm finder on the internet or compile it yourself.
gtk2 looks like gnome (but can be used anywhere else) and Qt looks like KDE.
Both are free and both can display real time dynamic data with no problem. Both can be compiled or found pre-compiled in 64 bit rpms.

Last edited by Agrouf; 05-11-2006 at 10:25 AM.
 
Old 05-11-2006, 08:00 PM   #7
cs-cam
Senior Member
 
Registered: May 2004
Location: Australia
Distribution: Gentoo
Posts: 3,545

Rep: Reputation: 57
Of course GTK and Qt can be used on a 64bit platform, if you are using a GUI on either Mandriva or Fedora 64 then chances are you will be using GTK and Qt apps unless you stripped down the install majorly.

Please don't post incorrect information as you could mislead people who are researching linux on 64bit and considering a swap.
 
Old 05-11-2006, 08:54 PM   #8
Electro
LQ Guru
 
Registered: Jan 2002
Posts: 6,042

Rep: Reputation: Disabled
There is wxWidgets. Audacity and Video Lan Client uses wxWidgets. I suggest using a distribution that uses gcc version 3.2 through 3.5. Fedora 4 uses gcc version 4 which has problems compiling programs. Gentoo and Slackware are good distributions to write programs.

I agree, GUI does not get any benefits when compiled for 64-bit. Multimedia programs like ffmpeg, mplayer, xine-lib, and transcode gets increase performance with 64-bit instructions.

For a real-time application it is better to create a backend than creating GUI program to do operations in real-time. GUI is not real-time.
 
  


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
Linux running too fast on AMD Turion scoot1212 Linux - Software 4 09-19-2008 10:00 AM
command to create shortcut for an application in the start menu for linux neerajchaudhari Linux - Software 1 08-29-2005 03:11 AM
Compaq Presario 1275 w/ AMD K6-2+ running Slackware Linux mikebalcos Linux - Laptop and Netbook 0 07-09-2005 10:29 AM
Running application after installing(New to linux) farrukh Linux - General 2 05-07-2004 03:42 AM
Running Linux RedHat 7.0 on AMD? bowen Linux - General 3 06-05-2002 06:36 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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