- 博客(9)
- 资源 (1)
- 收藏
- 关注
原创 ubuntu21.10 sqlite安装和使用
sudo apt-get install sqlite sqlite3 -ysudo apt-get install libsqlite3-dev创建数据库sqlite3 student.db查看表.tables创建表create table student(name, num);查看表结构.schema student查看数据select * from stdudent;插入数据insert into student values("zhangsan", 10001);.
2021-11-12 17:09:56 1058
原创 ubuntu21.10安装mysql8.0.27
1,安装server 和 clientsudo apt-get install mysql-server mysql-client -y2.查看初始密码sudo cat /etc/mysql/debian.cnf[mysql_upgrade]host = localhostuser = debian-sys-maint 默认用户名password = r1zynOFelG5t5nZj 默认密码socket = /var/run/mysqld/mysqld...
2021-11-12 16:01:07 1099
原创 Qt中mainwindow要添加toolBar
ui->setupUi(this); QToolBar *mainToolBar = addToolBar("hello"); QToolButton *toolButtonNew = new QToolButton; toolButtonNew->setText("new"); QToolButton *toolButtonSave = new QToolButton; toolButtonSave->setText("s...
2021-11-11 17:25:43 1190
原创 Qt中test模块使用时注意
1,要在pro加入testlibQT += testlib2,要使用QtTest头文件#include <QtTest>3,使用wait案例 1000毫秒等于1秒QTest::qWait(3000);
2021-11-10 15:23:42 363
原创 关于QT开发qcharts的注意事项
1.要注意在pro文件中加入chartsQT += core gui charts2.要注意在使用时加入命名空间using namespace QtCharts;
2021-11-08 15:47:17 89
程序员的呐喊pdf
2015-09-25
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人