linux下使用kdevelop新建qt项目默认无法运行

恬淡虚无,抱朴守一 2010-08-26 06:37:03

使用kdevelop新建C++/qt based project,路劲/usr/qtprojects ,什么都没有修改,编译运行,错误在最下面
checking for mcopidl... /usr/bin/mcopidl
checking for artsc-config... /usr/bin/artsc-config
checking for kde-config... /usr/bin/kde-config
checking for meinproc... /usr/bin/meinproc
checking for kconfig_compiler... /usr/bin/kconfig_compiler
checking for dcopidlng... /usr/bin/dcopidlng
checking for xmllint... /usr/bin/xmllint
checking whether byte ordering is bigendian... no
checking for MAXPATHLEN... 4096
checking if doc should be compiled... yes
checking if po should be compiled... yes
checking if src should be compiled... yes
configure: creating ./config.status
fast creating Makefile
fast creating doc/Makefile
fast creating doc/en/Makefile
fast creating po/Makefile
fast creating src/Makefile
config.pl: fast created 5 file(s).
config.status: creating config.h
config.status: executing depfiles commands
Good - your configure finished. Start make now
gmake all-recursive
Making all in doc
Making all in .
gmake[3]: Nothing to be done for `all-am'.
Making all in en
/usr/bin/meinproc --check --cache index.cache.bz2 /usr/qtprojects/testtt/doc/en/index.docbook
Making all in po
gmake[2]: Nothing to be done for `all'.
Making all in src
generating testttwidgetbase.h (uic)
compiling main.cpp (g++)
generating testtt.moc (moc)
compiling testtt.cpp (g++)
generating testttwidget.moc (moc)
compiling testttwidget.cpp (g++)
generating testttwidgetbase.moc (moc)
rm -f testttwidgetbase.cpp
echo '#include <kdialog.h>' > testttwidgetbase.cpp
echo '#include <klocale.h>' >> testttwidgetbase.cpp
/usr/lib/qt-3.3/bin/uic -L /usr/lib/kde3/plugins/designer -nounload -tr tr2i18n -i testttwidgetbase.h /usr/qtprojects/testtt/src/testttwidgetbase.ui > testttwidgetbase.cpp.temp ; ret=$?; /usr/bin/perl -pe "s,tr2i18n( \"\" ),QString::null,g" testttwidgetbase.cpp.temp | /usr/bin/perl -pe "s,tr2i18n( \"\"\, \"\" ),QString::null,g" | /usr/bin/perl -pe "s,image([0-9][0-9]*)_data,img\$1_testttwidgetbase,g" >> testttwidgetbase.cpp ; rm -f testttwidgetbase.cpp.temp ; if test "$ret" = 0; then echo '#include "testttwidgetbase.moc"' >> testttwidgetbase.cpp; else rm -f testttwidgetbase.cpp ; exit $ret ; fi
[b]compiling testttwidgetbase.cpp (g++)
linking testtt (libtool)
/usr/bin/ld: cannot find -lutempter
collect2: ld returned 1 exit status
gmake[2]: *** [testtt] Error 1
gmake[2]: Target `all' not remade because of errors.
gmake[2]: Nothing to be done for `all-am'.
gmake[1]: *** [all-recursive] Error 1
gmake: *** [all] Error 2
*** Exited with status: 2 ***
[/b]
...全文
139 回复 打赏 收藏 转发到动态 举报
写回复
用AI写文章
回复
切换为时间正序
请发表友善的回复…
发表回复

23,121

社区成员

发帖
与我相关
我的任务
社区描述
Linux/Unix社区 应用程序开发区
社区管理员
  • 应用程序开发区社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