[sisyphus] Ðùê÷ìê ìðîòêíóçêê òôêíðãåïêë Qt/KDE

Sergey V Turchin =?iso-8859-1?q?zerg_=CE=C1_altlinux=2Eorg?=
ðÎ äÅË 15 12:03:12 MSK 2003


÷ ÓÏÏÂÝÅÎÉÉ ÏÔ 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? (ïâõìðíûìð ó
> òðïêîâá, þõå ðùê÷ìê êîåïïð êÿ-ÿâ øæðúð)
ëÏÍÐÉÌÑÔÏÒ ÐÒÏ×ÅÒØÔÅ

-- 
Regards, Sergey, ALT Linux Team, http://www.altlinux.ru
http://stinkfoot.org:11371/pks/lookup?op=get&search=0x1C2A3F08
----------- ÓÌÅÄÕÀÝÁÑ ÞÁÓÔØ -----------
âÙÌÏ ÕÄÁÌÅÎÏ ×ÌÏÖÅÎÉÅ ÎÅ × ÔÅËÓÔÏ×ÏÍ ÆÏÒÍÁÔÅ...
éÍÑ     : =?iso-8859-1?q?=CF=D4=D3=D5=D4=D3=D4=D7=D5=C5=D4?=
ôÉÐ     : application/pgp-signature
òÁÚÍÅÒ  : 189 ÂÁÊÔÏ×
ïÐÉÓÁÎÉÅ: signature
Url     : <http://lists.altlinux.org/pipermail/sisyphus/attachments/20031215/a027dea5/attachment-0009.bin>


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