linux
橙zzzz
这个作者很懒,什么都没留下…
展开
-
Qt5 Ubuntu1604 64位安装时问题记录
1. 安装完成后命令行执行 ./qtcreator 崩溃,提示如下错误:qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this p原创 2022-02-14 21:56:30 · 733 阅读 · 0 评论 -
Ubuntu20.04 安装Qt MySQL驱动(解决:QSqlDatabase: MYSQL driver not loaded问题)
安装Qt时要勾选安装源码Qt 的mysql源码在安装目录的$QT_DIR/Qt5.12.8/5.12.8/Src/qtbase/src/plugins/sqldrivers/($QT_DIR/是安装目录,视自己环境情况更改)不要使用QtCreator进行构建,否则会有如下图示:ProjectERROR:Library'mysql'isnotdefined直接命令行打开,安装依赖:sudo apt-get install mysql-serversudo apt-get...原创 2020-12-17 18:01:37 · 1528 阅读 · 0 评论 -
修改增加linux内核启动参数
编辑文件:/etc/default/grub在GRUB_CMDLINE_LINUX中添加参数内容,如下:GRUB_CMDLINE_LINUX="8250.nr_uarts=16"执行 update-grub后重启reboot原创 2020-07-31 12:33:18 · 858 阅读 · 0 评论