zoukankan      html  css  js  c++  java
  • linux tips

    1 建立软链接(路径输入都要绝对路径)

    sudo ln -s /opt/Qt5.9.5/Tools/QtCreator/bin/qtcreator /usr/bin/qtcreator

    2 qt常见bug Qt:During startup program exited with code 0xc0000135

    因为用到了外部的dll库,lib库是添加到了.pro文件中的,所以编译时不会出错,运行的时候就报这个错误

    解决办法:将lib库对应的dll库拷贝至运行目录下(如:debug),则解决问题。

    3 ldd是list, dynamic, dependencies的缩写, 意思是, 列出动态库依赖关系

    4 安装ros依赖 
    rosdep install  --rosdistro=kinetic --from-paths -i -r -y src

    5 远程连接拷贝

    从本地复制到远程 
    scp local_file remote_username@remote_ip:remote_folder 或者 
    scp local_file remote_username@remote_ip:remote_file

    从远程复制到本地 
    scp  remote_username@remote_ip:remote_file  local_folder 或者 
    scp  remote_username@remote_ip:remote_file  local_file

    6 Qt无法输入中文

    sudo apt install fcitx-frontend-qt5
    
    sudo cp /usr/lib/x86_64-linux-gnu/qt5/plugins/platforminputcontexts/libfcitxplatforminputcontextplugin.so /opt/Qt5.7.0/5.7/gcc_64/plugins/platforminputcontexts/ 
    
    sudo cp /usr/lib/x86_64-linux-gnu/qt5/plugins/platforminputcontexts/libfcitxplatforminputcontextplugin.so /opt/Qt5.7.0/Tools/QtCreator/lib/Qt/plugins/platforminputcontexts/





  • 相关阅读:
    使用Gradle构建项目
    centos7配置IP地址
    安装docker报错问题
    使用Centos7 安装docker的步骤
    CentOS7安装步骤
    Mybatis使用 爬坑记录
    火锅蘸料自制
    mysql 几种索引的复习(温故而知新)
    java 内存泄漏 与 内存溢出
    内存泄漏排查
  • 原文地址:https://www.cnblogs.com/zx-hit/p/13456603.html
Copyright © 2011-2022 走看看