• 4941阅读
  • 1回复

真见鬼..简单的不能make [复制链接]

上一主题 下一主题
离线style
 
只看楼主 倒序阅读 楼主  发表于: 2006-05-14
root@style:~/Desktop/qt# qmake -project
root@style:~/Desktop/qt# qmake
root@style:~/Desktop/qt# make
g++ -c -pipe -Wall -W -O2 -DQT_NO_DEBUG -I/usr/lib/qt/mkspecs/default -I. -I. -I/usr/lib/qt/include -o cc.o cc.cpp
g++ -o qt cc.o   -L/usr/X11R6/lib -lXext -lX11 -lm
cc.o(.text+0x18): In function `Clock::Clock[not-in-charge](QWidget*, char const*)':
: undefined reference to `QWidget::QWidget[not-in-charge](QWidget*, char const*, unsigned)'
cc.o(.text+0x3b): In function `Clock::Clock[not-in-charge](QWidget*, char const*)':
: undefined reference to `QWidget::setGeometry(int, int, int, int)'
cc.o(.text+0x4b): In function `Clock::Clock[not-in-charge](QWidget*, char const*)':
: undefined reference to `QWidget::setMinimumSize(int, int)'
cc.o(.text+0x5e): In function `Clock::Clock[not-in-charge](QWidget*, char const*)':
: undefined reference to `QWidget::setMaximumSize(int, int)'
cc.o(.text+0x77): In function `Clock::Clock[not-in-charge](QWidget*, char const*)':
: undefined reference to `QLabel::QLabel[in-charge](QWidget*, char const*, unsigned)'
cc.o(.text+0x8b): In function `Clock::Clock[not-in-charge](QWidget*, char const*)':
: undefined reference to `QString::QString[in-charge](char const*)'
cc.o(.text+0xb2): In function `Clock::Clock[not-in-charge](QWidget*, char const*)':
: undefined reference to `QString::shared_null'
cc.o(.text+0xbd): In function `Clock::Clock[not-in-charge](QWidget*, char const*)':
: undefined reference to `QStringData::deleteSelf()'
cc.o(.text+0xf3): In function `Clock::Clock[not-in-charge](QWidget*, char const*)':
: undefined reference to `QString::QString[in-charge](char const*)'
cc.o(.text+0xfd): In function `Clock::Clock[not-in-charge](QWidget*, char const*)':
: undefined reference to `QPushButton::QPushButton[in-charge](QString const&, QWidget*, char const*)'
cc.o(.text+0x119): In function `Clock::Clock[not-in-charge](QWidget*, char const*)':
: undefined reference to `QString::shared_null'
cc.o(.text+0x124): In function `Clock::Clock[not-in-charge](QWidget*, char const*)':
: undefined reference to `QStringData::deleteSelf()'
cc.o(.text+0x135): In function `Clock::Clock[not-in-charge](QWidget*, char const*)':
: undefined reference to `QString::QString[in-charge](char const*)'
cc.o(.text+0x14a): In function `Clock::Clock[not-in-charge](QWidget*, char const*)':
: undefined reference to `QFont::QFont[in-charge](QString const&, int, int, bool)'
cc.o(.text+0x162): In function `Clock::Clock[not-in-charge](QWidget*, char const*)':
: undefined reference to `QFont::~QFont [in-charge]()'
cc.o(.text+0x177): In function `Clock::Clock[not-in-charge](QWidget*, char const*)':
: undefined reference to `QString::shared_null'
cc.o(.text+0x182): In function `Clock::Clock[not-in-charge](QWidget*, char const*)':
: undefined reference to `QStringData::deleteSelf()'
cc.o(.text+0x190): In function `Clock::Clock[not-in-charge](QWidget*, char const*)':
: undefined reference to `qApp'
cc.o(.text+0x19f): In function `Clock::Clock[not-in-charge](QWidget*, char const*)':
: undefined reference to `QObject::connect(QObject const*, char const*, QObject const*, char const*)'
cc.o(.text+0x1c5): In function `Clock::Clock[not-in-charge](QWidget*, char const*)':
: undefined reference to `QWidget::~QWidget [not-in-charge]()'
cc.o(.text+0x1e1): In function `Clock::Clock[not-in-charge](QWidget*, char const*)':
: undefined reference to `QString::shared_null'
cc.o(.text+0x1ec): In function `Clock::Clock[not-in-charge](QWidget*, char const*)':
: undefined reference to `QStringData::deleteSelf()'
cc.o(.text+0x202): In function `Clock::Clock[not-in-charge](QWidget*, char const*)':
: undefined reference to `QString::shared_null'
cc.o(.text+0x20d): In function `Clock::Clock[not-in-charge](QWidget*, char const*)':
: undefined reference to `QStringData::deleteSelf()'
cc.o(.text+0x227): In function `Clock::Clock[not-in-charge](QWidget*, char const*)':
: undefined reference to `QFont::~QFont [in-charge]()'
cc.o(.text+0x258): In function `Clock::Clock[in-charge](QWidget*, char const*)':
: undefined reference to `QWidget::QWidget[not-in-charge](QWidget*, char const*, unsigned)'
cc.o(.text+0x27b): In function `Clock::Clock[in-charge](QWidget*, char const*)':
: undefined reference to `QWidget::setGeometry(int, int, int, int)'
cc.o(.text+0x28b): In function `Clock::Clock[in-charge](QWidget*, char const*)':
: undefined reference to `QWidget::setMinimumSize(int, int)'
cc.o(.text+0x29e): In function `Clock::Clock[in-charge](QWidget*, char const*)':
: undefined reference to `QWidget::setMaximumSize(int, int)'
cc.o(.text+0x2b7): In function `Clock::Clock[in-charge](QWidget*, char const*)':
: undefined reference to `QLabel::QLabel[in-charge](QWidget*, char const*, unsigned)'
cc.o(.text+0x2cb): In function `Clock::Clock[in-charge](QWidget*, char const*)':
: undefined reference to `QString::QString[in-charge](char const*)'
cc.o(.text+0x2f2): In function `Clock::Clock[in-charge](QWidget*, char const*)':
: undefined reference to `QString::shared_null'
cc.o(.text+0x2fd): In function `Clock::Clock[in-charge](QWidget*, char const*)':
: undefined reference to `QStringData::deleteSelf()'
cc.o(.text+0x333): In function `Clock::Clock[in-charge](QWidget*, char const*)':
: undefined reference to `QString::QString[in-charge](char const*)'
cc.o(.text+0x33d): In function `Clock::Clock[in-charge](QWidget*, char const*)':
: undefined reference to `QPushButton::QPushButton[in-charge](QString const&, QWidget*, char const*)'
cc.o(.text+0x359): In function `Clock::Clock[in-charge](QWidget*, char const*)':
: undefined reference to `QString::shared_null'
cc.o(.text+0x364): In function `Clock::Clock[in-charge](QWidget*, char const*)':
: undefined reference to `QStringData::deleteSelf()'
cc.o(.text+0x375): In function `Clock::Clock[in-charge](QWidget*, char const*)':
: undefined reference to `QString::QString[in-charge](char const*)'
cc.o(.text+0x38a): In function `Clock::Clock[in-charge](QWidget*, char const*)':
: undefined reference to `QFont::QFont[in-charge](QString const&, int, int, bool)'
cc.o(.text+0x3a2): In function `Clock::Clock[in-charge](QWidget*, char const*)':
: undefined reference to `QFont::~QFont [in-charge]()'
cc.o(.text+0x3b7): In function `Clock::Clock[in-charge](QWidget*, char const*)':
: undefined reference to `QString::shared_null'
cc.o(.text+0x3c2): In function `Clock::Clock[in-charge](QWidget*, char const*)':
: undefined reference to `QStringData::deleteSelf()'
cc.o(.text+0x3cf): In function `Clock::Clock[in-charge](QWidget*, char const*)':
: undefined reference to `qApp'
cc.o(.text+0x3de): In function `Clock::Clock[in-charge](QWidget*, char const*)':
: undefined reference to `QObject::connect(QObject const*, char const*, QObject const*, char const*)'
cc.o(.text+0x405): In function `Clock::Clock[in-charge](QWidget*, char const*)':
: undefined reference to `QWidget::~QWidget [not-in-charge]()'
cc.o(.text+0x421): In function `Clock::Clock[in-charge](QWidget*, char const*)':
: undefined reference to `QString::shared_null'
cc.o(.text+0x42c): In function `Clock::Clock[in-charge](QWidget*, char const*)':
: undefined reference to `QStringData::deleteSelf()'
cc.o(.text+0x442): In function `Clock::Clock[in-charge](QWidget*, char const*)':
: undefined reference to `QString::shared_null'
cc.o(.text+0x44d): In function `Clock::Clock[in-charge](QWidget*, char const*)':
: undefined reference to `QStringData::deleteSelf()'
cc.o(.text+0x467): In function `Clock::Clock[in-charge](QWidget*, char const*)':
: undefined reference to `QFont::~QFont [in-charge]()'
cc.o(.text+0x49d): In function `main':
: undefined reference to `QApplication::QApplication[in-charge](int&, char**)'
cc.o(.text+0x4b8): In function `main':
: undefined reference to `QWidget::show()'
cc.o(.text+0x4c0): In function `main':
: undefined reference to `QApplication::exec()'
cc.o(.text+0x4df): In function `main':
: undefined reference to `QWidget::~QWidget [not-in-charge]()'
cc.o(.text+0x4e7): In function `main':
: undefined reference to `QApplication::~QApplication [in-charge]()'
cc.o(.text+0x51b): In function `main':
: undefined reference to `QWidget::~QWidget [not-in-charge]()'
cc.o(.text+0x527): In function `main':
: undefined reference to `QApplication::~QApplication [in-charge]()'
cc.o(.gnu.linkonce.r._ZTV5Clock+0xc): undefined reference to `QWidget::className() const'
cc.o(.gnu.linkonce.r._ZTV5Clock+0x10): undefined reference to `QWidget::qt_cast(char const*)'
cc.o(.gnu.linkonce.r._ZTV5Clock+0x14): undefined reference to `QWidget::qt_invoke(int, QUObject*)'
cc.o(.gnu.linkonce.r._ZTV5Clock+0x18): undefined reference to `QWidget::qt_emit(int, QUObject*)'
cc.o(.gnu.linkonce.r._ZTV5Clock+0x1c): undefined reference to `QWidget::qt_property(int, int, QVariant*)'
cc.o(.gnu.linkonce.r._ZTV5Clock+0x28): undefined reference to `QWidget::event(QEvent*)'
cc.o(.gnu.linkonce.r._ZTV5Clock+0x2c): undefined reference to `QObject::eventFilter(QObject*, QEvent*)'
cc.o(.gnu.linkonce.r._ZTV5Clock+0x30): undefined reference to `QWidget::setName(char const*)'
cc.o(.gnu.linkonce.r._ZTV5Clock+0x34): undefined reference to `QObject::insertChild(QObject*)'
cc.o(.gnu.linkonce.r._ZTV5Clock+0x38): undefined reference to `QObject::removeChild(QObject*)'
cc.o(.gnu.linkonce.r._ZTV5Clock+0x3c): undefined reference to `QObject::setProperty(char const*, QVariant const&)'
cc.o(.gnu.linkonce.r._ZTV5Clock+0x40): undefined reference to `QObject::property(char const*) const'
cc.o(.gnu.linkonce.r._ZTV5Clock+0x44): undefined reference to `QObject::timerEvent(QTimerEvent*)'
cc.o(.gnu.linkonce.r._ZTV5Clock+0x48): undefined reference to `QObject::childEvent(QChildEvent*)'
cc.o(.gnu.linkonce.r._ZTV5Clock+0x4c): undefined reference to `QObject::customEvent(QCustomEvent*)'
cc.o(.gnu.linkonce.r._ZTV5Clock+0x50): undefined reference to `QObject::connectNotify(char const*)'
cc.o(.gnu.linkonce.r._ZTV5Clock+0x54): undefined reference to `QObject::disconnectNotify(char const*)'
cc.o(.gnu.linkonce.r._ZTV5Clock+0x58): undefined reference to `QObject::checkConnectArgs(char const*, QObject const*, char const*)'
cc.o(.gnu.linkonce.r._ZTV5Clock+0x5c): undefined reference to `QWidget::setEnabled(bool)'
cc.o(.gnu.linkonce.r._ZTV5Clock+0x60): undefined reference to `QWidget::setMinimumSize(int, int)'
cc.o(.gnu.linkonce.r._ZTV5Clock+0x64): undefined reference to `QWidget::setMaximumSize(int, int)'
cc.o(.gnu.linkonce.r._ZTV5Clock+0x68): undefined reference to `QWidget::setSizeIncrement(int, int)'
cc.o(.gnu.linkonce.r._ZTV5Clock+0x6c): undefined reference to `QWidget::setBackgroundMode(Qt::BackgroundMode)'
cc.o(.gnu.linkonce.r._ZTV5Clock+0x70): undefined reference to `QWidget::setEraseColor(QColor const&)'
cc.o(.gnu.linkonce.r._ZTV5Clock+0x74): undefined reference to `QWidget::setErasePixmap(QPixmap const&)'
cc.o(.gnu.linkonce.r._ZTV5Clock+0x78): undefined reference to `QWidget::setPalette(QPalette const&)'
cc.o(.gnu.linkonce.r._ZTV5Clock+0x7c): undefined reference to `QWidget::setPaletteBackgroundColor(QColor const&)'
cc.o(.gnu.linkonce.r._ZTV5Clock+0x80): undefined reference to `QWidget::setPaletteBackgroundPixmap(QPixmap const&)'
cc.o(.gnu.linkonce.r._ZTV5Clock+0x84): undefined reference to `QWidget::setFont(QFont const&)'
cc.o(.gnu.linkonce.r._ZTV5Clock+0x88): undefined reference to `QWidget::setCursor(QCursor const&)'
cc.o(.gnu.linkonce.r._ZTV5Clock+0x8c): undefined reference to `QWidget::unsetCursor()'
cc.o(.gnu.linkonce.r._ZTV5Clock+0x90): undefined reference to `QWidget::setMask(QBitmap const&)'
cc.o(.gnu.linkonce.r._ZTV5Clock+0x94): undefined reference to `QWidget::setMask(QRegion const&)'
cc.o(.gnu.linkonce.r._ZTV5Clock+0x98): undefined reference to `QWidget::setBackgroundColor(QColor const&)'
cc.o(.gnu.linkonce.r._ZTV5Clock+0x9c): undefined reference to `QWidget::setBackgroundPixmap(QPixmap const&)'
cc.o(.gnu.linkonce.r._ZTV5Clock+0xa0): undefined reference to `QWidget::setCaption(QString const&)'
cc.o(.gnu.linkonce.r._ZTV5Clock+0xa4): undefined reference to `QWidget::setIcon(QPixmap const&)'
cc.o(.gnu.linkonce.r._ZTV5Clock+0xa8): undefined reference to `QWidget::setIconText(QString const&)'
cc.o(.gnu.linkonce.r._ZTV5Clock+0xac): undefined reference to `QWidget::setMouseTracking(bool)'
cc.o(.gnu.linkonce.r._ZTV5Clock+0xb0): undefined reference to `QWidget::setFocus()'
cc.o(.gnu.linkonce.r._ZTV5Clock+0xb4): undefined reference to `QWidget::setActiveWindow()'
cc.o(.gnu.linkonce.r._ZTV5Clock+0xb8): undefined reference to `QWidget::setFocusPolicy(QWidget::FocusPolicy)'
cc.o(.gnu.linkonce.r._ZTV5Clock+0xbc): undefined reference to `QWidget::setFocusProxy(QWidget*)'
cc.o(.gnu.linkonce.r._ZTV5Clock+0xc0): undefined reference to `QWidget::setUpdatesEnabled(bool)'
cc.o(.gnu.linkonce.r._ZTV5Clock+0xc4): undefined reference to `QWidget::show()'
cc.o(.gnu.linkonce.r._ZTV5Clock+0xc8): undefined reference to `QWidget::hide()'
cc.o(.gnu.linkonce.r._ZTV5Clock+0xcc): undefined reference to `QWidget::showMinimized()'
cc.o(.gnu.linkonce.r._ZTV5Clock+0xd0): undefined reference to `QWidget::showMaximized()'
cc.o(.gnu.linkonce.r._ZTV5Clock+0xd4): undefined reference to `QWidget::showNormal()'
cc.o(.gnu.linkonce.r._ZTV5Clock+0xd8): undefined reference to `QWidget::polish()'
cc.o(.gnu.linkonce.r._ZTV5Clock+0xdc): undefined reference to `QWidget::move(int, int)'
cc.o(.gnu.linkonce.r._ZTV5Clock+0xe0): undefined reference to `QWidget::resize(int, int)'
cc.o(.gnu.linkonce.r._ZTV5Clock+0xe4): undefined reference to `QWidget::setGeometry(int, int, int, int)'
cc.o(.gnu.linkonce.r._ZTV5Clock+0xec): undefined reference to `QWidget::close(bool)'
cc.o(.gnu.linkonce.r._ZTV5Clock+0xf0): undefined reference to `QWidget::sizeHint() const'
cc.o(.gnu.linkonce.r._ZTV5Clock+0xf4): undefined reference to `QWidget::minimumSizeHint() const'
cc.o(.gnu.linkonce.r._ZTV5Clock+0xf8): undefined reference to `QWidget::sizePolicy() const'
cc.o(.gnu.linkonce.r._ZTV5Clock+0xfc): undefined reference to `QWidget::setSizePolicy(QSizePolicy)'
cc.o(.gnu.linkonce.r._ZTV5Clock+0x100): undefined reference to `QWidget::heightForWidth(int) const'
cc.o(.gnu.linkonce.r._ZTV5Clock+0x104): undefined reference to `QWidget::adjustSize()'
cc.o(.gnu.linkonce.r._ZTV5Clock+0x108): undefined reference to `QWidget::reparent(QWidget*, unsigned, QPoint const&, bool)'
cc.o(.gnu.linkonce.r._ZTV5Clock+0x10c): undefined reference to `QWidget::setAcceptDrops(bool)'
cc.o(.gnu.linkonce.r._ZTV5Clock+0x110): undefined reference to `QWidget::setAutoMask(bool)'
cc.o(.gnu.linkonce.r._ZTV5Clock+0x114): undefined reference to `QWidget::setBackgroundOrigin(QWidget::BackgroundOrigin)'
cc.o(.gnu.linkonce.r._ZTV5Clock+0x118): undefined reference to `QWidget::customWhatsThis() const'
cc.o(.gnu.linkonce.r._ZTV5Clock+0x11c): undefined reference to `QWidget::mousePressEvent(QMouseEvent*)'
cc.o(.gnu.linkonce.r._ZTV5Clock+0x120): undefined reference to `QWidget::mouseReleaseEvent(QMouseEvent*)'
cc.o(.gnu.linkonce.r._ZTV5Clock+0x124): undefined reference to `QWidget::mouseDoubleClickEvent(QMouseEvent*)'
cc.o(.gnu.linkonce.r._ZTV5Clock+0x128): undefined reference to `QWidget::mouseMoveEvent(QMouseEvent*)'
cc.o(.gnu.linkonce.r._ZTV5Clock+0x12c): undefined reference to `QWidget::wheelEvent(QWheelEvent*)'
cc.o(.gnu.linkonce.r._ZTV5Clock+0x130): undefined reference to `QWidget::keyPressEvent(QKeyEvent*)'
cc.o(.gnu.linkonce.r._ZTV5Clock+0x134): undefined reference to `QWidget::keyReleaseEvent(QKeyEvent*)'
cc.o(.gnu.linkonce.r._ZTV5Clock+0x138): undefined reference to `QWidget::focusInEvent(QFocusEvent*)'
cc.o(.gnu.linkonce.r._ZTV5Clock+0x13c): undefined reference to `QWidget::focusOutEvent(QFocusEvent*)'
cc.o(.gnu.linkonce.r._ZTV5Clock+0x140): undefined reference to `QWidget::enterEvent(QEvent*)'
cc.o(.gnu.linkonce.r._ZTV5Clock+0x144): undefined reference to `QWidget::leaveEvent(QEvent*)'
cc.o(.gnu.linkonce.r._ZTV5Clock+0x148): undefined reference to `QWidget::paintEvent(QPaintEvent*)'
cc.o(.gnu.linkonce.r._ZTV5Clock+0x14c): undefined reference to `QWidget::moveEvent(QMoveEvent*)'
cc.o(.gnu.linkonce.r._ZTV5Clock+0x150): undefined reference to `QWidget::resizeEvent(QResizeEvent*)'
cc.o(.gnu.linkonce.r._ZTV5Clock+0x154): undefined reference to `QWidget::closeEvent(QCloseEvent*)'
cc.o(.gnu.linkonce.r._ZTV5Clock+0x158): undefined reference to `QWidget::contextMenuEvent(QContextMenuEvent*)'
cc.o(.gnu.linkonce.r._ZTV5Clock+0x15c): undefined reference to `QWidget::imStartEvent(QIMEvent*)'
cc.o(.gnu.linkonce.r._ZTV5Clock+0x160): undefined reference to `QWidget::imComposeEvent(QIMEvent*)'
cc.o(.gnu.linkonce.r._ZTV5Clock+0x164): undefined reference to `QWidget::imEndEvent(QIMEvent*)'
cc.o(.gnu.linkonce.r._ZTV5Clock+0x168): undefined reference to `QWidget::tabletEvent(QTabletEvent*)'
cc.o(.gnu.linkonce.r._ZTV5Clock+0x16c): undefined reference to `QWidget::dragEnterEvent(QDragEnterEvent*)'
cc.o(.gnu.linkonce.r._ZTV5Clock+0x170): undefined reference to `QWidget::dragMoveEvent(QDragMoveEvent*)'
cc.o(.gnu.linkonce.r._ZTV5Clock+0x174): undefined reference to `QWidget::dragLeaveEvent(QDragLeaveEvent*)'
cc.o(.gnu.linkonce.r._ZTV5Clock+0x178): undefined reference to `QWidget::dropEvent(QDropEvent*)'
cc.o(.gnu.linkonce.r._ZTV5Clock+0x17c): undefined reference to `QWidget::showEvent(QShowEvent*)'
cc.o(.gnu.linkonce.r._ZTV5Clock+0x180): undefined reference to `QWidget::hideEvent(QHideEvent*)'
cc.o(.gnu.linkonce.r._ZTV5Clock+0x184): undefined reference to `QWidget::x11Event(_XEvent*)'
cc.o(.gnu.linkonce.r._ZTV5Clock+0x188): undefined reference to `QWidget::updateMask()'
cc.o(.gnu.linkonce.r._ZTV5Clock+0x18c): undefined reference to `QWidget::styleChange(QStyle&)'
cc.o(.gnu.linkonce.r._ZTV5Clock+0x190): undefined reference to `QWidget::enabledChange(bool)'
cc.o(.gnu.linkonce.r._ZTV5Clock+0x194): undefined reference to `QWidget::paletteChange(QPalette const&)'
cc.o(.gnu.linkonce.r._ZTV5Clock+0x198): undefined reference to `QWidget::fontChange(QFont const&)'
cc.o(.gnu.linkonce.r._ZTV5Clock+0x19c): undefined reference to `QWidget::windowActivationChange(bool)'
cc.o(.gnu.linkonce.r._ZTV5Clock+0x1a0): undefined reference to `QWidget::metric(int) const'
cc.o(.gnu.linkonce.r._ZTV5Clock+0x1a4): undefined reference to `QWidget::create(unsigned long, bool, bool)'
cc.o(.gnu.linkonce.r._ZTV5Clock+0x1a8): undefined reference to `QWidget::destroy(bool, bool)'
cc.o(.gnu.linkonce.r._ZTV5Clock+0x1b4): undefined reference to `QWidget::focusNextPrevChild(bool)'
cc.o(.gnu.linkonce.r._ZTV5Clock+0x1b8): undefined reference to `QWidget::setKeyCompression(bool)'
cc.o(.gnu.linkonce.r._ZTV5Clock+0x1bc): undefined reference to `QWidget::setMicroFocusHint(int, int, int, int, bool, QFont*)'
cc.o(.gnu.linkonce.r._ZTV5Clock+0x1d0): undefined reference to `QPaintDevice::setResolution(int)'
cc.o(.gnu.linkonce.r._ZTV5Clock+0x1d4): undefined reference to `QPaintDevice::resolution() const'
cc.o(.gnu.linkonce.r._ZTV5Clock+0x1d8): undefined reference to `QPaintDevice::handle() const'
cc.o(.gnu.linkonce.r._ZTV5Clock+0x1dc): undefined reference to `QPaintDevice::x11RenderHandle() const'
cc.o(.gnu.linkonce.r._ZTV5Clock+0x1e0): undefined reference to `QPaintDevice::setX11Data(QPaintDeviceX11Data const*)'
cc.o(.gnu.linkonce.r._ZTV5Clock+0x1e4): undefined reference to `QPaintDevice::cmd(int, QPainter*, QPDevCmdParam*)'
cc.o(.gnu.linkonce.r._ZTV5Clock+0x1e8): undefined reference to `non-virtual thunk [nv:-40] to QWidget::metric(int) const'
cc.o(.gnu.linkonce.r._ZTV5Clock+0x1ec): undefined reference to `QPaintDevice::fontMet(QFont*, int, char const*, int) const'
cc.o(.gnu.linkonce.r._ZTV5Clock+0x1f0): undefined reference to `QPaintDevice::fontInf(QFont*, int) const'
cc.o(.gnu.linkonce.r._ZTV6QGList+0xc): undefined reference to `QGList::clear()'
cc.o(.gnu.linkonce.r._ZTV6QGList+0x10): undefined reference to `QGList::~QGList [in-charge]()'
cc.o(.gnu.linkonce.r._ZTV6QGList+0x14): undefined reference to `QGList::~QGList [in-charge deleting]()'
cc.o(.gnu.linkonce.r._ZTV6QGList+0x18): undefined reference to `QPtrCollection::newItem(void*)'
cc.o(.gnu.linkonce.r._ZTV6QGList+0x20): undefined reference to `QGList::compareItems(void*, void*)'
cc.o(.gnu.linkonce.r._ZTV6QGList+0x24): undefined reference to `QGList::read(QDataStream&, void*&)'
cc.o(.gnu.linkonce.r._ZTV6QGList+0x28): undefined reference to `QGList::write(QDataStream&, void*) const'
cc.o(.gnu.linkonce.t._ZNK7QWidget10metaObjectEv+0x5): In function `QWidget::metaObject() const':
: undefined reference to `QWidget::staticMetaObject()'
cc.o(.gnu.linkonce.t._ZN5ClockD0Ev+0x19): In function `Clock::~Clock [in-charge deleting]()':
: undefined reference to `QWidget::~QWidget [not-in-charge]()'
cc.o(.gnu.linkonce.t._ZN5ClockD1Ev+0x18): In function `Clock::~Clock [in-charge]()':
: undefined reference to `QWidget::~QWidget [not-in-charge]()'
cc.o(.gnu.linkonce.r._ZTI6QGList+0x8): undefined reference to `typeinfo for QPtrCollection'
cc.o(.gnu.linkonce.r._ZTI5Clock+0x8): undefined reference to `typeinfo for QWidget'
collect2: ld returned 1 exit status
make: *** [qt] 错误 1
root@style:~/Desktop/qt#    






qmake -project
qmake
都正常........

可是make结果如上.......?
为什么
[ 此贴被XChinux在2006-05-15 09:25重新编辑 ]
离线shiroki

只看该作者 1楼 发表于: 2006-05-16
g++ -o qt cc.o   -L/usr/X11R6/lib -lXext -lX11 -lm
这个命令行上怎么没有-lqt阿?
--
shiro is White
ki is tree
http://www.cuteqt.com
论坛 http://www.cuteqt.com/bbs
博客 http://www.cuteqt.com/blog
博客镜像: http://sites.cuteqt.com/cuteqt
Linux/Qt/嵌入式讨论群 http://qun.qq.com/air/5699823
快速回复
限100 字节
 
上一个 下一个