При сборке любой qt-ной программы не проходит линковка. Проблема есть только с g++3.3 со штатным 2.95 - все ок. Что делать? dist: Debian 3.0, -------------------- g++-3.3 -o application application.o main.o moc_application.o -L/usr/share/qt/lib -L/usr/X11R6/lib -lqt -lXext -lX11 -lm application.o(.text+0x1d): In function `ApplicationWindow::ApplicationWindow[not-in-charge]()': : undefined reference to `QMainWindow::QMainWindow[not-in-charge](QWidget*, char const*, unsigned)' application.o(.text+0x22): In function `ApplicationWindow::ApplicationWindow[not-in-charge]()': : undefined reference to `QString::shared_null' application.o(.text+0x3b): In function `ApplicationWindow::ApplicationWindow[not-in-charge]()': : undefined reference to `QString::makeSharedNull()' application.o(.text+0x59): In function `ApplicationWindow::ApplicationWindow[not-in-charge]()': : undefined reference to `QPrinter::QPrinter[in-charge](QPrinter::PrinterMode)' application.o(.text+0x67): In function `ApplicationWindow::ApplicationWindow[not-in-charge]()': : undefined reference to `QPixmap::QPixmap[in-charge]()' application.o(.text+0x72): In function `ApplicationWindow::ApplicationWindow[not-in-charge]()': : undefined reference to `QPixmap::QPixmap[in-charge]()' application.o(.text+0x7d): In function `ApplicationWindow::ApplicationWindow[not-in-charge]()': : undefined reference to `QPixmap::QPixmap[in-charge]()' application.o(.text+0x9a): In function `ApplicationWindow::ApplicationWindow[not-in-charge]()': : undefined reference to `QToolBar::QToolBar[in-charge](QMainWindow*, char const*)' application.o(.text+0xad): In function `ApplicationWindow::ApplicationWindow[not-in-charge]()': : undefined reference to `QString::QString[in-charge](char const*)' application.o(.text+0xd1): In function `ApplicationWindow::ApplicationWindow[not-in-charge]()': : undefined reference to `QString::shared_null' application.o(.text+0xe5): In function `ApplicationWindow::ApplicationWindow[not-in-charge]()': : undefined reference to `QString::shared_null' ---------
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.
Похожие темы
- Форум Hello, Qt! (2006)
- Форум Глюк с gcc (2005)
- Форум [c++, qt, qstring] чяднт? (2011)
- Форум Какая-то фигня с классом KLed в Qt (2003)
- Форум Проблемы с gcc в Mandrake 10.1 (2005)
- Форум id3lib (2004)
- Форум undefined reference to untargz (2014)
- Форум установка kde 3.3.0/3.3.1 (2004)
- Форум ppp over xmpp не компилируется :( (2009)
- Форум Не работает линкер. (2007)