摘要:
一、将日志写入linux系统日志 1、添加头文件 #include <syslog.h> 2、写入日志 QString log="log to write"; syslog(LOG_INFO,"%s",log.toStdString().c_str()); 二、将qt控制后程序做成linux服务 参 阅读全文
Copyright © 2025 @学无止境
Powered by .NET 9.0 on Kubernetes