摘要: 支持麒麟及ubuntu的arm64版 参考: https://blog.csdn.net/a845179011/article/details/145228081 阅读全文
posted @ 2025-01-18 15:06 你哥哥 阅读(275) 评论(1) 推荐(0)
摘要: 如果有一个操作很耗时,计时器是不响应的,除非在这个操作中加入 QCoreApplication::processEvents(QEventLoop::DialogExec);//参数可选 计时器操作才有响应。 阅读全文
posted @ 2024-09-22 10:47 你哥哥 阅读(17) 评论(0) 推荐(0)
摘要: 1、命令行build release版本程序 cmake --build . --config Release 阅读全文
posted @ 2024-09-15 15:26 你哥哥 阅读(7) 评论(0) 推荐(0)
摘要: //生成翻译文件 cd /d D:\Code\myapp lupdate . -ts translations/myapp_zh.ts lrelease translations/myapp_zh.ts //加载翻译文件 int main(int argc, char *argv[]) { QApp 阅读全文
posted @ 2024-09-15 14:45 你哥哥 阅读(128) 评论(0) 推荐(0)
摘要: //可以用std::string去写入二进制文件,但必须指定二进制写入,否则0x0a前会插入0x0d //(1) //std::string str; //for (unsigned char i = 0; i < 255; i++) //用char死循环 //{ // str.append(1, 阅读全文
posted @ 2024-09-15 14:21 你哥哥 阅读(59) 评论(0) 推荐(0)