how to create a GUI for a C++ application running on linux 64 and AMD turion64
Linux - NewbieThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
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.
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.
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.
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.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.