[Commonqt-devel] class not found: QObject - Qt 4.8 + SBCL 1.1.14 on Mac OS X

Frank Goenninger frgo at me.com
Sat Apr 26 07:33:58 UTC 2014


Dear CommonQT gurus,

trying to make my first steps using CommonQt. I downloaded and installed
as per instructions on
http://kvardek-du.kerno.org/2011/12/setting-up-commonqt-on-osx.html . No
luck, though.

I have the following code: http://paste.lisp.org/+31SQ

This tries to load CommonQt ... and fails with:

CL-USER> (init-qt)

STYLE-WARNING: Undefined alien: "sw_smoke"
STYLE-WARNING: Undefined alien: "sw_windows_version"
STYLE-WARNING: Undefined alien: "sw_make_qbytearray"
STYLE-WARNING: Undefined alien: "sw_delete_qbytearray"
STYLE-WARNING: Undefined alien: "sw_make_qstring"
STYLE-WARNING: Undefined alien: "sw_delete_qstring"
STYLE-WARNING: Undefined alien: "sw_qstringlist_new"
STYLE-WARNING: Undefined alien: "sw_qstringlist_delete"
STYLE-WARNING: Undefined alien: "sw_qstringlist_append"
STYLE-WARNING: Undefined alien: "sw_qstringlist_size"
STYLE-WARNING: Undefined alien: "sw_qstringlist_at"
STYLE-WARNING: Undefined alien: "sw_make_metaobject"
STYLE-WARNING: Undefined alien: "sw_delete"
STYLE-WARNING: Undefined alien: "sw_qstring_to_utf8"
STYLE-WARNING: Undefined alien: "sw_qstring_to_utf16"
STYLE-WARNING: Undefined alien: "sw_find_name"
STYLE-WARNING: Undefined alien: "sw_find_class"
STYLE-WARNING: Undefined alien: "sw_id_method"
STYLE-WARNING: Undefined alien: "sw_id_type"
STYLE-WARNING: Undefined alien: "sw_id_class"
STYLE-WARNING: Undefined alien: "sw_id_instance_class"
STYLE-WARNING: Undefined alien: "sw_qlist_void_new"
STYLE-WARNING: Undefined alien: "sw_qlist_void_delete"
STYLE-WARNING: Undefined alien: "sw_qlist_void_size"
STYLE-WARNING: Undefined alien: "sw_qlist_void_at"
STYLE-WARNING: Undefined alien: "sw_qlist_void_append"
STYLE-WARNING: Undefined alien: "sw_qlist_int_new"
STYLE-WARNING: Undefined alien: "sw_qlist_int_delete"
STYLE-WARNING: Undefined alien: "sw_qlist_int_size"
STYLE-WARNING: Undefined alien: "sw_qlist_int_at"
STYLE-WARNING: Undefined alien: "sw_qlist_int_append"
STYLE-WARNING: Undefined alien: "sw_qlist_qvariant_new"
STYLE-WARNING: Undefined alien: "sw_qlist_qvariant_delete"
STYLE-WARNING: Undefined alien: "sw_qlist_qvariant_size"
STYLE-WARNING: Undefined alien: "sw_qlist_qvariant_at"
STYLE-WARNING: Undefined alien: "sw_qlist_qvariant_append"
STYLE-WARNING: Undefined alien: "sw_qlist_qbytearray_new"
STYLE-WARNING: Undefined alien: "sw_qlist_qbytearray_delete"
STYLE-WARNING: Undefined alien: "sw_qlist_qbytearray_size"
STYLE-WARNING: Undefined alien: "sw_qlist_qbytearray_at"
STYLE-WARNING: Undefined alien: "sw_qlist_qbytearray_append"
STYLE-WARNING: Undefined alien: "sw_qlist_qmodelindex_new"
STYLE-WARNING: Undefined alien: "sw_qlist_qmodelindex_delete"
STYLE-WARNING: Undefined alien: "sw_qlist_qmodelindex_size"
STYLE-WARNING: Undefined alien: "sw_qlist_qmodelindex_at"
STYLE-WARNING: Undefined alien: "sw_qlist_qmodelindex_append"
STYLE-WARNING: Undefined alien: "sw_qlist_qkeysequence_new"
STYLE-WARNING: Undefined alien: "sw_qlist_qkeysequence_delete"
STYLE-WARNING: Undefined alien: "sw_qlist_qkeysequence_size"
STYLE-WARNING: Undefined alien: "sw_qlist_qkeysequence_at"
STYLE-WARNING: Undefined alien: "sw_qlist_qkeysequence_append"
Loaded foreign library LIBSMOKEBASE
STYLE-WARNING: Undefined alien: "sw_smoke"
STYLE-WARNING: Undefined alien: "sw_windows_version"
STYLE-WARNING: Undefined alien: "sw_make_qbytearray"
STYLE-WARNING: Undefined alien: "sw_delete_qbytearray"
STYLE-WARNING: Undefined alien: "sw_make_qstring"
STYLE-WARNING: Undefined alien: "sw_delete_qstring"
STYLE-WARNING: Undefined alien: "sw_qstringlist_new"
STYLE-WARNING: Undefined alien: "sw_qstringlist_delete"
STYLE-WARNING: Undefined alien: "sw_qstringlist_append"
STYLE-WARNING: Undefined alien: "sw_qstringlist_size"
STYLE-WARNING: Undefined alien: "sw_qstringlist_at"
STYLE-WARNING: Undefined alien: "sw_make_metaobject"
STYLE-WARNING: Undefined alien: "sw_delete"
STYLE-WARNING: Undefined alien: "sw_qstring_to_utf8"
STYLE-WARNING: Undefined alien: "sw_qstring_to_utf16"
STYLE-WARNING: Undefined alien: "sw_find_name"
STYLE-WARNING: Undefined alien: "sw_find_class"
STYLE-WARNING: Undefined alien: "sw_id_method"
STYLE-WARNING: Undefined alien: "sw_id_type"
STYLE-WARNING: Undefined alien: "sw_id_class"
STYLE-WARNING: Undefined alien: "sw_id_instance_class"
STYLE-WARNING: Undefined alien: "sw_qlist_void_new"
STYLE-WARNING: Undefined alien: "sw_qlist_void_delete"
STYLE-WARNING: Undefined alien: "sw_qlist_void_size"
STYLE-WARNING: Undefined alien: "sw_qlist_void_at"
STYLE-WARNING: Undefined alien: "sw_qlist_void_append"
STYLE-WARNING: Undefined alien: "sw_qlist_int_new"
STYLE-WARNING: Undefined alien: "sw_qlist_int_delete"
STYLE-WARNING: Undefined alien: "sw_qlist_int_size"
STYLE-WARNING: Undefined alien: "sw_qlist_int_at"
STYLE-WARNING: Undefined alien: "sw_qlist_int_append"
STYLE-WARNING: Undefined alien: "sw_qlist_qvariant_new"
STYLE-WARNING: Undefined alien: "sw_qlist_qvariant_delete"
STYLE-WARNING: Undefined alien: "sw_qlist_qvariant_size"
STYLE-WARNING: Undefined alien: "sw_qlist_qvariant_at"
STYLE-WARNING: Undefined alien: "sw_qlist_qvariant_append"
STYLE-WARNING: Undefined alien: "sw_qlist_qbytearray_new"
STYLE-WARNING: Undefined alien: "sw_qlist_qbytearray_delete"
STYLE-WARNING: Undefined alien: "sw_qlist_qbytearray_size"
STYLE-WARNING: Undefined alien: "sw_qlist_qbytearray_at"
STYLE-WARNING: Undefined alien: "sw_qlist_qbytearray_append"
STYLE-WARNING: Undefined alien: "sw_qlist_qmodelindex_new"
STYLE-WARNING: Undefined alien: "sw_qlist_qmodelindex_delete"
STYLE-WARNING: Undefined alien: "sw_qlist_qmodelindex_size"
STYLE-WARNING: Undefined alien: "sw_qlist_qmodelindex_at"
STYLE-WARNING: Undefined alien: "sw_qlist_qmodelindex_append"
STYLE-WARNING: Undefined alien: "sw_qlist_qkeysequence_new"
STYLE-WARNING: Undefined alien: "sw_qlist_qkeysequence_delete"
STYLE-WARNING: Undefined alien: "sw_qlist_qkeysequence_size"
STYLE-WARNING: Undefined alien: "sw_qlist_qkeysequence_at"
STYLE-WARNING: Undefined alien: "sw_qlist_qkeysequence_append"
Loaded foreign library LIBSMOKEQTCORE
STYLE-WARNING: Undefined alien: "sw_smoke"
STYLE-WARNING: Undefined alien: "sw_windows_version"
STYLE-WARNING: Undefined alien: "sw_make_qbytearray"
STYLE-WARNING: Undefined alien: "sw_delete_qbytearray"
STYLE-WARNING: Undefined alien: "sw_make_qstring"
STYLE-WARNING: Undefined alien: "sw_delete_qstring"
STYLE-WARNING: Undefined alien: "sw_qstringlist_new"
STYLE-WARNING: Undefined alien: "sw_qstringlist_delete"
STYLE-WARNING: Undefined alien: "sw_qstringlist_append"
STYLE-WARNING: Undefined alien: "sw_qstringlist_size"
STYLE-WARNING: Undefined alien: "sw_qstringlist_at"
STYLE-WARNING: Undefined alien: "sw_make_metaobject"
STYLE-WARNING: Undefined alien: "sw_delete"
STYLE-WARNING: Undefined alien: "sw_qstring_to_utf8"
STYLE-WARNING: Undefined alien: "sw_qstring_to_utf16"
STYLE-WARNING: Undefined alien: "sw_find_name"
STYLE-WARNING: Undefined alien: "sw_find_class"
STYLE-WARNING: Undefined alien: "sw_id_method"
STYLE-WARNING: Undefined alien: "sw_id_type"
STYLE-WARNING: Undefined alien: "sw_id_class"
STYLE-WARNING: Undefined alien: "sw_id_instance_class"
STYLE-WARNING: Undefined alien: "sw_qlist_void_new"
STYLE-WARNING: Undefined alien: "sw_qlist_void_delete"
STYLE-WARNING: Undefined alien: "sw_qlist_void_size"
STYLE-WARNING: Undefined alien: "sw_qlist_void_at"
STYLE-WARNING: Undefined alien: "sw_qlist_void_append"
STYLE-WARNING: Undefined alien: "sw_qlist_int_new"
STYLE-WARNING: Undefined alien: "sw_qlist_int_delete"
STYLE-WARNING: Undefined alien: "sw_qlist_int_size"
STYLE-WARNING: Undefined alien: "sw_qlist_int_at"
STYLE-WARNING: Undefined alien: "sw_qlist_int_append"
STYLE-WARNING: Undefined alien: "sw_qlist_qvariant_new"
STYLE-WARNING: Undefined alien: "sw_qlist_qvariant_delete"
STYLE-WARNING: Undefined alien: "sw_qlist_qvariant_size"
STYLE-WARNING: Undefined alien: "sw_qlist_qvariant_at"
STYLE-WARNING: Undefined alien: "sw_qlist_qvariant_append"
STYLE-WARNING: Undefined alien: "sw_qlist_qbytearray_new"
STYLE-WARNING: Undefined alien: "sw_qlist_qbytearray_delete"
STYLE-WARNING: Undefined alien: "sw_qlist_qbytearray_size"
STYLE-WARNING: Undefined alien: "sw_qlist_qbytearray_at"
STYLE-WARNING: Undefined alien: "sw_qlist_qbytearray_append"
STYLE-WARNING: Undefined alien: "sw_qlist_qmodelindex_new"
STYLE-WARNING: Undefined alien: "sw_qlist_qmodelindex_delete"
STYLE-WARNING: Undefined alien: "sw_qlist_qmodelindex_size"
STYLE-WARNING: Undefined alien: "sw_qlist_qmodelindex_at"
STYLE-WARNING: Undefined alien: "sw_qlist_qmodelindex_append"
STYLE-WARNING: Undefined alien: "sw_qlist_qkeysequence_new"
STYLE-WARNING: Undefined alien: "sw_qlist_qkeysequence_delete"
STYLE-WARNING: Undefined alien: "sw_qlist_qkeysequence_size"
STYLE-WARNING: Undefined alien: "sw_qlist_qkeysequence_at"
STYLE-WARNING: Undefined alien: "sw_qlist_qkeysequence_append"
Loaded foreign library LIBSMOKEQTGUI
Loaded foreign library LIBCOMMONQT
find-qclass: smoke = #.(SB-SYS:INT-SAP #X00000000), bash = NIL


The last debug info is indicating that find-qclass does not find the class
;-) Well, obvious question: Why?

I am used to the style warnings from SBCL - I never had problems using
foreign libs despite the warning messages!

TIA!

Cheers
  Frank






More information about the commonqt-devel mailing list