Conner

To be Stronger


  • Home

  • Tags

  • Categories

  • Archives

  • Commonweal 404

  • Search

Ubuntu下配置Samba实现文件夹共享

Posted on 2021-12-27 | In Linux , 运维 | Visitors:
Words count in article: 316 字 | Reading time ≈ 1 分钟
转载文章,原链接 Samba安装sudo apt-get install samba sudo apt-get install cifs-utils 创建共享目录mkdir /home/linux/sharesudo chmod 777 /home/linux/share 创建配置文件 # ...
Read more »

Thinkpad e480 ubuntu 18.04 wifi adapter not found

Posted on 2018-09-28 | In 编程 | Visitors:
Words count in article: 213 字 | Reading time ≈ 1 分钟
公司新配的E480 原装了win10,奈何有时候还要用Linux,系统内存只有8G,开虚拟机有些吃紧,索性直接装 双系统吧。 安装过程暂且不表,但是,装完后发现,18.04 下竟然没有 WiFi和蓝牙。Google一番,发现了解决方案。 sudo apt updatesudo apt insta ...
Read more »

修改iTunes备份路径

Posted on 2018-09-17 | In 杂项 | Visitors:
Words count in article: 344 字 | Reading time ≈ 1 分钟
一直用的是Windows PC,奈何手里有个iPhone,有时候想备份了,备份到电脑吧,iTunes 无脑存C盘, 真是让人很无语。搞了个外置硬盘来存备份,网上搜罗了下设置方法,终于找到了,那就是软链接。参见如何在Windows或Linux创建链接 简述下步骤:备份的目标路径为H盘。 在目 ...
Read more »

Linux下Qt5链接MySQL数据库

Posted on 2018-08-31 | In 编程 | Visitors:
Words count in article: 477 字 | Reading time ≈ 1 分钟
Qt 访问 MySql 需要 2 个库文件,一个是 Qt 自己的 MySql 驱动插件,另一个是 MySql 的动态链接库,缺一不可。在 Qt 程序里加载 MySql 驱动插件,其依赖于MySql 的动态链接库。 在Windows下,使用Qt5链接MySql应该是一件比较简单的事,但是,Linux下 ...
Read more »

Linux 禁止开机动画(Plymouth)

Posted on 2018-08-31 | In 编程 | Visitors:
Words count in article: 261 字 | Reading time ≈ 1 分钟
先介绍下背景。客户使用的公司产品是Debian系统的,老版本的软件中,使用了带有公司logo的开机动画,客户想要去掉。 因为这些软件和系统的配置都不是我经手的,恰恰接到了这个任务,只好Google+Baidu了。开机动画是Plymouth 定制的主题。先按照这个方向去查找。无果。好吧,意外找到了一个 ...
Read more »

SQL Programming (6): Creating Data Aware Forms

Posted on 2018-08-03 | In 编程 , Qt , Qt SQL Programming 系列翻译 | Visitors:
Words count in article: 304 字 | Reading time ≈ 1 分钟
​ 使用上述SQL模块,一个数据库的内容可以使用其他的模型/视图模块来表示。对于一些应用程序来说,使用标准的item view 来显示信息已经足够了。然而,在基于用户数据的应用程序往往需要一个基于表格的用户交互界面,并且将数据库中指定行列的数据被填充到窗体的可编辑控件中去。我们可以使 ...
Read more »

SQL Programming (5): Presenting Data in a Table View

Posted on 2018-08-03 | In 编程 , Qt , Qt SQL Programming 系列翻译 | Visitors:
Words count in article: 952 字 | Reading time ≈ 3 分钟
​ QSqlQueryModel,QSqlTableModel, 和QSqlRelationalTableMode 类可以作为 Qt 视图类(例如QListView,QTableView 和QTreeView)的数据源。实践中,QTableView类是迄今为止最常见的选择,因为SQL结果集基本 ...
Read more »

SQL Programming (4): Using the SQL Model Classes

Posted on 2018-08-03 | In 编程 , Qt , Qt SQL Programming 系列翻译 | Visitors:
Words count in article: 1.3k 字 | Reading time ≈ 5 分钟
除了QSqlQuery类以外,Qt还提供了三个更复杂的访问数据库的类,QSqlQueryModel ,QSqlTableModel, QSqlRelationalTableModel. QSqlQueryModel : 一个基于任意SQL语句的只读模型 QSqlTableModel:一个针对单表 ...
Read more »
<i class="fa fa-angle-left"></i>123<i class="fa fa-angle-right"></i>

21 posts
8 categories
9 tags
RSS
© 2022 Conner Xu | Site words total count: 9.5k
Powered by Hexo
|
Theme — NexT.Pisces