From: Alex <altovshik@mail.ru>
To: Sisyphus@altlinux.ru
Subject: Re: [sisyphus] ошибки компиляции приложений Qt/KDE
Date: Mon, 15 Dec 2003 20:54:58 +0500
Message-ID: <3FDDD952.8000606@mail.ru> (raw)
In-Reply-To: <200312151203.12556.zerg@altlinux.org>
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 за кодиковку. При следующем ответе переписать надо?
next prev parent reply other threads:[~2003-12-15 15:54 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-12-12 7:58 [sisyphus] пЫЙВЛЙ ЛПНРЙМСГЙЙ РТЙМПЦЕОЙК Qt/KDE "Alex Maltsev"
2003-12-15 9:03 ` Sergey V Turchin
2003-12-15 15:54 ` Alex [this message]
2003-12-16 9:45 ` [sisyphus] ошибки компиляции приложений Qt/KDE Sergey V Turchin
2003-12-16 15:44 ` Alex
2003-12-16 19:28 ` Andrey Rahmatullin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3FDDD952.8000606@mail.ru \
--to=altovshik@mail.ru \
--cc=Sisyphus@altlinux.ru \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
ALT Linux Sisyphus discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
public-inbox-index sisyphus
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.sisyphus
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git