<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[]]></title><description><![CDATA[]]></description><link>https://blog.youkuaiyun.com/Me_You_</link><language>zh-cn</language><generator>https://blog.youkuaiyun.com/</generator><copyright><![CDATA[Copyright &copy; Me_You_]]></copyright><item><title><![CDATA[Soap和Restful区别]]></title><link>https://blog.youkuaiyun.com/Me_You_/article/details/80468090</link><guid>https://blog.youkuaiyun.com/Me_You_/article/details/80468090</guid><author>Me_You_</author><pubDate>Sun, 27 May 2018 11:46:21 +0800</pubDate><description><![CDATA[Soap和Restful区别区别SoapRestful特点复杂的，相对而言重量级的简洁的，相对而言轻量级的支持格式只支持XML可以支持XML,JSON，Flex等优势成熟，安全，支持多开发语言，多传输方式，可以应用与安全较高的接口设计（例如，代理服务器，直接负责转发，不需要解析）扩展能力强，统一接口抽象、代理服务器支持、缓存服务器支持等特性   支持超文本传输协议（HTTP），简单邮件传输协议（S...]]></description><category></category></item><item><title><![CDATA[XCode编译报错 Cast from pointer to smaller type 'int' loses information]]></title><link>https://blog.youkuaiyun.com/Me_You_/article/details/79937045</link><guid>https://blog.youkuaiyun.com/Me_You_/article/details/79937045</guid><author>Me_You_</author><pubDate>Sat, 14 Apr 2018 09:46:07 +0800</pubDate><description><![CDATA[XCode编译报错 Cast from pointer to smaller type 'int' loses information由于使用了强转将void*转为int，而在XCode上使用的为x64的编译，X64下的void*地址为8字节，而int为4字节，强转时会导致越界，故出现此错误。void* pParam = 1;所以应将 int index = (int)pParam改为long i...]]></description><category></category></item><item><title><![CDATA[编译fdk-aac库，提示./configure无法识别即sh: ./configure: No such file or directory]]></title><link>https://blog.youkuaiyun.com/Me_You_/article/details/79739243</link><guid>https://blog.youkuaiyun.com/Me_You_/article/details/79739243</guid><author>Me_You_</author><pubDate>Thu, 29 Mar 2018 10:54:38 +0800</pubDate><description><![CDATA[编译fdk-aac库，提示./configure无法识别即sh: ./configure: No such file or directory在执行./Configure命令之前，执行autoreconf -i之后便可以执行./Configure命令]]></description><category></category></item><item><title><![CDATA[fdk-aac的windows版本库编译]]></title><link>https://blog.youkuaiyun.com/Me_You_/article/details/79737065</link><guid>https://blog.youkuaiyun.com/Me_You_/article/details/79737065</guid><author>Me_You_</author><pubDate>Thu, 29 Mar 2018 09:19:15 +0800</pubDate><description><![CDATA[1.下载fdk-aac源码（官网路径：https://github.com/mstorsjo/fdk-aac.git）git  http://sourceforge.NET/projects/opencore-amr/files/fdk-aac/ 2.下载相关配置，以及在官网下载（ https://github.com/nu774/fdkaac_autobuild ）3.根据readme来操作（1...]]></description><category></category></item><item><title><![CDATA[ffmpeg库编译时提示common.h文件错误C1189	#error:  missing -D__STDC_CONSTANT_MACROS / #define]]></title><link>https://blog.youkuaiyun.com/Me_You_/article/details/79726506</link><guid>https://blog.youkuaiyun.com/Me_You_/article/details/79726506</guid><author>Me_You_</author><pubDate>Wed, 28 Mar 2018 13:52:01 +0800</pubDate><description><![CDATA[ffmpeg库编译时提示错误C1189    #error:  missing -D__STDC_CONSTANT_MACROS / #define 在common.h头文件添加如下内容即可解决#ifdef __cplusplus#define __STDC_CONSTANT_MACROS#ifdef _STDINT_H#undef _STDINT_H#endif# include &quot;stdint...]]></description><category></category></item><item><title><![CDATA[VS2015，qt 5.7.1,编译使用QString的toWCharArray时出现无法解析的toWCharArray(unsigned char*)的问题，无法正确识别WChar_t类型]]></title><link>https://blog.youkuaiyun.com/Me_You_/article/details/79674650</link><guid>https://blog.youkuaiyun.com/Me_You_/article/details/79674650</guid><author>Me_You_</author><pubDate>Sat, 24 Mar 2018 08:52:04 +0800</pubDate><description><![CDATA[VS2015，qt 5.7.1,LNK200,无法解析的toWCharArray(unsigned char*)问题，即无法正确识别WChar_t类型,如图：解决:进入工程属性，C/C++    --&amp;gt;&amp;gt;   语言   --&amp;gt;&amp;gt;  将WChar_t视为内置类型   --&amp;gt;&amp;gt;  将否改为是，重新编译解决。...]]></description><category></category></item><item><title><![CDATA[FFMPEG libfdk-aac Windows上编译]]></title><link>https://blog.youkuaiyun.com/Me_You_/article/details/79628717</link><guid>https://blog.youkuaiyun.com/Me_You_/article/details/79628717</guid><author>Me_You_</author><pubDate>Tue, 20 Mar 2018 17:20:48 +0800</pubDate><description><![CDATA[1.源码下载下载命令及地址：git clone https://github.com/mstorsjo/fdk-aac.git2.添加CMake使用的脚本在fdk-aac的源码路径下创建CMakeList.txt，然后写入以下脚本命令：# source code: git clone https://android.googlesource.com/platform/external/aac
cm...]]></description><category></category></item><item><title><![CDATA[windows-32位版本 ffmpeg静态库 编译（VS2015）]]></title><link>https://blog.youkuaiyun.com/Me_You_/article/details/79363183</link><guid>https://blog.youkuaiyun.com/Me_You_/article/details/79363183</guid><author>Me_You_</author><pubDate>Sat, 24 Feb 2018 16:34:42 +0800</pubDate><description><![CDATA[windows-32位版本 ffmpeg静态库 编译（VS2015）一、准备软件和工具       1.Visual Studio 2015 With Update 3　　2.MSYS2　　3.YASM二、安装VS2015       安装VS2015时，选择Git。      三、下载FFMPEG源码      进入windows命令行，在C:\FFMPEG目录下执行：      git clo...]]></description><category></category></item><item><title><![CDATA[QT label样式表实现背景图片自动拉伸缩小（充满整个Label）]]></title><link>https://blog.youkuaiyun.com/Me_You_/article/details/78064212</link><guid>https://blog.youkuaiyun.com/Me_You_/article/details/78064212</guid><author>Me_You_</author><pubDate>Fri, 22 Sep 2017 16:20:48 +0800</pubDate><description><![CDATA[QT label样式表实现自动拉伸,充满整个框，支持放大和缩小。
使用样式表语句


