最近在Mac OS X Mountain Lion下用Xcode进行开发,发现在编译选项里有如下所示的这两种编译器:一个是Apple LLVM compiler 4.2,另外一个是LLVM GCC 4.2。 近几年一直听人说LLVM比GCC好,但是我一直没有时间研究这二者的差别。由此问题出发,我又给 Read More
posted @ 2017-01-24 21:21 findumars Views(1483) Comments(0) Diggs(0)
一.新建一个应用程序:File->New Applicaton 在Interface部分要放在Uses Message之后,定义一个消息常量:const WM_NID=WM_USER+1000; 系统规定从WM_USER开始为用户自定义消息。 二.定义一个全局变量: NotifyIcon:TNoti Read More
posted @ 2017-01-24 18:56 findumars Views(1012) Comments(0) Diggs(0)
AtUtf8.h [cpp] view plain copy #ifndef _QT_UTF8_H #define _QT_UTF8_H #include <QString> #include <string> using std::string; class AfUtf8 { public: // Read More
posted @ 2017-01-23 22:45 findumars Views(8827) Comments(0) Diggs(0)
摘要 在网上查看了很多篇关于Qt 4的安装方法,都是以前很久的帖子,所以就想按自己的方式重新总结一下,希望可以帮助到大家。 Qt5的安装比较简单只需要下载一个文件qt-opensource-windows-x86-mingw491_opengl-5.4.2.exe, 这个文件集成了编译器(gcc、g Read More
posted @ 2017-01-23 22:43 findumars Views(1725) Comments(0) Diggs(0)
最近在做一个网络音乐播放器时,由于出现qt.network.ssl: QSslSocket: cannot call unresolved function SSLv23_client_method, 而不能播放网络歌曲。 上网搜了半天,都说要在电脑那里安装openssl,然后把C:\OpenSSL Read More
posted @ 2017-01-23 22:37 findumars Views(1777) Comments(0) Diggs(0)