Re: Hello World

"Sascha 'saigkill' Manns" <[email protected]>
Newsgroups gmane.linux.suse.programming
Organization openSUSE Marketing Team
Message-ID <[email protected]>
Den Fehler vergessen:
> Sagt das jemandem was?
sascha@linux-eh47:~> gcc -L/usr/lib64/ -IQtGui -I/usr/include/QtGui 
hello-qt.cpp -o testapp
/tmp/ccBSgZ6V.o: In function `main':
hello-qt.cpp:(.text+0x24): undefined reference to 
`QApplication::QApplication(int&, char**, int)'
hello-qt.cpp:(.text+0x5a): undefined reference to `operator new(unsigned 
long)'
hello-qt.cpp:(.text+0x74): undefined reference to 
`QLabel::QLabel(QString const&, QWidget*, QFlags<Qt::WindowType>)'
hello-qt.cpp:(.text+0xa8): undefined reference to `operator 
delete(void*)'
hello-qt.cpp:(.text+0xf1): undefined reference to `QApplication::exec()'
hello-qt.cpp:(.text+0xfc): undefined reference to 
`QApplication::~QApplication()'
hello-qt.cpp:(.text+0x120): undefined reference to 
`QApplication::~QApplication()'
/tmp/ccBSgZ6V.o: In function `QString::QString(char const*)':
hello-qt.cpp:(.text._ZN7QStringC1EPKc[QString::QString(char 
const*)]+0x1a): undefined reference to `QString::fromAscii_helper(char 
const*, int)'
/tmp/ccBSgZ6V.o: In function `QString::~QString()':
hello-qt.cpp:(.text._ZN7QStringD1Ev[QString::~QString()]+0x2a): 
undefined reference to `QString::free(QString::Data*)'
/tmp/ccBSgZ6V.o:(.eh_frame+0x13): undefined reference to 
`__gxx_personality_v0'
collect2: ld returned 1 exit status


-- 
Sincerely yours

Sascha Manns
openSUSE Marketing Team
openSUSE Build Service
openSUSE Features Screening Team
Web: http://saschamanns.gulli.to
Project-Blog: http://lizards.opensuse.org/author/saigkill
Private-Blog: http://saschasbacktrace.blogspot.com
signature.asc (application/pgp-signature, 197 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)

iEYEABECAAYFAkoq6fEACgkQvBb8uodyeZT4AgCfUHk2+5+k/bi30p3v48+ZEK6Y
bMAAoIsuKuXUg+sGZriJL47M1ZEHhWMp
=o9pD
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.