QLabel
{
background-color: gainsboro;
border-image: url(@skinpath/icons/map_background.png);
}]]></description><category></category></item><item><title><![CDATA[QT 实现自定义的IP地址控件]]></title><link>https://blog.youkuaiyun.com/Me_You_/article/details/76239162</link><guid>https://blog.youkuaiyun.com/Me_You_/article/details/76239162</guid><author>Me_You_</author><pubDate>Fri, 28 Jul 2017 11:21:00 +0800</pubDate><description><![CDATA[QT 实现自定义IP地址控件，可进行·切换或者左右切换，Tab切换。等。自适应大小分布]]></description><category></category></item><item><title><![CDATA[判断IPV6地址格式是否正确]]></title><link>https://blog.youkuaiyun.com/Me_You_/article/details/64124283</link><guid>https://blog.youkuaiyun.com/Me_You_/article/details/64124283</guid><author>Me_You_</author><pubDate>Mon, 20 Mar 2017 13:04:57 +0800</pubDate><description><![CDATA[1.判断IPV6格式字串是否正确


此功能代码实现判断IPV6地址是否正确,正确返回1，错误误返回0。


#define  H(x)  ((unsigned char *) & (x) )[0]
#define  L(x)  ((unsigned char *) & (x) )[1]

//char * abbr, ipv6字符串
//unsigned char * ret_buf]]></description><category></category></item><item><title><![CDATA[QDialog，QWidget实现圆角，圆弧边框]]></title><link>https://blog.youkuaiyun.com/Me_You_/article/details/64123919</link><guid>https://blog.youkuaiyun.com/Me_You_/article/details/64123919</guid><author>Me_You_</author><pubDate>Mon, 20 Mar 2017 12:04:25 +0800</pubDate><description><![CDATA[1.QDialog，QWidget实现圆角，圆弧边框
注意设置使用setWindowFlags（Qt::Dialog | Qt::FramelessWindowHint），去掉dialog的标题栏显示。在QDialog的的resizeEvent时间中添加一下代码：void CDemoDlg::resizeEvent(QResizeEvent* e)
{
QBitmap bmp(size()); ]]></description><category></category></item><item><title><![CDATA[QT实现通过文件加载样式表]]></title><link>https://blog.youkuaiyun.com/Me_You_/article/details/63252599</link><guid>https://blog.youkuaiyun.com/Me_You_/article/details/63252599</guid><author>Me_You_</author><pubDate>Sat, 18 Mar 2017 11:57:58 +0800</pubDate><description><![CDATA[1.QT实现通过文件加载样式表
创建一个样式表文件：
在样式表文件里添加
QWidget
{
font-family:Microsoft YaHei;font-size:14px;
}

