• 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/





  • 相关阅读:
    组装query,query汇总,query字段
    POJ 1276, Cash Machine
    POJ 1129, Channel Allocation
    POJ 2531, Network Saboteur
    POJ 1837, Balance
    POJ 3278, Catch That Cow
    POJ 2676, Sudoku
    POJ 3126, Prime Path
    POJ 3414, Pots
    POJ 1426, Find The Multiple
  • 原文地址:https://www.cnblogs.com/zx-hit/p/13456603.html
Copyright © 2020-2023  润新知