• 8759阅读
  • 10回复

自己修改的qtdemo程序 [复制链接]

上一主题 下一主题
离线novesky
 

只看楼主 倒序阅读 楼主  发表于: 2011-03-12
关键词: QT4
    情人节前改的,把一串连成Q字样的小球变成了爱心和微笑,增强了自定义显示内容功能等。

    小球连成的图形是GuideCircle由这个类决定的,爱心可以由4段圆弧组成。
    小球上的文字可以修改xml/config.ini来改变
    release文件夹是完整的程序和所需的库。
    
  
    
[ 此帖被novesky在2011-03-12 13:13重新编辑 ]
附件: qtdemo.7z (397 K) 下载次数:158
离线coblan

只看该作者 1楼 发表于: 2011-03-12
Re:获取QT窗口句柄
顶。。。。呵呵。:-)
离线escene

只看该作者 2楼 发表于: 2011-03-21
8cuo!!
离线dlmult
只看该作者 3楼 发表于: 2011-03-21
支持一下。
离线langzi

只看该作者 4楼 发表于: 2011-03-25
不错,这个界面挺炫的
离线langzi

只看该作者 5楼 发表于: 2011-03-26
怎么解压后的文件出现错误啊?
离线zjfshowtime
只看该作者 6楼 发表于: 2011-03-29
顶下楼主
离线share_idea

只看该作者 7楼 发表于: 2011-03-31
Very good!
离线lanlovehua
只看该作者 8楼 发表于: 2011-04-01
colors.cpp:45:25: error: QGLWidget: No such file or directory
colors.cpp: In static member function 'static void Colors::detectSystemResources
()':
colors.cpp:342: error: 'QGLFormat' has not been declared
colors.cpp:342: error: 'QGLFormat' has not been declared
colors.cpp:344: error: 'QGLFormat' has not been declared
colors.cpp:344: error: 'QGLFormat' has not been declared
colors.cpp:346: error: 'QGLFormat' has not been declared
colors.cpp:346: error: 'QGLFormat' has not been declared
colors.cpp:348: error: 'QGLFormat' has not been declared
colors.cpp:348: error: 'QGLFormat' has not been declared
colors.cpp:353: error: 'QGLWidget' was not declared in this scope
colors.cpp:353: error: expected ';' before 'glw'
colors.cpp:354: error: 'QGLFormat' has not been declared
colors.cpp:355: error: 'glw' was not declared in this scope
colors.cpp:356: error: 'QGLFormat' has not been declared
colors.cpp:356: error: 'QGLFormat' has not been declared
mingw32-make[1]: *** [debug/colors.o] Error 1
mingw32-make[1]: Leaving directory `D:/Qt_work/qtdemo/qtdemo'
mingw32-make: *** [debug] Error 2

我使用的是windows Xp下的Qt。
请问我是不是缺少动态库啊?
要如何下载安装动态库呢?
谢谢了。
[ 此帖被lanlovehua在2011-04-01 14:16重新编辑 ]
离线lanlovehua
只看该作者 9楼 发表于: 2011-04-01
已经解决:
color.cpp:

#ifndef QT_NO_OPENGL
#include <QtOpenGL/QGLWidget>
#endif

离线littleboxes

只看该作者 10楼 发表于: 2012-06-28
快速回复
限100 字节
 
上一个 下一个