C/C++ >> Qt blues
Posted by chandler on 23:27:00 12-24-2002
Hey all. im new to Qt programming and have a problem. im not able to get input from line edit. how do i get the input from line edit by
in the form pf a character string form instead of a Qstring form. please help.
Posted by KaGez on 23:53:00 12-25-2002
hmmm... I think if you're looking for Qt help, you've come into the wrong community. I don't know anybody in here (except jasonkb, who seems to have left some while ago) who knows Qt, sorry
[addsig]
Posted by neonbjb on 09:19:00 01-06-2003
What the heck is QT anyways?
Posted by Sonarman on 11:14:00 01-06-2003
Qt (Q toolkit) is a C++ toolkit (a.k.a. API) for writing GUI apps, another example of a toolkit is MFC. Qt is cross-platform, though, so if you wrote a program with Qt and compiled it on GNU/Linux, creating a Mac version would be as simple as recompiling the program. The X11 (Linux, UNIX, etc.) version of Qt is open-source, and it's pretty cool! The KDE desktop uses Qt.
Posted by KaGez on 15:25:00 01-06-2003
It may be cool, but unfortunately, like GTK+-2.x, QT is very slow. Qt can do some great effects for you, but if you want speed, Qt is not the best choice. If you want portability, Qt may be a great solution tho
[addsig]
Posted by PGuard on 21:17:00 01-06-2003
Is there any fast GUI toolkits?
Posted by KaGez on 20:57:00 01-07-2003
depends on what you want to do. You wil sure use a different GFUI toolkit for games than for average desktop apps
[addsig]
Posted by Sonarman on 06:51:00 01-08-2003
Not to start a flame war or anything , but on my system with KDE 2.2.2, Qt has always been a LOT faster than Gtk+ 1.2 or 2.0. FLTK looks pretty cool, it's another X11 GUI toolkit that also works on Windows. It was created by a special effects studio to use for their Linux compositing software.
Posted by KaGez on 22:57:00 01-08-2003
I've been playing with Qt3 and KDE3 several times, and Qt got a _lot_ slower than in version 2. I'm one of the GTK+/Gnome lovers, but I have to admit, that GTK+ (1.2 and also 2.x) are also slow. So speed probably wouldn't be a argument for each anymore as of today. But I've heard that GTK+-2.2 should be a lot faster than 2.1.x. Let's see if this turns out to be true. GTK+-2.2 is already released, so maybe trying it would be worth it.
[addsig]
Posted by Sonarman on 11:18:00 01-09-2003
Ok, cool!
Posted by abhi on 18:46:00 02-08-2003
Hi,

u can get the char* like this:

QString string = edit--->text();
char *str = string.latin1();

Assuming edit is ur QLineEdit*

Bye,
Abhi.
Posted by KaGez on 20:15:00 02-11-2003
well, abhi's out for help again!
Thx abhi
[addsig]