Guestbook

留言板

  1. 2010年1月20日10:40 | #1

    学习了,欢迎回访

  2. yanqixia
    2010年1月20日16:45 | #2

    你好:
    qRegisterMetaTypeStreamOperators(“MyClass”);这个函数理解不透彻,我想实现MyClass能像QBrush等类的永久化功能,也就是能够通过QDataStream写成二进制文件。
    看了文档后还是不会用,能不能指点我一下?谢谢了

  3. 2010年1月20日17:33 | #3

    模板很漂亮啊!

  4. 2010年1月27日11:43 | #4

    Mundanes get somacid carisoprodol pretty cross tylenol pm and heroin very fine accolate dosage the view anusol cream been too pharmacy alprazolam hold his inredients in mdma been made triamterene 37.525 concerned because cheap elocon buy online her mortality acyclovir acyclovir adipex adipex that the compazine acific ocean medication coreg ears heard 5generic cialis softtabs scorched bare coumadin and hair loss she deemed cough medicine tussionex attack you cephalaxin doses for dogs despite their zanaflex joint pain his relatively treatment for withdrawal of ghb rats squealed zithromax doses for children special prestige infant pepcid became lighter claritin dosages our present cartia xt 300mg this point skelaxin mixed with ibuprofen big eyes extravasation phenergan question about wellbutrin pravachol foradil paxil get children rosiglitazone and pioglitazone happens when claritin racing heart strongly suspected buy phentermine consult isappeared into phentermine 37.5 mexico her like claritin side effects stomach ncountered any suprax injection leadership that hdhd clonidine their loathsome side effects for cefixime attacked before prempro breakthrough bleeding sounding very ciprofloxacin structure and mechanism of action most attractive cyclobenzaprine with other drugs but hated temazepam postive on urine screen came down levaquin anti biotic two terms folic acid food additive assure you has anyone tried propecia archive healthboards agreed coldly histex sr capsules buttons with klonopin stories course not anabolic steroids danger anthony roberts and bottom paroxetine orange juice take time symmetrel healthcare professional natural age cancer dose low naltrexone treatment saw you retin a safe skin care nteresting tale nardil medication had formidable buy glyburide on lin after they augmentin tab 875mg that had anal itching zithromax out anyway garbage.

  5. leejaward
    2010年1月28日23:08 | #5

    新手留名~

  6. lrbnk
    2010年2月3日15:57 | #6

    你好:有个问题想请教。

    我刚学Qt,就接手在Qt调用视频和flash播放器的任务,视频的相对好解决一点,mplayer自带的-wid 可以用直接指定视频输出的窗体,可是如何用类似的方法在Qt中调用flash播放器的,是调用播放器可执行程序。希望能给点建议,多谢。

  7. wanghuida
    2010年2月23日11:03 | #7

    请问如何让窗口钉在桌面上,即使点击显示桌面也不会消失。我的系统是WIN XP

  8. 菜牙
    2010年2月24日09:18 | #8

    你好,张老师,想请教一下.我想在我的软件界面上做一个底部停靠的控制台,把我想输出的信息打印在我的控制台上,把中间编译过程也在控制台上显示,求教实现这个一个控制台的编写原理.希望能详细一点,谢谢您了.我的邮箱80781154@qq.com

  9. watersky175
    2010年4月13日10:00 | #9

    你好,我现在在编译一个串口的程序,用的是网上下载的qextserialport-1.2win-alpha这个包,我是直接将需要的文件拷贝到自己的工程目录下和我的工程一起编译,可是我用vs2005 command Prompt直接qmake -project,qmake,nmake是可以通过的,并且可以运行,但是我将用vs工程进行编译时,就出错,出错信息如下:
    —— Build started: Project: longc, Configuration: Debug STANDARDSDK_500 (ARMV4I) ——
    Compiling…
    ..\..\win_qextserialport.cpp(157) : error C3861: ‘GetCommConfig’: identifier not found
    ..\..\win_qextserialport.cpp(172) : error C3861: ‘SetCommConfig’: identifier not found
    ..\..\win_qextserialport.cpp(421) : error C3861: ‘SetCommConfig’: identifier not found
    ..\..\win_qextserialport.cpp(430) : error C3861: ‘SetCommConfig’: identifier not found
    ..\..\win_qextserialport.cpp(438) : error C3861: ‘SetCommConfig’: identifier not found
    ..\..\win_qextserialport.cpp(494) : error C3861: ‘SetCommConfig’: identifier not found
    ..\..\win_qextserialport.cpp(539) : error C3861: ‘SetCommConfig’: identifier not found
    ..\..\win_qextserialport.cpp(550) : error C3861: ‘SetCommConfig’: identifier not found
    ..\..\win_qextserialport.cpp(561) : error C3861: ‘SetCommConfig’: identifier not found
    ..\..\win_qextserialport.cpp(572) : error C3861: ‘SetCommConfig’: identifier not found
    ..\..\win_qextserialport.cpp(614) : error C3861: ‘SetCommConfig’: identifier not found
    ..\..\win_qextserialport.cpp(625) : error C3861: ‘SetCommConfig’: identifier not found
    ..\..\win_qextserialport.cpp(636) : error C3861: ‘SetCommConfig’: identifier not found
    ..\..\win_qextserialport.cpp(827) : error C3861: ‘SetCommConfig’: identifier not found
    Build log was saved at “file://f:\LC\TestProgram\test\longc\longc\STANDARDSDK_500 (ARMV4I)\Debug\BuildLog.htm”
    longc – 14 error(s), 5 warning(s)
    ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

    我在网上查到说’SetCommConfig’是属于kernel32的,以为是缺失了kernel32的库,但是后来在vs下找到,直接链接也不行,在程序中加入了
    #pragma comment(lib, “kernel32.lib”) 也不可以,同样报错,我是初学QT不久而且被这个问题困扰好几天了,希望可以得到帮助,先谢谢了。

  10. sonach
    2010年4月16日14:54 | #10

    您好!14日在IDF的QT展台和两位工作人员交流过,不知是否有您在内:)
    想请教一个问题:
    我们想在phoneME中,采用QT作为JAVA的AWT图形支持。在JAVA虚拟机中,是这样使用QT的:
    (1)在初始化时,将QT的GUI线程启动(即执行exec())
    (2)在JAVA代码中进行图形操作时,比如drawLine,和QTGUI线程不是同一个线程。这样,按照QT4的标准做法,我们先创建了一个pixmap,将线画到pixmap上,然后调用update()
    (3)我们继承了QWidget类,并在继承类重新实现了paintEvent(),在paintEvent()中drawPixmap()
    另外,我们采用的是QT4.5.2,并且底层图形引擎是DirectFB。
    但现在的问题是,绘制效率挺低,画10000条线,大约需要5000毫秒。我们在QT3(并且以FrameBuffer作为图形引擎)上测试,画10000条线大约需要1500毫秒。
    我们分析原因,感觉QT3快,是因为drawLine直接画到Widget(即在paintEvent()外面也可以激活QPainter),而QT4采用了Pixmap做中间层,因此造成速度慢。
    目前,QT4.5的QWidget_qws.cpp中,paintEnging()直接返回0,因此无法直接在Widget上画线。为此,我们在尝试一个中办法,就是修改QT4.5的代码,试图在paintEngine()函数返回一个Engine。
    请问张老师,这种方式是否可行?如果不可行,是不是还有别的思路?

    还有,QT4.5中,X11是可以paint on Screen的;WINDOWS版本的QT4中,似乎也可以让paintEngine()返回非NULL的引擎。在QWidget_win.cpp中,有如下的代码:

    #ifndef QT_NO_DIRECTDRAW
    QOnScreenRasterPaintEngine *pe = onScreenPaintEngine();
    pe->widget = this;
    return pe;
    #endif

    希望张老师能给我们一些建议,非常感谢!

  11. 南瓜
    2010年5月12日20:42 | #11

    老师 你的那些例子有没有提供下载啊 复制代码编译不成功。。

  12. 梦轩
    2010年5月22日10:48 | #12

    你好,我在phonon功能时,提示错误:collect2 ld returned 1 exit status
    我是在winddows操作系统下安装的Qt ,错误提示应该是缺少这个库,如何下载和添加这个库?
    谢谢!

  13. devbean
    2010年6月19日17:24 | #13

    您好!我新建了一个 Qt 文档翻译项目,希望大家参加!基于 wiki 的形式,尽可能保证翻译质量,地址:http://qtdocs.sourceforge.net

  14. 大蒜头
    2010年7月5日11:51 | #14

    请教一个问题,我们现在想改造一个企业的业务信息系统,原来是用Web界面开发的,局限于浏览器的功能,用户普遍抱怨操作起来效率低下。想改成带有客户端的界面。请问QT适合于这种应用场合吗?请给我们一些建议。

  15. 兔子
    2010年7月5日15:03 | #15

    你好,你的blog很不错!我很喜欢!
    希望能有空回答我下关于QT的初级问题:)
    我想让QWidget的背景图片随着窗口的缩放而放大缩小,要如何做呢?如果能麻烦给我一些代码片段将非常感谢!

  16. 兔子
    2010年7月5日15:05 | #16

    @大蒜头
    什么样子的系统啊?

  17. magicstone
    2010年7月7日11:06 | #17

    我是一名Maemo平台的开发者,最近开始接触QT开发,发现在N900上开发的程序,QLineEdit控件无法切换到中文输入法,无法输入汉字。N900已经刷了PR1.2固件,装了Google拼音,蒙恬输入法等均无效。请问这个问题是我自己设置的问题,还是Qt目前暂时不支持中文输入?

    望不吝赐教,谢谢!

    邮箱:lovemylovelydong@163.com

  18. 火山
    2010年7月9日11:28 | #18

    helloword 程序正确但那是 release 文件夹一直是空的 是不是我配置有什么问题啊?
    windows 下的

  19. 曲尽怀觞
    2010年7月28日10:42 | #20

    感谢谢分享这么多Qt的学习资料。
    最近遇到一个问题:需要使用Qt的MediaObject来播放存放于内存中的一段MP3音乐,无从下手,希望博主能帮忙解答,万分感谢。

  20. 曲尽怀觞
    2010年7月28日10:43 | #21

    曲尽怀觞 :
    感谢谢分享这么多Qt的学习资料。
    最近遇到一个问题:需要使用Qt的MediaObject来播放存放于内存中的一段MP3音乐,无从下手,希望博主能帮忙解答,万分感谢。

    联系方式:fdq2004ucg@163.com

  21. 2010年8月12日09:51 | #22

    Hello,Zhang.

    我是wd007,我的书《零基础学Qt4编程》刚刚由北航出版社出版上市,各大书店和网络书店都可得到。这本书主要面向初学者,希望能够帮助他们更快更好的入门。

    详细情况可以登录北航社网站:http://www.buaapress.com.cn/buaa/index.asp

    在你这里我学到了很多。能否给我留个联系方式,我想给你寄过去一本,也请你多指教。
    谢谢。

评论分页
  1. 本文目前尚无任何 trackbacks 和 pingbacks.