还是继续前面的内容。前面我们分三次把自定义model说完了,其实主要还是那三个实例。在 model/view 架构中,与model同等重要的就是 view。 我们知道,在经典的 MVC 模型中,view用于向用户展示 model 的数据。但是,qt提供的不是 MVC 三层架构,而是一个 model/view 设计。这种设计并没有包含一个完整而独立的组件用于管理用户的交互。一般来说,view仅仅是用作对model数据的展示和对用户输入的处理,而不应该去做其他的工...
by Send_linux - 移动操作系统 - 2010-02-22 10:15:55 阅读(2198) 回复(0)
v\:* {behavior:url(#default#VML);} o\:* {behavior:url(#default#VML);} w\:* {behavior:url(#default#VML);} .shape {behavior:url(#default#VML);} Normal 0 7.8 磅 0 2 false false false MicrosoftInternetExplorer4 st1\:*{behavior:url(#ieooui) } /* Style Definitions */ table.MsoNormalTable {mso-style-name:普通表格...
这几天开始回归到画板子图形界面,之前尝试过qtopia和Gtk,但都不好使,遂改为用qt来做,搭建完交叉编译环境后,编译之前的代码,缺碰到一些问题,郁闷了。。由于没有记录之前搭建的qt环境的步骤和方法,导致现在也不记得了,只能从源代码来看了,还要找到了突破口。
方法是这样的,交叉编译并安装完qt后,需要添加环境变量,但是我懒得理它了,用下面的命令来解决。
/usr/qt-...
我们学校买的实验箱是博创公司的用的是三星的S3C2410,配套的做实验的系统是RedHat9. 但是我想用DEBIAN来做实验,我们在做博创实验指导书中第三章的qt实验时,在配置路径第二步,在./configure no-xft 之后的make出现了错误 ,很多同学的都是如此,据说是DEBIAN少一些库,究竟是怎么样的?请各位高手指点。
qtopia2(arm-qt with xml) 1. now that the touch sreen is alive, why not caliberate it again. Thinking of that I open hyper change the name /qt/…/pointercal into pointer_save, then delete /etc/pointercal 2. reboot, caliberate, ts works perfectly again. 3. then I #cd /etc/linuette/start #vi peter.txt, then I reboot and see a file named peter shows up on the desktop, press and it o...
qtopia1(arm-qt with xml) 1. in one the my printed article: web-hotdog4/mpalyer porting they use cp /dev/fb0 myimage, and cp myimage /dev/fb0, which works on my platform(I issue it in busybox hyper termional), I am happy, but the updated picture is not good, one day I will put the commmand in /etc/init.d/rc.S and see what is gong to happen. 2. write shell script on arm(yctek sys) a) #/bin/sh...
Andrew Huang <bluedrum@163.com> 转载请注明作者及联络方式
我现在搞一上板子,上面有qtopia4.4.3 然我后虚拟机下装有qt-embedded-....4.5.3
我用qt写了一个简单的helloworld代码如下:
main.cpp:
#include
arm-linux-gcc编译qt代码,出现QLabel:no such file or directory这样的错误,这显然是 arm-linux-gcc不能连接qt的类库,如何解决?
by tangke 2009-09-20 这两天在x86平台上面交叉编译了qt extended 4.4.3,目标系统为arm 1.先设定好PATH变量. export PATH=${PATH}:/usr/local/arm/4.3.2/bin 2.下面再说说脚本吧 #!/bin/bash export VERSION=4.4.3 export TARGET_DIR=`pwd` export DOWNLOADDIR=${TARGET_DIR}/download export BUILDDIR=${TARGET_DIR}/build export ARCHTYPE=arm export PREFIX=${TARGET_DIR}/target test -d ${BUILDDIR} || mkdir -pv ${BUILD...