上一页 1 ··· 16 17 18 19 20 21 22 23 24 ··· 75 下一页

2021年3月2日

Qt-Qt的窗口显示的内容转化为图片

摘要: 相关资料: https://blog.csdn.net/can3981132/article/details/51501235 将Qt的窗口显示的内容转化为图片的方法有两种:第一种是调用QPixmap的静态成员函数QPixmap grabWidget ( QWidget * widget, cons 阅读全文

posted @ 2021-03-02 17:25 疯狂delphi 阅读(468) 评论(0) 推荐(0)

2021年2月24日

QString::QString 中文乱码

摘要: https://www.cnblogs.com/lsgxeva/p/7804631.html QString中文乱码 https://www.cnblogs.com/findumars/p/6375633.html setCodecForLocale在Qt5保留,其他不在提供了。 QString:: 阅读全文

posted @ 2021-02-24 18:21 疯狂delphi 阅读(932) 评论(0) 推荐(0)

怎么样连接两个char*型的字符串变量,

摘要: https://blog.csdn.net/qq_31839479/article/details/51355949 怎么样连接两个char*型的字符串变量 https://blog.csdn.net/qq_20515461/article/details/83301941 C++中如何连接两个ch 阅读全文

posted @ 2021-02-24 17:31 疯狂delphi 阅读(825) 评论(0) 推荐(0)

C-C中的函数_splitpath说明

摘要: 相关资料: https://blog.csdn.net/weikangc/article/details/45744445 原作者出处 引用头文件: <stdlib.h> 函数原型如下: void _splitpath( const char *path, char *drive, char *di 阅读全文

posted @ 2021-02-24 17:16 疯狂delphi 阅读(414) 评论(0) 推荐(0)

C++-标准C++中的string类的用法总结

摘要: https://www.cnblogs.com/henryliublog/p/9182641.html 标准C++中的string类的用法总结 相信使用过MFC编程的朋友对CString这个类的印象应该非常深刻吧?的确,MFC中的CString类使用起来真的非常的方便好用。但是如果离开了MFC框架, 阅读全文

posted @ 2021-02-24 17:04 疯狂delphi 阅读(184) 评论(0) 推荐(0)

PSTR、LPSTR、PCSTR、LPCSTR、LPWSTR、PWSTR、PCWSTR、LPCWSTR、LPCTSTR

摘要: https://blog.csdn.net/W343051232/article/details/7083276 https://blog.csdn.net/jize00/article/details/4379478?utm_medium=distribute.pc_relevant_t0.non 阅读全文

posted @ 2021-02-24 14:19 疯狂delphi 阅读(699) 评论(0) 推荐(0)

2021年2月23日

BAT-Qt发布EXE时,自动识别目录中的EXE,并导出依赖库。

摘要: @echo on For /f "tokens=*" %%i in ('dir /a-d /b /s "*.exe"') do ( D:\RuanJian\Qt\Qt5.14.2\5.14.2\msvc2017_64\bin\windeployqt.exe "%%i" --debug)Pause P 阅读全文

posted @ 2021-02-23 19:06 疯狂delphi 阅读(123) 评论(0) 推荐(0)

Qt 获取程序所在路径等特殊路径的方法

摘要: https://www.cnblogs.com/linuxAndMcu/p/12869383.html 目录 1. 程序所在路径 2. 程序的完整名称 3. 当前工作目录 4. 用户目录路径 5. 桌面路径 6. 程序数据存放路径 7. 临时文件路径 经常我们的程序中需要访问一些特殊的路径,比如程序 阅读全文

posted @ 2021-02-23 15:23 疯狂delphi 阅读(1103) 评论(0) 推荐(0)

工作路径下用CMD启动fluent(相对路径读写文件),QT中QProcess调用详解及实验

摘要: 相关资料: https://www.cnblogs.com/Roye/p/12705536.html 原作者出处 https://blog.csdn.net/qq_33485434/article/details/80509284 原作者出处 1、os获取文件路径 path, filename = 阅读全文

posted @ 2021-02-23 15:13 疯狂delphi 阅读(1524) 评论(0) 推荐(0)

2020年12月25日

error C2143: 语法错误 : 缺少“;”(在“*”的前面)

摘要: error C2143: 语法错误 : 缺少“;”(在“*”的前面) a.h 定义一个类 b.h 定义一个类 b.h引入a文件 a.h再引入b.h后,再声明一个b.h中的类指针时 就会提示C2143。 处理方法: 在a.cpp中引入b.h 在a.h最上方写出“class xxxxxx”b.h中的类 阅读全文

posted @ 2020-12-25 16:53 疯狂delphi 阅读(867) 评论(0) 推荐(0)

上一页 1 ··· 16 17 18 19 20 21 22 23 24 ··· 75 下一页

导航