LinuxQuestions.org
Review your favorite Linux distribution.
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 01-31-2006, 03:14 PM   #1
linuxmandrake
Member
 
Registered: Sep 2004
Distribution: debian sarge 64bit (AMD)
Posts: 709

Rep: Reputation: 30
C++ beginners questions on installing programs and GUI building


How would I do the following
a)make a make file to install a completed C++ program
b)Build a GUI
c)To make GUIs work on KDE and Gnome
 
Old 01-31-2006, 03:19 PM   #2
xhi
Senior Member
 
Registered: Mar 2005
Location: USA::Pennsylvania
Distribution: Slackware
Posts: 1,065

Rep: Reputation: 45
thats a big question.. here are some short answers

>> a)make a make file to install a completed C++ program
read a tutorial on autoconfig and automake..

>> b)Build a GUI
lots of choices, checkout Qt, wxWidgets, gtk, kde.. etc.

>> c)To make GUIs work on KDE and Gnome
as long as all the runtime libs are available at runtime for the gui tk that you choose then there is nothing special to get it to run on any X manager..

once you have the info for all of them.. make a program, make a gui for it. make a Makefile and install it...
 
Old 01-31-2006, 03:30 PM   #3
graemef
Senior Member
 
Registered: Nov 2005
Location: Hanoi
Distribution: Fedora 13, Ubuntu 10.04
Posts: 2,379

Rep: Reputation: 148Reputation: 148
QT would probably be a good place to start...

It helps with the generation of make files with its qmake utility
It has a GUI designer
It will work on both gnome & KDE (I use it under gnome and it was used to develop KDE)
It also uses C++ which was an implied requirement of yours (maybe not but I'll add that anyway!)

graeme.
 
Old 02-01-2006, 01:06 AM   #4
arilect
LQ Newbie
 
Registered: Jan 2006
Location: London, UK
Distribution: Arch, Archie
Posts: 28

Rep: Reputation: 15
I would suggest Ultimate++.
1. With Ultimate++ IDE (it's called TheIde) you don't need to worry about makefiles which is a lot of headache for beginners.

2. You wouldn't believe how much faster it compiles than any other toolkit or IDE because of BLITZ technology.

3. Also learning and programming process is faster because requires sometimes nearly half the code you would need with other toolkits.

4. Less headache where you keep your files - it has packages and assemblies.

5. With it you have got all-in-one. IDE, GUI toolkit, libraries with OpenGL, ODBC, MySQL, Oracle, XML, PDF export etc etc. Like a swiss knife for programming. You can compare it only to Microsoft's (tm) Visual Studio (or KDevelop maybe).
I've tried WideStudio (from Japan) but after too many crashes lost patience.

6. WxWidgets technology shares most of Windows MFC problems (you can google to find about them).

7. FOX toolkit was started to be easier and better than Qt... but it doesn't have IDE.

8. There is one of the best comparisons of GUI toolkits at commercial JX GUI toolkit
http://www.newplanetsoftware.com/jx/compare.php
but for some reasons they don't include Ultimate++!

9. Also with Ultimate++ you don't need to worry about if you use some code from it. It has free BSD licence. Just read the licences before you use it...

10. I've installed it on Arch Linux without pacman just by extracting the archive file from upp.sourceforge.net- it has no dependancies. You can build your packages this way for any desktop window manager I guess. I run them on KDE and Xfce4 or just plain X.

Last edited by arilect; 02-01-2006 at 01:12 AM.
 
  


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
Beginners Questions about Compiling New Kernel Toods Slackware 9 12-15-2005 03:32 PM
Suggestion for building GUI. asahlot Programming 2 10-18-2005 06:15 AM
beginners questions howarddevore Ubuntu 2 07-12-2005 08:28 PM
Questions about viruses, compiling, customizing/building distros, etc. timswim78 Linux - Newbie 4 03-03-2005 08:55 PM
Some beginners questions.... omrisela Linux - General 0 04-05-2004 10:13 AM

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

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