fc6下找不到Qt assistant的问题的解决方法

fc6默认安装了Kdevelop3.3.?和qt3.3.6,但是qt的assistant并没有安装,所以在敲入assistant之后并没有出来预想中的qt assistant,而是蹦出来一个错误

说 /usr/share/doc/qt-devel-3.3.6/html/index.html 找不到

因为assistant命令打开的是$QTDIR/bin下的assistant,assistant链接到
/usr/share/doc/qt-devel-3.3.6/html/index.html,而默认的
/usr/share/doc/qt-devel-3.3.6/html/index.html
却并没有安装,所以肯定找不到。

建议解决办法:安装qt4并使用qt4的assistant
步骤:
1、下载安装包,比如我用的是 qt-x11-opensource-src-4.2.3.tar.gz
2、解压,输入命令  
       tar -zxvf qt-x11-opensource-src-4.2.3.tar.gz
       会在这个目录下生成一个名为qt-x11-opensource-src-4.2.3的目录
3、配置安装
        进入qt-x11-opensource-src-4.2.3目录,敲入命令./configure
        这是默认配置,已经包含了qt3中没有的QThread,但是gif和sql默认还是不支持,所以如果想要想要详细的配置选项,可以敲入./configure -help 查看
       ./configure这个过程大概需要几分钟
4、make
       键入命令gmake
       这个过程大概需要1个小时或者更久(等吧,呵呵)
5、安装
       键入命令gmake install
       qt4将会被默认安装到/usr/local/Trolltech/Qt-4.2.3目录下(这个过程大概需要10几分钟)
6、设置环境变量,在/etc/profile或者相应用户的.base_profile文件中加入
        export PATH=/usr/local/Trolltech/Qt-4.2.3/bin:$PATH
7、键入命令:source /etc/profile或者在用户的home目录下source .base_profile(取决于你上一步的环境变量的设置)
8、键入命令:assistant
       ok!qt4的assistant出来了!
