上一页 1 ··· 18 19 20 21 22 23 24 25 26 ··· 40 下一页
摘要: 1、一般情况下需要将Qt5Core.dll,Qt5Gui.dll,Qt5Sql.dll,Qt5Widgets.dll,platforms\qwindows.dll msvcp120.dll,msvcp120.dll(我用的是VS2013版本的Qt5.5) plugins\sqldrivers\qsq 阅读全文
posted @ 2016-06-21 16:19 酷熊 阅读(364) 评论(0) 推荐(0) 编辑
摘要: QDir::toNativeSeparators()QDir::separator() 阅读全文
posted @ 2016-06-21 15:54 酷熊 阅读(3526) 评论(0) 推荐(0) 编辑
摘要: 命令行进入mysql.exe所在目录 mysql -uroot -padmin 例子: grant all privileges on *.* to joe@localhost identified by '1'; flush privileges; MySQL> grant 权限1,权限2,…权限 阅读全文
posted @ 2016-06-21 14:34 酷熊 阅读(214) 评论(0) 推荐(0) 编辑
摘要: QSettings settings("xxxx.ini",QSettings::IniFormat);settings.setIniCodec(QTextCodec::codecForName("GB2312")); //在此添加设置,即可读写ini文件中的中文setup.ini文件内容: [Rooms] 1\RoomName=Room1 1\PC\1\PCName=PC1 1\PC\1\IP... 阅读全文
posted @ 2016-06-21 11:57 酷熊 阅读(6021) 评论(0) 推荐(0) 编辑
摘要: UPDATE categories SET display_order = CASE id WHEN 1 THEN 3 WHEN 2 THEN 4 WHEN 3 THEN 5 END, title = CASE id WHEN 1 THEN 'New Title 1' WHEN 2 THEN 'Ne 阅读全文
posted @ 2016-06-16 11:48 酷熊 阅读(1760) 评论(0) 推荐(0) 编辑
摘要: if (QMessageBox::Yes == QMessageBox::question(this, tr("Question"), tr("Are you OK?"), QMessageBox::Yes | QMessageBox::No, QMessageBox::Yes)) { QMessa 阅读全文
posted @ 2016-06-15 15:21 酷熊 阅读(201) 评论(0) 推荐(0) 编辑
摘要: Tools-Options-Text Editor-Behavior-File Encoding-Default encoding:UTF-8 Tools-Options-Text Editor-Behavior-File Encoding-UTF-8 BOM:Add If Emcoding Is 阅读全文
posted @ 2016-06-12 15:14 酷熊 阅读(394) 评论(0) 推荐(0) 编辑
摘要: 安装MySQL,C:\Program Files (x86)\MySQL\MySQL Server 5.7,然后把include和lib文件夹拷贝到C盘,因为qmake不允许路径中有空格!!! 安装Qt源文件,即在安装Qt时勾选源文件 打开"VS2013 开发人员命令提示" cd C:\Develo 阅读全文
posted @ 2016-06-08 16:36 酷熊 阅读(316) 评论(0) 推荐(0) 编辑
摘要: control userpasswords2 在开始菜单中搜索“运行”,回车打开,或者Win+R打开运行窗口。 键入“control userpasswords2”或者“rundll32 netplwiz.dll,UsersRunDll”回车或者点击确定运行。 在弹出的“用户账户”窗口中,取消勾选“ 阅读全文
posted @ 2016-05-28 16:05 酷熊 阅读(291) 评论(0) 推荐(0) 编辑
摘要: 去https://github.com/wang-bin/QtAV下载源代码 去https://sourceforge.net/projects/qtav/files/depends/QtAV-depends-windows-x86%2Bx64.7z/download下载依赖库QtAV-depend 阅读全文
posted @ 2016-05-09 12:09 酷熊 阅读(1605) 评论(0) 推荐(0) 编辑
上一页 1 ··· 18 19 20 21 22 23 24 25 26 ··· 40 下一页