[sisyphus] ÏÛÉÂËÉ ËÏÍÐÉÌÑÃÉÉ ÐÒÉÌÏÖÅÎÉÊ Qt/KDE

Alex =?iso-8859-1?q?altovshik_=CE=C1_mail=2Eru?=
ðÎ äÅË 15 18:54:58 MSK 2003


Sergey V Turchin ÐÉÛÅÔ:

>÷ ÓÏÏÂÝÅÎÉÉ ÏÔ 12 äÅËÁÂÒØ 2003 10:58 Alex Maltsev ÎÁÐÉÓÁÌ(a):
>  
>
>>Ïå ìðîòêíêôèåæõó ïê ðäïð òôêæðãåïêå, configure ïå ïâéðäêæ Qt
>>(ïâéðäêí ìâìðå-æð þôåîó òðõíå âòäåëæâ libqt3, ïð òðæðî
>>òåôåõæâí....).
>>Òôê ìðîòêíóçêê þðæ æâìðë òôðúê
>>
>>#include <qapplication.h>
>>#include <qpushbutton.h>
>>
>>int main( int argc, char **argv )
>>  {
>>   QApplication a(argc, argv );
>>   QPushButton hello( "Hello world!", 0 );
>>    hello.resize( 100, 30 );
>>      a.setMainWidget( &hello );
>>        hello.show();
>>	return a.exec();
>>  }
>>
>>òðíèàâá õíåäèáüêå õðð÷üåïêó
>>
>>qt.o: In function `main':
>>qt.o(.text+0x21): undefined reference to
>>`QApplication::QApplication(int &, char **)'
>>qt.o(.text+0x2e): undefined reference to `QString::QString(char
>>const *)' qt.o(.text+0x42): undefined reference to
>>`QPushButton::QPushButton(QString const &, QWidget *, char const
>>*)'
>>qt.o(.text+0x5a): undefined reference to `QString::shared_null'
>>qt.o(.text+0x65): undefined reference to
>>`QStringData::deleteSelf(void)' qt.o(.text+0x7b): undefined
>>reference to `QPushButton::resize(int, int)' qt.o(.text+0x87):
>>undefined reference to `QApplication::setMainWidget(QWidget *)'
>>qt.o(.text+0x8f): undefined reference to `QWidget::show(void)'
>>qt.o(.text+0x97): undefined reference to
>>`QApplication::exec(void)' qt.o(.text+0xa4): undefined reference
>>to `QPushButton::~QPushButton(void)' qt.o(.text+0xae): undefined
>>reference to `QApplication::~QApplication(void)' collect2: ld
>>returned 1 exit status
>>make: *** [hello] Ðùê÷ìâ 1
>>
>>Îðãåæ ìæð ÿïâåæ, êÿ-ÿâ àåúð configure ïå ïâéðäêæ Qt? (ïâõìðíûìð ó
>>òðïêîâá, þõå ðùê÷ìê êîåïïð êÿ-ÿâ øæðúð)
>>    
>>
>ëÏÍÐÉÌÑÔÏÒ ÐÒÏ×ÅÒØÔÅ
>
>  
>
õ ÍÅÎÑ ÓÔÏÉÔ gcc3.2 É gcc3.2-c++ c ÁÌØÔÏ×ÓËÏÇÏ ÄÉÓËÁ. ÷ÒÏÄÅ ËÏÍÐÉÌÉÔ 
ÎÏÒÍÁÔØÎÏ. ÷ÓÅ ËÒÏÍÅ ëäåÛÎÙÈ.... á ÎÁ ÞÅÍ ÅÇÏ ÍÏÖÎÏ ÐÒÏ×ÅÒÉÔØ?

P.S. sorry ÚÁ ËÏÄÉËÏ×ËÕ. ðÒÉ ÓÌÅÄÕÀÝÅÍ ÏÔ×ÅÔÅ ÐÅÒÅÐÉÓÁÔØ ÎÁÄÏ?




ðÏÄÒÏÂÎÁÑ ÉÎÆÏÒÍÁÃÉÑ Ï ÓÐÉÓËÅ ÒÁÓÓÙÌËÉ Sisyphus