Qt-solutions Archive, October 2007
HI
Message 1 in thread
I have installed QT4 and while compiling Hello QT and Window Program i
get an error message as
QApplication has no class named setmainWidget so can some one help me
out
Thanks and best regards,
Sheela K
Bangalore
Message 2 in thread
Sheela,
As someone else pointed out earlier, this is a qt-solutions list, not the general qt-interest list. This list is for the added functionality provided by the Qt Solutions product. General Qt questions should be posted to the more active qt-interest list.
But, to answer your question, setMainWidget is a Qt 3 function. You must be compiling the Qt 3 hello program. Try turning on the Qt3 compatibility option in your Qt4 library or else build a Qt4 version of the hello program.
Aloha,
John
----- Original Message -----
From: K, Sheela
To: qt-solutions@xxxxxxxxxxxxx
Sent: Tuesday, October 09, 2007 9:44 PM
Subject: HI
I have installed QT4 and while compiling Hello QT and Window Program i get an error message as
QApplication has no class named setmainWidget so can some one help me out
Thanks and best regards,
Sheela K
Bangalore