PDA

View Full Version : best toolkit


EscapeCharacter
03-21-2002, 02:07 AM
im gonna be writing an app, its gonna have a gui and all that pretty stuff. its going to be cross platform(yes ive considered doing it in java). i was just wondering which would be the best gui toolkit to accomplish this, right now it looks like qt is the winner since the gtk port to windows is lagging behind thing *nix version. are there some others i have overlooked? maybe wx?

kmj
03-21-2002, 09:31 AM
I'll throw in a vote for Qt! (even though I haven't actually used it for practical apps; I did go through the tutorial and I found it quite impressive)

tminos
03-23-2002, 01:34 AM
I would go for QT or Java.

Tk if you feel like a masochist :)

EscapeCharacter
03-23-2002, 01:53 AM
ok this is a little off topic but how the hell do you get qt to compile correctly with vc++? ive setup pretty much everything i can think of but im getting various linking errors. this is with qt 2.3.0 for windows btw. im linking it against qtsomethingorother-2.3.0.lib qtmain.lib and qutil.lib(the only three in c:\qt\lib) even the simplest program

#include <qmainwindow.h>
#include <qapplication.h>
#include <qpushbutton.h>

int main(int argc, char **argv){
QApplication a(argc, argv);
QPushButton hello("Hello limbo", 0);
hello.resize(100, 40);

a.setMainWidget(&hello);
hello.show();
return a.exec();
}

gives me a linking error saying QString is undefined, works fine in linux(ofcourse) stupid windows

EscapeCharacter
03-23-2002, 01:55 AM
Originally posted by tminos
I would go for QT or Java.

Tk if you feel like a masochist :)

ive already done it in Tk thats why im switching ;)

kmj
03-23-2002, 12:00 PM
Did you set the directory for the Qt libraries in your project settings? I won't have visual studio in front of me until monday, so it's hard to say much more... (try copying those lib files directly into your project directory... we'll get this to work. I've been meaning to install Qt on windows anyway.)

EscapeCharacter
03-23-2002, 07:48 PM
yeah i adding them to the path and all that stuff, i even renamed them in the settings and got an error saying they didnt exist, so it is seeing them when i have them named correctly. it seems as if im missing a fourth library