Java_WebKit
1、
http://tieba.baidu.com/p/2807579276
下载地址:
2、
2.1、支持的版本范围,以及尚未支持Qt5 及注意点:
3、如何编译qtjambi:
http://qtjambi.org/doc/building
4、ZC 我的测试代码:
package z; import com.trolltech.qt.core.QObject;
//import com.trolltech.qt.core.QUrl;
import com.trolltech.qt.gui.QApplication;
import com.trolltech.qt.webkit.QWebView; public class Browser extends QObject
{
public static void main(String args[])
{
QApplication.initialize(args);
QWebView view = new QWebView();
view.setGeometry(50, 50, 800, 600);
view.setHtml("<button onclick=\"alert('哈喽沃德');\" style=\"width:100px; height:100px; border-radius:100px; border:1px solid #ccc; background:#f3f3f3; font-size:12px; color:#000; cursor:pointer;\">我是一个按钮</button>");
//view.load(new QUrl("http://www.baidu.com"));
view.show();
QApplication.execStatic();//.exec();
QApplication.quit();
}
}
5、
Java_WebKit的更多相关文章
随机推荐
- phantomjs学习之网页访问测速
1.编写loadpage2.js文件: loadpage2.js var page = require('webpage').create(), system = require('system'), ...
- 创建TPL自定义模板
文件布局 <!--1d7c7a527b6335cc7a623305ca940e1findex.tpl.html--> <!DOCTYPE html PUBLIC "-//W ...
- 手机APP卸载原因 不会卸载
- Python菜鸟之路:Django 数据验证之钩子和Form表单验证
一.钩子功能提供的数据验证 对于数据验证,django会执行 full_clean()方法进行验证.full_clean验证会经历几个步骤,首先,对于model的每个字段进行正则验证,正则验证通过后, ...
- JS不改HTML任何代码就达到动态效果
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DT ...
- JS和CSS的初步入门(JS可以取得所有p的内容并显示)
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DT ...
- CNI IPAM插件分析 --- 以hostlocal为示例
skel.CmdArgs数据结构如下所示: type CmdArgs struct { ContainerID string Netns string IfName string Args strin ...
- 学习笔记のsendRedirect &forward
尽管HttpServletResponse.sendRedirect方法和RequestDispatcher.forward方法都可以让浏览器获得另外一个URL所指向的资源,但两者的内部运行机制有着很 ...
- 华为大数据项目fusionInsight
项目简述:基于开源Hadoop2.0架构的集群网络,进行海量数据的分布式计算.由于Hadoop集群规模不断扩大,而搭建一个同等规模的测试集群需要一笔昂贵的开销.目前有100台左右物料,期望预测计算节点 ...
- 连接postgresql
# psycopg2 engine=create_engine('postgresql+psycopg2://scott:tiger@localhost/mydatabase')# python 连 ...