[commonqt-devel] error instantiating QWebView
Stas Boukarev
stassats at gmail.com
Tue Sep 27 09:38:13 UTC 2011
"John J. Foerch" <jjfoerch at earthlink.net> writes:
> Hello,
>
> I ran into some trouble trying to instantiate a QWebView in a little test
> app. I'm using Qt 4.7 and SBCL on a Debian testing (wheezy) system. Here
> is the distilled code that produces the error:
>
> (in-package :qt-user)
> (qt:enable-syntax)
> (ensure-smoke :qtwebkit)
> (setf qt-user:*application* (qt:make-qapplication "-display" ":0"))
> (defvar *window* (#_new QWidget))
> (defvar *webview* (#_new QWebView *window*))
>
> The error:
>
> The value NIL is not of type (UNSIGNED-BYTE 22).
> [Condition of type TYPE-ERROR]
Try commonqt from this branch:
http://gitorious.org/commonqt/commonqt/commits/qwebview-fix
--
With best regards, Stas.
More information about the commonqt-devel
mailing list