嵌入式qt

  1. 问题:开发板#./test
    -sh: ./test: No such file or directory
    缘由:内核,文件系统用的交叉编译工具链和qt库的不匹配
  2. 问题:没有合适的编译器
    方法:重启虚拟机
  3. (1)TRDqt程序交叉编译,结果:
    ssh

    (2)helloworld qt程序+nfs文件系统,结果:
    libdbus-1
    工具

    (3)helloworld qt程序+sd文件系统,结果:
    Could not open display
    sh: line 1: 2362 Aborted DISPLAY=':0.0' /home/root/helloworld
    Application finished with exit code 134.code

    以后sunny@sunny-VirtualBox:/nfsroot/lib$ ssh -X root@192.168.22.108
    root@192.168.22.108's password:
    xauth: file /home/root/.Xauthority does not exist
    root@plnx_aarch64:~# ./helloworld
    Could not initialize egl display
    Abortedblog

xcb是图形库,eglfs很麻烦开发