首页| 论坛| 消息

标题:TQ2440开发板first例程出错问题份 附件是Linux下first的程序
作者:0013180
日期:2009-11-03 07:13
内容:

# make
Makefile:121: warning: overriding commands for target `moc_first.cpp'
Makefile:118: warning: ignoring old commands for target `moc_first.cpp'
g++-o first first.o main.o first.o moc_first.o moc_first.o-L/opt/EmbedSky/Qte/x86-qtopia-2.2.0/qtopia/lib -L/opt/EmbedSky/Qte/x86-qtopia-2.2.0/qt2/lib -lqpe -lqtopia -lqte
first.o(.text+0x0): In function `first::first(QWidget*, char const*, unsigned)':
: multiple definition of `first::first(QWidget*, char const*, unsigned)'
first.o(.text+0x0): first defined here
first.o(.text+0x3c0): In function `first::first(QWidget*, char const*, unsigned)':
: multiple definition of `first::first(QWidget*, char const*, unsigned)'
first.o(.text+0x3c0): first defined here
first.o(.text+0x780): In function `first::~first ()':
: multiple definition of `first::~first ()'
first.o(.text+0x780): first defined here
first.o(.text+0x7a4): In function `first::~first ()':
: multiple definition of `first::~first ()'
first.o(.text+0x7a4): first defined here
first.o(.text+0x7c8): In function `first::~first ()':
: multiple definition of `first::~first ()'
first.o(.text+0x7c8): first defined here
first.o(.text+0x7f4): In function `first::event(QEvent*)':
: multiple definition of `first::event(QEvent*)'
first.o(.text+0x7f4): first defined here
first.o(.text+0x870): In function `first::user_button()':
: multiple definition of `first::user_button()'
first.o(.text+0x870): first defined here
moc_first.o(.text+0x0): In function `first::className() const':
: multiple definition of `first::className() const'
moc_first.o(.text+0x0): first defined here
moc_first.o(.data+0x0): multiple definition of `first::metaObj'
moc_first.o(.data+0x0): first defined here
moc_first.o(.text+0xc): In function `first:: ..


#1 [rqzrqh 11-03 12:15]
用Qt Creator打开ui文件失败
#2 [0013180 11-03 12:36]
用designer 打开
#3 [dusy1986 11-10 21:52]
你把beep.pro文件里的beep.ui去掉再试一次。。估计是Makefile有重复的信息。。

回复 发表
主题 版块