|
http://www.qiliang.net/qt/tutorial1-01.html
按照这里的文章... 链接时不能通过...
是不是库没有装好啊.. 我的系统是debian sid.
[code:1]dpkg -l|grep qt
ii libavahi-qt3-1 0.6.12-1 Avahi QT3 integration library
ii libavahi-qt3-dev 0.6.12-1 Development headers for the Avahi QT3 integr
ii libdbus-qt-1-1c2 0.62-4 simple interprocess messaging system (Qt-bas
ii libqt3-headers 3.3.6-3 Qt3 header files
ii libqt3-mt 3.3.6-3 Qt GUI Library (Threaded runtime version), V
ii libqt3-mt-dev 3.3.6-3 Qt development files (Threaded)
ii libqt4-core 4.1.4-1 Qt 4 core non-GUI functionality runtime libr
ii libqt4-dev 4.1.4-1 Qt 4 development files
ii libqt4-gui 4.1.4-1 Qt 4 core GUI functionality runtime library
ii libqt4-qt3support 4.1.4-1 Qt 3 compatibility library for Qt 4
ii libqt4-sql 4.1.4-1 Qt 4 SQL database module
ii libqthreads-12 1.6.8-4 QuickThreads library for Guile
ii qt3-dev-tools 3.3.6-3 Qt3 development tools
[/code:1]
[code:1]magic@sid:~/myworks/cc/qt$ make
g++ -o qt 01.o -L/usr/X11R6/lib -lXext -lX11 -lm -lpthread
01.o�����main���
01.cpp:(.text+0x34)���QApplication::QApplication(int&, char**)�������
01.cpp:(.text+0x45)���QString::QString(char const*)�������
01.cpp:(.text+0x63)���QPushButton::QPushButton(QString const&, QWidget*, char const*)�������
01.cpp:(.text+0x75)���QString::shared_null�������
01.cpp:(.text+0x7f)���QStringData::deleteSelf()�������
01.cpp:(.text+0x99)���QPushButton::resize(int, int)�������
01.cpp:(.text+0xa5)���QApplication::setMainWidget(QWidget*)�������
01.cpp:(.text+0xad)���QWidget::show()�������
01.cpp:(.text+0xb5)���QApplication::exec()�������
01.cpp:(.text+0xbf)���QPushButton::~QPushButton()�������
01.cpp:(.text+0xc7)���QApplication::~QApplication()�������
01.cpp:(.text+0xf0)���QString::shared_null�������
01.cpp:(.text+0xfa)���QStringData::deleteSelf()�������
01.cpp:(.text+0x102)���QApplication::~QApplication()�������
01.cpp:(.text+0x118)���QPushButton::~QPushButton()�������
01.o:(.rodata._ZTV6QGList[vtable for QGList]+0xc)���QGList::clear()�������
01.o:(.rodata._ZTV6QGList[vtable for QGList]+0x10)���QGList::~QGList()�������
01.o:(.rodata._ZTV6QGList[vtable for QGList]+0x14)���QGList::~QGList()�������
01.o:(.rodata._ZTV6QGList[vtable for QGList]+0x18)���QPtrCollection::newItem(void*)�������
01.o:(.rodata._ZTV6QGList[vtable for QGList]+0x20)���QGList::compareItems(void*, void*)�������
01.o:(.rodata._ZTV6QGList[vtable for QGList]+0x24)���QGList::read(QDataStream&, void*&)�������
01.o:(.rodata._ZTV6QGList[vtable for QGList]+0x28)���QGList::write(QDataStream&, void*) const�������
01.o:(.rodata._ZTI6QGList[typeinfo for QGList]+0x8)���typeinfo for QPtrCollection�������
[/code:1]
初次接触qt就卡在这里了... |
|