ros2 launch moveit_setup_assistant setup_assistant.launch.py [INFO] [launch]: All log files can be found below /home/ros2/.ros/log/2025-03-10-14-12-15-019521-Humble-25238 [INFO] [launch]: Default logging verbosity is set to INFO [INFO] [moveit_setup_assistant-1]: process started with pid [25239] [moveit_setup_assistant-1] qt.qpa.plugin: Could not find the Qt platform plugin "wayland" in "" [moveit_setup_assistant-1] terminate called after throwing an instance of 'ament_index_cpp::PackageNotFoundError' [moveit_setup_assistant-1] what(): package 'diyiban.SLDASM' not found, searching: [/opt/ros/humble] [moveit_setup_assistant-1] Stack trace (most recent call last): [moveit_setup_assistant-1] #31 Object "/usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5.15.3", at 0x70f32a572e46, in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool, bool) [moveit_setup_assistant-1] #30 Object "/usr/lib/x86_64-linux-gnu/libQt5Core.so.5.15.3", at 0x70f3298b9e39, in QCoreApplication::notifyInternal2(QObject*, QEvent*) [moveit_setup_assistant-1] #29 Object "/usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5.15.3", at 0x70f32a574363, in QApplication::notify(QObject*, QEvent*) [moveit_setup_assistant-1] #28 Object "/usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5.15.3", at 0x70f32a56c712, in QApplicationPrivate::notify_helper(QObject*, QEvent*) [moveit_setup_assistant-1] #27 Object "/usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5.15.3", at 0x70f32a5af4ed, in QWidget::event(QEvent*) [moveit_setup_assistant-1] #26 Object "/usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5.15.3", at 0x70f32a6641e6, in QAbstractButton::mouseReleaseEvent(QMouseEvent*) [moveit_setup_assistant-1] #25 Object "/usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5.15.3", at 0x70f32a663fc3, in [moveit_setup_assistant-1] #24 Object "/usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5.15.3", at 0x70f32a66239d, in [moveit_setup_assistant-1] #23 Object "/usr/lib/x86_64-linux-g
03-11
wang@wang-ThinkBook-14-G6-IRL:~$ ros2 launch moveit_setup_assistant setup_assistant.launch.py [INFO] [launch]: All log files can be found below /home/wang/.ros/log/2025-09-18-17-10-09-521671-wang-ThinkBook-14-G6-IRL-11025 [INFO] [launch]: Default logging verbosity is set to INFO [INFO] [moveit_setup_assistant-1]: process started with pid [11031] [moveit_setup_assistant-1] Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway. [moveit_setup_assistant-1] [INFO] [1758186627.616977677] [moveit_setup_assistant.urdf]: Loaded dummy-ros2 robot model. [moveit_setup_assistant-1] [INFO] [1758186627.617153471] [moveit_robot_model.robot_model]: Loading robot model 'dummy-ros2'... [moveit_setup_assistant-1] [INFO] [1758186627.617166329] [moveit_robot_model.robot_model]: No root/virtual joint specified in SRDF. Assuming fixed joint [moveit_setup_assistant-1] [INFO] [1758186679.799778469] [moveit_setup_assistant.urdf]: Loaded dummy-ros2 robot model. [moveit_setup_assistant-1] [INFO] [1758186679.799821403] [moveit_robot_model.robot_model]: Loading robot model 'dummy-ros2'... [moveit_setup_assistant-1] [INFO] [1758186679.799831403] [moveit_robot_model.robot_model]: No root/virtual joint specified in SRDF. Assuming fixed joint [moveit_setup_assistant-1] [INFO] [1758186679.937522306] [moveit_rdf_loader.rdf_loader]: Loaded robot model in 0.000642192 seconds [moveit_setup_assistant-1] [INFO] [1758186679.937538432] [moveit_robot_model.robot_model]: Loading robot model 'dummy-ros2'... [moveit_setup_assistant-1] [INFO] [1758186679.937541379] [moveit_robot_model.robot_model]: No root/virtual joint specified in SRDF. Assuming fixed joint [moveit_setup_assistant-1] [rviz_common:error] The link link6_1_1 is has unrealistic inertia, so the equivalent inertia box will not be shown. [moveit_setup_assistant-1] , at ./src/rviz_default_plugins/robot/robot_link.cpp:890 [moveit_setup_assistant-1] [INFO] [1758186680.062274460] [moveit_rdf_loader.rdf_loader]: Loaded robot model in 0.00060745 seconds [moveit_setup_assistant-1] [INFO] [1758186680.062292123] [moveit_robot_model.robot_model]: Loading robot model 'dummy-ros2'... [moveit_setup_assistant-1] [INFO] [1758186680.062295760] [moveit_robot_model.robot_model]: No root/virtual joint specified in SRDF. Assuming fixed joint [moveit_setup_assistant-1] [rviz_common:error] The link link6_1_1 is has unrealistic inertia, so the equivalent inertia box will not be shown. [moveit_setup_assistant-1] , at ./src/rviz_default_plugins/robot/robot_link.cpp:890 [moveit_setup_assistant-1] Stack trace (most recent call last): [moveit_setup_assistant-1] #31 Object "/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0.7200.4", at 0x7159aea1d2b7, in [moveit_setup_assistant-1] #30 Object "/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0.7200.4", at 0x7159ae9c7d3a, in g_main_context_dispatch [moveit_setup_assistant-1] #29 Object "/usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5.15.3", at 0x7159a420cd6d, in [moveit_setup_assistant-1] #28 Object "/usr/lib/x86_64-linux-gnu/libQt5Gui.so.5.15.3", at 0x7159b0516a2b, in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) [moveit_setup_assistant-1] #27 Object "/usr/lib/x86_64-linux-gnu/libQt5Gui.so.5.15.3", at 0x7159b0541306, in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) [moveit_setup_assistant-1] #26 Object "/usr/lib/x86_64-linux-gnu/libQt5Core.so.5.15.3", at 0x7159b00b9e39, in QCoreApplication::notifyInternal2(QObject*, QEvent*) [moveit_setup_assistant-1] #25 Object "/usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5.15.3", at 0x7159b0d6c712, in QApplicationPrivate::notify_helper(QObject*, QEvent*) [moveit_setup_assistant-1] #24 Object "/usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5.15.3", at 0x7159b0dcbfd4, in [moveit_setup_assistant-1] #23 Object "/usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5.15.3", at 0x7159b0dc8d3f, in [moveit_setup_assistant-1] #22 Object "/usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5.15.3", at 0x7159b0d72e46, in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool, bool) [moveit_setup_assistant-1] #21 Object "/usr/lib/x86_64-linux-gnu/libQt5Core.so.5.15.3", at 0x7159b00b9e39, in QCoreApplication::notifyInternal2(QObject*, QEvent*) [moveit_setup_assistant-1] #20 Object "/usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5.15.3", at 0x7159b0d74363, in QApplication::notify(QObject*, QEvent*) [moveit_setup_assistant-1] #19 Object "/usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5.15.3", at 0x7159b0d6c712, in QApplicationPrivate::notify_helper(QObject*, QEvent*) [moveit_setup_assistant-1] #18 Object "/usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5.15.3", at 0x7159b0daf4ed, in QWidget::event(QEvent*) [moveit_setup_assistant-1] #17 Object "/usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5.15.3", at 0x7159b0e641e6, in QAbstractButton::mouseReleaseEvent(QMouseEvent*) [moveit_setup_assistant-1] #16 Object "/usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5.15.3", at 0x7159b0e63fc3, in [moveit_setup_assistant-1] #15 Object "/usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5.15.3", at 0x7159b0e6239d, in [moveit_setup_assistant-1] #14 Object "/usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5.15.3", at 0x7159b0e62115, in QAbstractButton::clicked(bool) [moveit_setup_assistant-1] #13 Object "/usr/lib/x86_64-linux-gnu/libQt5Core.so.5.15.3", at 0x7159b00f17c7, in [moveit_setup_assistant-1] #12 Object "/opt/ros/humble/lib/libmoveit_setup_core_plugins.so", at 0x71598e485b89, in moveit_setup::core::StartScreenWidget::loadFilesClick() [moveit_setup_assistant-1] #11 Object "/opt/ros/humble/lib/libmoveit_setup_core_plugins.so", at 0x71598e4858c4, in moveit_setup::core::StartScreenWidget::loadNewFiles() [moveit_setup_assistant-1] #10 Object "/usr/lib/x86_64-linux-gnu/libQt5Core.so.5.15.3", at 0x7159b0113111, in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) [moveit_setup_assistant-1] #9 Object "/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0.7200.4", at 0x7159ae9c53e2, in g_main_context_iteration [moveit_setup_assistant-1] #8 Object "/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0.7200.4", at 0x7159aea1d2b7, in [moveit_setup_assistant-1] #7 Object "/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0.7200.4", at 0x7159ae9c7d3a, in g_main_context_dispatch [moveit_setup_assistant-1] #6 Object "/usr/lib/x86_64-linux-gnu/libQt5Core.so.5.15.3", at 0x7159b0113a66, in [moveit_setup_assistant-1] #5 Object "/usr/lib/x86_64-linux-gnu/libQt5Core.so.5.15.3", at 0x7159b00bcf26, in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) [moveit_setup_assistant-1] #4 Object "/usr/lib/x86_64-linux-gnu/libQt5Core.so.5.15.3", at 0x7159b00b9e39, in QCoreApplication::notifyInternal2(QObject*, QEvent*) [moveit_setup_assistant-1] #3 Object "/usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5.15.3", at 0x7159b0d6c712, in QApplicationPrivate::notify_helper(QObject*, QEvent*) [moveit_setup_assistant-1] #2 Object "/usr/lib/x86_64-linux-gnu/libQt5Core.so.5.15.3", at 0x7159b00e741d, in QObject::event(QEvent*) [moveit_setup_assistant-1] #1 Object "/opt/ros/humble/lib/librviz_common.so", at 0x7159b16ab8d2, in rviz_common::properties::PropertyTreeModel::propertyHiddenChanged(rviz_common::properties::Property const*) [moveit_setup_assistant-1] #0 Object "/usr/lib/x86_64-linux-gnu/libQt5Core.so.5.15.3", at 0x7159b00f128e, in [moveit_setup_assistant-1] 段错误 (地址没有映射到对象 [0x1588]) [ERROR] [moveit_setup_assistant-1]: process has died [pid 11031, exit code -11, cmd '/opt/ros/humble/lib/moveit_setup_assistant/moveit_setup_assistant --ros-args']. wang@wang-ThinkBook-14-G6-IRL:~$
最新发布
09-19
修改完之后还是出现 ros2 launch moveit_setup_assistant setup_assistant.launch.py [INFO] [launch]: All log files can be found below /home/yebaibiyesheji/.ros/log/2025-04-02-10-18-01-306093-yebaibiyesheji-VirtualBox-33229 [INFO] [launch]: Default logging verbosity is set to INFO [INFO] [moveit_setup_assistant-1]: process started with pid [33230] [moveit_setup_assistant-1] Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway. [moveit_setup_assistant-1] terminate called after throwing an instance of 'ament_index_cpp::PackageNotFoundError' [moveit_setup_assistant-1] what(): package 'mybot_description' not found, searching: [/opt/ros/humble] [moveit_setup_assistant-1] Stack trace (most recent call last): [moveit_setup_assistant-1] #31 Object "/usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5.15.3", at 0x766a75f72e46, in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool, bool) [moveit_setup_assistant-1] #30 Object "/usr/lib/x86_64-linux-gnu/libQt5Core.so.5.15.3", at 0x766a752b9e39, in QCoreApplication::notifyInternal2(QObject*, QEvent*) [moveit_setup_assistant-1] #29 Object "/usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5.15.3", at 0x766a75f74363, in QApplication::notify(QObject*, QEvent*) [moveit_setup_assistant-1] #28 Object "/usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5.15.3", at 0x766a75f6c712, in QApplicationPrivate::notify_helper(QObject*, QEvent*) [moveit_setup_assistant-1] #27 Object "/usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5.15.3", at 0x766a75faf4ed, in QWidget::event(QEvent*) [moveit_setup_assistant-1] #26 Object "/usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5.15.3", at 0x766a760641e6, in QAbstractButton::mouseReleaseEvent(QMouseEvent*) [moveit_setup_assistant-1] #25 Object "/usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5.15.3", at 0x766a76063fc3, in [moveit_setup_assistant-1] #24 Object "/usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5.15.3", at 0x76
04-03
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值