或者等
#MainWindow
{
background-color:rgb(219,221,225);
font-family:Microsoft YaHei;font-size:14p]]></description><category></category></item><item><title><![CDATA[QT 添加翻译文件以及加载翻译文件和右键翻译]]></title><link>https://blog.youkuaiyun.com/Me_You_/article/details/63251560</link><guid>https://blog.youkuaiyun.com/Me_You_/article/details/63251560</guid><author>Me_You_</author><pubDate>Sat, 18 Mar 2017 10:46:19 +0800</pubDate><description><![CDATA[1.QT 添加翻译文件：
添加qt工程软件的翻译文件：


然后选择对应的国家和语言即会生成ts文件，ts文件会自动识别已已添加tr的字段，例如tr("SimpChinese");就可以对SimpChinese进行翻译。


当整个软件的需要右键功能的翻译时，需要用到qt自身的翻译文件，可以下图里面找到：


2.加载翻译文件：
QTranslator translator;]]></description><category></category></item><item><title><![CDATA[QT 实现软件只能运行一个软件]]></title><link>https://blog.youkuaiyun.com/Me_You_/article/details/63250373</link><guid>https://blog.youkuaiyun.com/Me_You_/article/details/63250373</guid><author>Me_You_</author><pubDate>Sat, 18 Mar 2017 09:18:32 +0800</pubDate><description><![CDATA[QT 实现软件只能运行一个软件：



QString strAppName = "Your program";
QSystemSemaphore sema(strAppName,1,QSystemSemaphore::Open); 
sema.acquire(); 


QSharedMemory mem("SystemObject");
if (!mem.create(1)]]></description><category></category></item><item><title><![CDATA[Qt程序设置整个软件字体类型和字体大小]]></title><link>https://blog.youkuaiyun.com/Me_You_/article/details/63250147</link><guid>https://blog.youkuaiyun.com/Me_You_/article/details/63250147</guid><author>Me_You_</author><pubDate>Sat, 18 Mar 2017 08:59:19 +0800</pubDate><description><![CDATA[//在程序的main函数里设置，这样全局都可以设置为相同字体
QFont font = a.font();
font.setPointSize(12);//字体大小
font.setFamily("Microsoft YaHei");//微软雅黑字体
a.setFont(font);]]></description><category></category></item></channel></rss>