02 2024 档案

Linux中service文件
摘要:Linux中service文件 Linux服务依靠初始化系统systemd,有两种管理服务的方式:service文件和systemctl命令。 systemctl命令 systemctl start 服务名 开启服务 systemctl stop 服务名 关闭服务 systemctl status
312
0
0
Qt经典错误:undefined reference to `vtable for XXX'
摘要:Qt经典错误:undefined reference to `vtable for XXX' 问题描述 有两种出现场景: 当 .cpp 文件中使用了 Qt 的元对象系统,即使用了 O_OBJECT 、Q_PROPERTY 、signal/slot 等这种需要由 moc 工具处理编译的宏时 当程序中出
850
0
0
UOS下切换Wayland
摘要:UOS下切换Wayland 图形化修改方法 1、下载配置策略工具 sudo apt install dde-dconfig-editor 2、进入配置工具,在 greeter 配置中开启 wayland 切换配置项: dde-dconfig-editor 直接改配置文件法 修改/usr/share/
796
0
0
Qt FluentUI 框架
摘要:Qt FluentUI 框架 项目地址:zhuzichu520/FluentUI (github.com) 安装 编译 直接用 Qt Creator 打开工程,编译运行 example 即可。 根据 CMakeLists.txt 可以看出,编译好了后会自动在 <Qt_SDK_DIR>/<Qt_Ver
1721
0
0
C++11 用户定义字面量
摘要:C++11 用户定义字面量 C++11引入了一项功能,称为用户自定义字面量(user-defined literals),它允许程序员定义自己的字面量后缀,以扩展现有的字面量语法。 内置字面量 C++ 自带4种字面量: 整形 123 浮点型 12.3 字符 '1' 字符串 "123" 字面量又可添加
173
0
0
配置Github免密提交
摘要:配置Github免密提交 配置git使用的username和email,该信息将会在git提交记录中显示 git config --global user.name "Your username" git config --global user.email "Your email@example.
52
0
0