QT
文章平均质量分 57
solidsanke54
这个作者很懒,什么都没留下…
展开
-
Qt下 QString转char*
原地址:点击打开链接 by Romi-知行合一Qt下面,字符串都用QString,确实给开发者提供了方便,想想VC里面定义的各种变量类型,而且函数参数类型五花八门,经常需要今年新那个类型转换Qt再使用第三方开源库时,由于库的类型基本上都是标准的类型,字符串遇的多的就是Char*类型在Qt下怎样将QString转char*呢,需要用到QByteArray类,QByte转载 2015-01-27 15:02:40 · 521 阅读 · 0 评论 -
QT5+MSVC2012环境下可能出现的各种问题及解决方法
1. 使用qt5,运行时却提示丢失 qtxml4.dll,怎么办?第一步检查QT5的dll文件配置,按照debug和release两个版本配置;如仍有错误,则第二步,将相应dll文件拷贝到程序的exe文件夹下。原创 2015-02-03 02:35:12 · 997 阅读 · 0 评论 -
Qmake使用的pro文件的写法
http://blog.csdn.net/adriano119/article/details/5878169在QT中,有一个工具qmake可以生成一个makefile文件,它是由.pro文件生成而来的,.pro文件的写法如下:1. 注释从“#”开始,到这一行结束。2.模板变量告诉qmake为这个应用程序生成哪种makefile。下面是可供使用的选择:TEM转载 2015-02-12 14:17:55 · 2818 阅读 · 0 评论 -
用qmake从Pro文件生成msvc 项目
1. 在控制台打开qmake.exe2. 设置qmake选项为-projectpath_to_qmake.exe -project3. 设置msvc版本set QMAKESPEC=win32-msvc2008或者set QMAKESPEC=win32-msvc20124. 生成projectpath_to_qmake.exe -tp vc path_to_profile原创 2015-02-12 15:20:14 · 2247 阅读 · 0 评论 -
QT5.3 下的CMAKE MANUAL
CMake is a tool that helps simplify the build process for development projects across different platforms. CMake automates the generation of buildsystems such as Makefiles and Visual Studio project fi原创 2015-02-12 14:25:09 · 1028 阅读 · 0 评论 -
[Linux][QtCreator]如何添加include路径
If you are using qmake, the standard Qt build system, just add a line to the .pro file as documented in the qmake Variable Reference:INCLUDEPATH += If you are using your own build system, you原创 2015-05-16 10:34:27 · 5764 阅读 · 0 评论