7 app
= QApplication
.new_local(1 + select('#', ...), {arg
[0], ...})
9 local address
= tostring(arg
[1])
11 if address
== 'nil' then
12 address
= 'www.lua.org'
15 url
= QUrl
.new(QString
.new('http://'..address
))
17 print('Loading site '..address
..' ...')
19 webView
= QWebView
.new_local()