摘要: Ubuntu版本:测试用12.04,尽可能最新推荐14.04.板级支持包:fsl-release-bsp.tar.gz /***************************************ReadMe*************************************************/Freescale's Community Yocto BSP ============... 阅读全文
posted @ 2015-05-25 14:32 不二侬 阅读(2150) 评论(0) 推荐(0) 编辑
摘要: 例程一:hello world! 支持HTML语言解析。#include #include int main(int argc, char *argv[]) { QApplication app(argc,argv); QLabel *label=new QLabel("hello,world "); label->show(); return app.... 阅读全文
posted @ 2015-05-25 14:00 不二侬 阅读(170) 评论(0) 推荐(0) 编辑
摘要: 1、实现效果图: 2、代码清单:#include #include #include #include #include int main(int argc, char *argv[]) { QApplication app(argc, argv); QWidget *window = new QWidget; window->setWindowTitle("Enter y... 阅读全文
posted @ 2015-05-25 13:51 不二侬 阅读(586) 评论(0) 推荐(0) 编辑
摘要: 花生壳的申请不细说,现在都很傻瓜了,只要注册申请以后就有一个默认解析的免费域名。我们就用这个域名实现。主要讲下路由器的设置和远程管理的设置。我们申请好花生壳,在为本机做了解析之后,很多朋友得到的结果是——还是不能访问本机ok,这里讲一哈。只使用猫的朋友可以略过。首先看一下自己路由器的状态和设置,我的显示本机ip地址是121.21.184.129ok,我们再看花生壳。ok,我们对比发现花生壳探测到的... 阅读全文
posted @ 2015-05-23 16:30 不二侬 阅读(10732) 评论(0) 推荐(0) 编辑
摘要: THIS PAGE COPY FROM WEBSIT. I have the same question , this is my Qt confg. And i guess this is permission problem. 1 I have downloaded Qt Mobility Open source project. I had a set of demo apps. ... 阅读全文
posted @ 2015-05-22 10:45 不二侬 阅读(5167) 评论(0) 推荐(0) 编辑
摘要: 1、Linux更改root密码: linuxidc@ubuntu:~$ sudo passwd[sudo] password for linuxidc:输入新的 UNIX 密码:重新输入新的 UNIX 密码:passwd:已成功更新密码linuxidc@ubuntu:~$ 注意:这个新密码就是root的密码,可以与当前用户的密码不同。 在终端中输入 su root,然后输入root的密码,验证... 阅读全文
posted @ 2015-05-22 10:25 不二侬 阅读(112) 评论(0) 推荐(0) 编辑
摘要: Qt4.8.5 为了支持开发板中的触摸屏,在编译 Qt 之前,要先编译 tslib 库。 root@yechuang:~# sudo gedit /etc/bash.bashrc IMX28环境变量做如下设置:export ARCH=arm export CROSS_COMPILE=/opt/freescale/usr/local/gcc-4.4.4-glibc-2.11.1-multili... 阅读全文
posted @ 2015-05-20 23:40 不二侬 阅读(1478) 评论(0) 推荐(0) 编辑
摘要: 在Unix和Linux的各种操作系统下,每个文件(文件夹也被看作是文件)都按读、写、运行设定权限。例如我用ls -l命令列文件表时,得到如下输出:-rw-r--r-- 1 apple users 2254 2006-05-20 13:47 tt.htm从第二个字符起rw-是说用户apple有读、写权,没有运行权,接着的r--表示用户组users只有读权限,没有运行权,最后的r--指其他人 (o... 阅读全文
posted @ 2015-05-20 18:24 不二侬 阅读(536) 评论(0) 推荐(0) 编辑
摘要: 1. ~/.vimrc "去掉讨厌的有关vi一致性模式,避免以前版本的一些bug和局限 set nocompatible set autoread " 文件修改之后自动载入 set completeopt=longest,menu " 自动完成 set history=1000 "记录历史的行数 set backspace=2 " 设置... 阅读全文
posted @ 2015-05-18 15:10 不二侬 阅读(387) 评论(0) 推荐(0) 编辑
摘要: 这里我们使用的是 Qt Ceator 2.8.1。1.将 qt-creator-linux-x86-opensource-2.8.1.run 拷贝至 unbuntu 系统中 Qt 文件夹中;2. $ sudo chmod +x qt-creator-linux-x86-opensource-2.8.1.run 添加可执行权限;3. 在 ubuntu 系统中的终端中执行$ ./qt-creator-... 阅读全文
posted @ 2015-05-18 14:59 不二侬 阅读(477) 评论(0) 推荐(0) 编辑