我按照手册照做的,一切都ok,进行到“PC上安装Qt-Embedded”这一步的时候有了问题:
-----------------------------手册上是这样讲的:(手册位置:
http://wiki.friendlyarm.com/wiki/index.php/Ubuntu_Core_with_Qt-Embedded/zh#Ubuntu_Core_.E7.9A.84.E4.BD.BF.E7.94.A8)
在电脑上,cd到根目录进行解压:
cd /
tar xvzf ~/target-ate-4.8.6-to-hostpc.tgz
解压完成后,执行 qmake 验证一下安装:
/usr/local/Trolltech/QtEmbedded-4.8.6-arm/bin/qmake -v
-----------------------------
我下载的是NanoPi-M3的资料包,里面有个压缩文件是:target-qte-4.8.6-to-hostpc.tgz
手册可能命名敲错了,我就将这个包放到/root/下了,解压之后
/usr/local/Trolltech/QtEmbedded-4.8.6-arm/bin/qmake -v
提示:
bash: /usr/local/Trolltech/QtEmbedded-4.8.6-arm/bin/qmake: cannot execute binary file
进到: /usr/local/Trolltech/QtEmbedded-4.8.6-arm/bin/目录下qmake -v
提示:
root@ubuntu:/usr/local/Trolltech/QtEmbedded-4.8.6-arm/bin# qmake -vThe program 'qmake' can be found in the following packages:
* qt3-dev-tools
* qt4-qmake
Try: apt-get install <selected package>
root@ubuntu:/usr/local/Trolltech/QtEmbedded-4.8.6-arm/bin#
貌似没有成功,求大神指导,本人还在懵逼当中....