摘要: 按如图配置: 主机 它作为虚拟网络的网关。VM想要访问互联网就必须把网关设置为它。 主机上的配置是把 能连到互联网的网卡(WLAN无线网)“网络共享”给 VMNet0 虚拟网卡 。 打开控制面板 - 网络和internet - 网络和共享中心 - 更改适配器设置 右键能连互联网的网卡 - 属性 - 阅读全文
posted @ 2024-05-26 19:49 BinarySong 阅读(6) 评论(0) 推荐(0) 编辑
摘要: 打开想要的开发者prompt,把环境变量导出 powershell Get-ChildItem env: | Export-CliXml D:/env-vars.clixml 打开或创建 C:\Users\用户名\Documents\WindowsPowerShell\Microsoft.Power 阅读全文
posted @ 2024-04-18 19:01 BinarySong 阅读(9) 评论(0) 推荐(0) 编辑
摘要: -j多线程输出会乱 阅读全文
posted @ 2023-10-20 11:59 BinarySong 阅读(2) 评论(0) 推荐(0) 编辑
摘要: 会寄 阅读全文
posted @ 2023-08-24 17:26 BinarySong 阅读(5) 评论(0) 推荐(0) 编辑
摘要: std::initializer_list这玩意是个巨坑。它有点像string_view,看似拥有内存,实则是引用?总之按值捕获不会形成有效的参数拷贝,形成野std::initializer_list的奇观。 阅读全文
posted @ 2023-08-18 09:36 BinarySong 阅读(6) 评论(0) 推荐(0) 编辑
摘要: qt的出生喜欢把他的开源版藏起来 ``` https://www.qt.io/download-open-source ``` 下载官方下崽器,执行: ``` ./qt-unified-windows-....-online.exe --mirror https://mirrors.ustc.edu 阅读全文
posted @ 2023-07-18 22:17 BinarySong 阅读(5) 评论(0) 推荐(0) 编辑
摘要: 1. 启动ssh-agent Windows:用管理员模式在powershell中: ```powershell Set-Service -Name ssh-agent -StartupType automatic ssh-agent ``` Linux: ``` eval `ssh-agent - 阅读全文
posted @ 2023-06-06 19:17 BinarySong 阅读(25) 评论(0) 推荐(0) 编辑
摘要: class 类名 { public: 类名() { // 在此实现默认构造函数(初始化资源,例如 new XXX) } ~类名() { // 在此实现析构函数(释放资源,例如 delete XXX) } 类名(类名 const &other) { // 在此实现拷贝构造函数,确保实现深拷贝 } vo 阅读全文
posted @ 2022-07-14 16:41 BinarySong 阅读(37) 评论(0) 推荐(0) 编辑
摘要: 检查StyleSheet,是否指定了padding。 检查Layout是否有margin和spacing。 阅读全文
posted @ 2022-07-12 16:23 BinarySong 阅读(284) 评论(0) 推荐(0) 编辑
摘要: 问题:ui_xxx.h 找不到“提升为”引用的头文件 解决:尝试将“全局包含”取消 阅读全文
posted @ 2022-07-07 10:14 BinarySong 阅读(336) 评论(0) 推荐(0) 编辑