摘要: 准备工作 1.qt源码下载 可通过gitee下载,具体不介绍 2.perl安装 建议通过360软件管家安装,或者其他软件市场。比去官方下载快多了 3.python 我是用3.9的 4.visiual studio 我用的2022版 5.检查环境变量 python 和perl 是否都path中 开始编 阅读全文
posted @ 2022-11-16 11:02 ccc_zdh 阅读(183) 评论(0) 推荐(0)
摘要: 如无beautifier,在插件里面点选安装 转自Qt Creator- Beautifier插件代码格式化,使用 Clang Code Model - 七星望 - 博客园 (cnblogs.com) 阅读全文
posted @ 2022-11-09 16:15 ccc_zdh 阅读(22) 评论(0) 推荐(0)
摘要: #!/bin/bash echo $PWDDIR_PRJ=$PWD #take string after the first */ form DIR_PRJ#OLD_NAME="${DIR_PRJ#*/}" #take string after the last */ form DIR_PRJ,#t 阅读全文
posted @ 2022-10-26 13:52 ccc_zdh 阅读(260) 评论(0) 推荐(0)
摘要: D:\Git\bin\git.exe clone git://code.qt.io/qt/qt5.git 阅读全文
posted @ 2022-10-25 23:28 ccc_zdh 阅读(52) 评论(0) 推荐(0)
摘要: 这种情况请检查报错文件名是否和报错名称相同,尤其是大小写,在git推送时候,以及qtcreator自身原因(尤其是创建文件时小写,后期更改为大写容易出现该错误) 阅读全文
posted @ 2022-10-24 09:48 ccc_zdh 阅读(179) 评论(0) 推荐(0)
摘要: Text { id: label_val y: 99 width: 640 height: 124 horizontalAlignment: Text.AlignHCenter color: "#0086D1" font.pixelSize: 90 textFormat: Text.RichText 阅读全文
posted @ 2022-10-20 10:58 ccc_zdh 阅读(369) 评论(0) 推荐(0)
摘要: win系统下,直接修改config文件即可,但要注意win和linux的路径差异,通常config文件在‪C:\Users\用户名\.gitconfig 以下是配置好的 [diff] tool = BComparePortable[difftool "BComparePortable"] cmd = 阅读全文
posted @ 2022-10-13 10:46 ccc_zdh 阅读(166) 评论(0) 推荐(0)
摘要: 第一种 测试后能改变颜色,但换成font size 就无效,即后面的label2 QLabel *label1 = new QLabel(this); label1->setText(QString("<font color = #0086D1 >%1</font>").arg("第1行颜色1:") 阅读全文
posted @ 2022-10-12 10:32 ccc_zdh 阅读(1982) 评论(0) 推荐(0)
摘要: int width1 = this->width(); int height1 = this->height(); QWidget *m_mask = new QWidget(this); m_mask->resize (width1, height1); m_mask->move (0,0); m 阅读全文
posted @ 2022-10-11 15:52 ccc_zdh 阅读(850) 评论(0) 推荐(0)
摘要: private: typedef void (MainWindow::*pfunc)(); QHash<QString,pfunc> func_map_enter;void MainWindow::init_qmap(void) { func_map_enter.insert("page_nmes_ 阅读全文
posted @ 2022-10-11 15:50 ccc_zdh 阅读(109) 评论(0) 推荐(0)