![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
qt
唐三角
如果我们在错误的方向上,将不会有人为我们收尸;如果我们在正确的方向上,我们将会被自己人埋葬。
展开
-
qt mysql demo
source file:#include #include #include #include #include #include #include #include int main(int argc, char *argv[]){// QCoreA原创 2011-09-09 16:48:41 · 887 阅读 · 0 评论 -
qt webkit 4.7.1 编译问题
1015补充:ubuntu 10下, qt474也存在同样问题。centos下编译qtwebkit。选用qt-everywhere-opensource-src-4.7.1包。下载地址:ftp://ftp.trolltech.com/qt/source/编译命令:原创 2011-09-07 13:08:36 · 1255 阅读 · 0 评论 -
解决QtWebKit中QWebElement无法取到TextNode的问题
QWebPage* page = new QWebPage(); this->webpage = page->mainFrame();// this->webpage->load(url); this->webpage->setHtml(" text in原创 2011-10-14 15:47:11 · 2542 阅读 · 0 评论 -
qt-mysql driver conflits with Webkit on compilation
When i compliing mysql driver for qt47 in mac os, an error is threw :> bindings/js/JSPluginCustom.cpp:38: error: invalid use of incomple原创 2011-09-09 10:28:17 · 702 阅读 · 0 评论 -
生成网页缩略图的DEMO
效果:在linux服务器上通过命令行 cmd -url 的形式 抓取制定url地址的网页缩略图,保存到本地。实现方式: Xvfb + qtwebkitqtwebkit 代码示例:main.cpp#include #include "webmock.h"int main(int argc, char *argv[]){ QApplication原创 2011-09-07 15:52:04 · 2321 阅读 · 0 评论 -
qt整合全文检索功能(1)中文分词以及获得词频
qt在新版本中整合了qtlucene的组件,单位的机器qt版本不够,也懒得升级。先看一下中文切分词部分。目的:对文档进行中文切分,并根据词频高低排序。选择LibMMSeg 作为切分词组件。下载源码, ./bootstrap ./configure原创 2011-09-13 17:08:44 · 3256 阅读 · 1 评论