2022年9月21日

VS2019编译项目出现:“错误: 值不能为 null”“参数名: path1”问题

摘要: 问题:VS2019编译项目出现以下问题: 1>错误: 值不能为 null。 1>参数名: path1 解决方法: 解决方案资源管理器里卸载项目,再重新加载。 阅读全文

posted @ 2022-09-21 08:50 OctoberKey 阅读(1839) 评论(0) 推荐(0) 编辑

2022年9月20日

VisualStudio2019开发Qt正确显示中文

摘要: 导航至【C/C++】—>【命令行】—>【其他选项】,添加以下参数: /execution-charset:utf-8 或添加以下代码(只对当前文件有效): #pragma execution_character_set("utf-8") 参考: /execution-charset (Set exe 阅读全文

posted @ 2022-09-20 17:53 OctoberKey 阅读(79) 评论(0) 推荐(0) 编辑

2022年8月31日

将VMware虚拟机的启动时间设置为固定值

摘要: 转载 将VMWare中的虚拟机时间设定在一个固定值 - ParamousGIS - 博客园 (cnblogs.com) 操作步骤 关闭虚拟机。 用记事本打开虚拟机的.vmx文件,在末尾添加添加: tools.syncTime = "FALSE" time.synchronize.continue = 阅读全文

posted @ 2022-08-31 09:58 OctoberKey 阅读(2025) 评论(0) 推荐(0) 编辑

2022年8月26日

Qt设置背景颜色,QLabel,QWidget……

摘要: void setBackground(QWidget* widget, const QBrush& brush) { QPalette palette(widget->palette()); palette.setBrush(QPalette::Background, brush); widget- 阅读全文

posted @ 2022-08-26 13:19 OctoberKey 阅读(282) 评论(0) 推荐(0) 编辑

2022年8月22日

VSC设置字体

摘要: ![image](https://img2022.cnblogs.com/blog/1632796/202208/1632796-20220822160439369-164108371.png) 阅读全文

posted @ 2022-08-22 16:05 OctoberKey 阅读(28) 评论(0) 推荐(0) 编辑

2022年8月16日

获取ACCESS mdb文件版本

摘要: Access2000和Access2003生成的mdb文件如何区别? 把下面脚本复制到记事本里,再保存为**GetMdbVer.vbs**,运行后可以获得mdb文件的版本。 Set objAccess = CreateObject("Access.Application") objAccess.Op 阅读全文

posted @ 2022-08-16 10:48 OctoberKey 阅读(248) 评论(0) 推荐(0) 编辑

2022年8月12日

error C2467: 非法的匿名“struct”声明 —— 解决方法

摘要: 问题 包含windows.h文件后,出现这个错误: error C2467: 非法的匿名“struct”声明 具体是这里的问题: // winnt.h ... // Control Flags union { DWORD ControlFlags; struct { DWORD OptimizedS 阅读全文

posted @ 2022-08-12 10:39 OctoberKey 阅读(314) 评论(0) 推荐(0) 编辑

error C2813: #import 不支持 /MP —— 解决方法

摘要: 问题 用import引入msado15.dll和msadox.dll时,出现以下错误: error C2813: #import 不支持 /MP 解决方法 去**配置属性->C/C++->常规里,设置多处理器编译选型为否**。 可以在整个项目里设置,也可以设置单个cpp文件。 参考 编译器错误 C2 阅读全文

posted @ 2022-08-12 10:28 OctoberKey 阅读(627) 评论(0) 推荐(0) 编辑

2022年8月4日

QtnProperty代码编译

摘要: 代码地址 GitHub:QtnProperty 编译环境 IDE: Microsoft Visual Studio Community 2019, 16.11.15 Qt: 5.12.5_msvc2017, 32bit OS: Windows 10 家庭版,21H2 Qt Visual Studio 阅读全文

posted @ 2022-08-04 14:45 OctoberKey 阅读(346) 评论(0) 推荐(0) 编辑

QtExtra代码编译

摘要: 代码地址 GitHub:QtExtra 编译环境 IDE: Microsoft Visual Studio Community 2019, 16.11.15 Qt: 5.12.5_msvc2017, 32bit OS: Windows 10 家庭版,21H2 Qt Visual Studio Too 阅读全文

posted @ 2022-08-04 13:09 OctoberKey 阅读(25) 评论(0) 推荐(0) 编辑

导航