会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
ccc_zdh
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
6
下一页
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
阅读(43)
评论(0)
推荐(0)
2022年10月24日
QML File name case mismatch
摘要: 这种情况请检查报错文件名是否和报错名称相同,尤其是大小写,在git推送时候,以及qtcreator自身原因(尤其是创建文件时小写,后期更改为大写容易出现该错误)
阅读全文
posted @ 2022-10-24 09:48 ccc_zdh
阅读(174)
评论(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
阅读(352)
评论(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
阅读(163)
评论(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
阅读(1936)
评论(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
阅读(798)
评论(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
阅读(99)
评论(0)
推荐(0)
2022年10月8日
git fatal: Authentication failed for
摘要: 建议查看下系统凭据管理,是否git密码正确
阅读全文
posted @ 2022-10-08 08:15 ccc_zdh
阅读(31)
评论(0)
推荐(0)
2022年9月22日
linux usb gadget net
摘要: 1.内核基本配置后(包含net,usb) 2.要手动执行ifconfig usb0 up,然后才能在ifconfig 显示usb0
阅读全文
posted @ 2022-09-22 09:27 ccc_zdh
阅读(63)
评论(0)
推荐(0)
wsl2 xfce4
摘要: 1.安装wsl2 管理员模式的powershell下执行wsl --install -d ubuntu,完成后重启。如安装过程中卡住,也可以重启在装 2.安装VcXsrv 3.linux配置 安装xfce4 # 首先需要查看Windows系统和WSL2通信使用的虚拟网卡地址$ sudo vim /e
阅读全文
posted @ 2022-09-22 09:25 ccc_zdh
阅读(203)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
下一页
公告