会员
周边
新闻
博问
闪存
赞助商
YouClaw
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
ccc_zdh
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
6
7
下一页
2022年11月16日
记录visiual studio 编译qt5.15.6
摘要: 准备工作 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)
2022年11月9日
qt creator clang-format
摘要: 如无beautifier,在插件里面点选安装 转自Qt Creator- Beautifier插件代码格式化,使用 Clang Code Model - 七星望 - 博客园 (cnblogs.com)
阅读全文
posted @ 2022-11-09 16:15 ccc_zdh
阅读(22)
评论(0)
推荐(0)
2022年10月26日
qmake 命令行shadow build
摘要: #!/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)
2022年10月25日
git 获取qt源码
摘要: D:\Git\bin\git.exe clone git://code.qt.io/qt/qt5.git
阅读全文
posted @ 2022-10-25 23:28 ccc_zdh
阅读(52)
评论(0)
推荐(0)
2022年10月24日
QML File name case mismatch
摘要: 这种情况请检查报错文件名是否和报错名称相同,尤其是大小写,在git推送时候,以及qtcreator自身原因(尤其是创建文件时小写,后期更改为大写容易出现该错误)
阅读全文
posted @ 2022-10-24 09:48 ccc_zdh
阅读(179)
评论(0)
推荐(0)
2022年10月20日
qml text显示不同字体大小
摘要: 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)
2022年10月13日
git mergetool
摘要: 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)
2022年10月12日
在同一个qlabel 中显示不同颜色,不同字体,不同大小的内容
摘要: 第一种 测试后能改变颜色,但换成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)
2022年10月11日
qt dialog 弹出后背景变暗透明
摘要: 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)
qt 容器 函数指针
摘要: 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)
上一页
1
2
3
4
5
6
7
下一页
公告