Hallo,
ich habe versucht den Sourcecode des ersten Tutorials von der Trolltech-Seite zu kompilieren, jedoch bekomme ich jedesmal folgende Fehlermeldung:
Wäre nett wenn mir jemand helfen könnte, dieses Problem zu beheben
ich habe versucht den Sourcecode des ersten Tutorials von der Trolltech-Seite zu kompilieren, jedoch bekomme ich jedesmal folgende Fehlermeldung:
c++ -pthread -o qt hello.o -Wl,-rpath,/usr/local/lib -L/usr/local/lib -L/usr/X11R6/lib -lXext -lX11 -lm
hello.o: In function `main':
hello.o(.text+0x27): undefined reference to `QApplication::QApplication(int&, char**)'
hello.o(.text+0x3d): undefined reference to `QString::QString(char const*)'
hello.o(.text+0x5f): undefined reference to `QPushButton::QPushButton(QString const&, QWidget*, char const*)'
hello.o(.text+0x80): undefined reference to `QString::shared_null'
hello.o(.text+0x8e): undefined reference to `QStringData::deleteSelf()'
hello.o(.text+0xac): undefined reference to `QString::shared_null'
hello.o(.text+0xb6): undefined reference to `QStringData::deleteSelf()'
hello.o(.text+0xda): undefined reference to `QPushButton::resize(int, int)'
hello.o(.text+0xe9): undefined reference to `QApplication::setMainWidget(QWidget*)'
hello.o(.text+0xf1): undefined reference to `QWidget::show()'
hello.o(.text+0xf9): undefined reference to `QApplication::exec()'
hello.o(.text+0x103): undefined reference to `QPushButton::~QPushButton()'
hello.o(.text+0x115): undefined reference to `QPushButton::~QPushButton()'
hello.o(.text+0x124): undefined reference to `QApplication::~QApplication()'
hello.o(.text+0x137): undefined reference to `QApplication::~QApplication()'
*** Error code 1
Stop in /home/ataru/c/qt.
Wäre nett wenn mir jemand helfen könnte, dieses Problem zu beheben
