Linux/maemo
yaoguangle
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
命令行模式下maemo程序的编译与执行步骤
1.进入scratchbox命令行下执行命令:scratchbox 2.建立工作文件夹,在文件夹下编写程序test.c 3.编译gcc -Wall -g test.c ·pkg-config --cflags --libs gtk+-2.0· -o test如若使用hildon库,还需要加上hildon-1此时运行./test,会提示GLIB WARNING ** Gtk原创 2009-04-15 14:28:00 · 565 阅读 · 0 评论 -
maemo 5(Fremantle)环境下安装qt库
1.进入scratchbox在终端中执行命令:scratchbox 2.添加源/etc/apt/sources.list中源为:deb http://repository.maemo.org/ fremantle/sdk free non-freedeb-src http://repository.maemo.org/ fremantle/sdk freedeb http://re原创 2009-12-16 14:52:00 · 473 阅读 · 0 评论 -
QtCreator在连接过程中找不到库的问题
问题:QtCreator工程的buid中,会出现错误:collect2:ld returned 1 exit status。在Compile Output中提示:/usr/bin/ld:can not find -lfreetype或/usr/bin/ld:can not find -lSM或/usr/bin/ld:can not find -lICE等等。 原因:QtCreato原创 2009-12-15 17:16:00 · 1466 阅读 · 0 评论 -
Qt程序在maemo5平台下的编译
前提条件:scratchbox下的X386需要安装Qt 1.在linux下借助eclipse或QtCreator创建,编译,调试qt程序2.scratchbox切换至X386.3.将第一步中创建好的工程文件夹拷贝到/scratchbox下4.进入工程文件夹,在scratchbox环境下重新编译工程执行qmake和make。5.打开X11 sever。在终端下,执行命令X原创 2009-12-17 17:47:00 · 406 阅读 · 0 评论 -
Ubuntu下eclipse支持中文的实现方法
Ubuntu是英文版本的。eclipse安装时会也默认人英文版本。 1.Ubuntu安装中文包System->Administration->Language Support.此时若没有Language Support,会先安装Language Support。然后在Supported Languages中选中Chinese为Support。等待安装完毕后,在Defau原创 2009-06-17 11:11:00 · 4398 阅读 · 1 评论 -
ubuntu下mplayer的安装与使用
1.安装mplayersudo apt-get install mplayer 2.使用mplayer在命令行下,播放文件filename:mplayer filename播放过程中:p:暂停9:减小音量0:增大音量若播放视频文件时,只有声音,没有视频。修改/etc/mplayer/mplayer.conf。将vo=xv修改为vo=x11.原创 2009-06-17 16:01:00 · 545 阅读 · 0 评论 -
ubuntu下vim语法高亮,显示行号,自动缩进的设置
1.首先升级vim sudo apt-get install vim 2.语法高亮方法1:sudo vim ~/.vimrc将文件内容写入:if &t_Co>1syntax enableendif 方法2:sudo vim /etc/vim/vimrc将syntax on前的"去掉3.显示行号在/etc/vim/vimrc中加入set nu 4.自动缩进在原创 2009-06-05 15:39:00 · 2041 阅读 · 0 评论 -
使用autoconfig和automake自动生成Makefile
为test.c创建Makefile 步骤: 1.在工作目录下创建test.c,编写代码并保存。 2.执行命令 autoscan生成autoscan.log和configure.scan(若没有安装autoconf,需先安装autoconf,才能执行autoscan。autoconf的安装命令:sudo apt-get install autoconf)原创 2009-04-29 14:58:00 · 989 阅读 · 0 评论 -
将应用程序加入到Xephyr的任务导航栏
test为maemo应用程序。创建方法参考前面的:《命令行模式下maemo程序的编译与执行步骤》 将可执行程序test拷到 /usr/bin/下 在/usr/share/applications/hildon/ 创建文件test.desktoptest.desktop的内容为:[Desktop Entry]Encoding=UTF-8Version=1.0Type=Applic原创 2009-04-28 17:34:00 · 337 阅读 · 0 评论 -
让ubuntu支持鼠标滚轮
若使用vm station。可安装vm tools。若没有使用vm station,可修改配置文件:在root权限下 修改 /etc/X11/下的xorg.conf文件的鼠标配置为: Section "InputDevice" Identifier "Configured Mouse" Driver "vmmouse" Option "Protocol" "ImPs/2" Op原创 2009-04-15 14:59:00 · 341 阅读 · 0 评论 -
创建maemo5下的deb包
前提条件:scratchbox下的ARMEL需要安装Qt配置好maemo社保usb0的ip地址 1.在scratchbox下创建下列结构的文件夹 2.在DEBIAN文件夹中创建control文件文件名为:control内容为:Package: testPriority: optionalVersion: 1.0Architecture: allMaintainer:原创 2009-12-22 17:39:00 · 645 阅读 · 1 评论
分享