[Qt4-preview-feedback] Dumpcpp output compilation errors

Ward, Andrew Andrew_Ward at mentor.com
Fri Feb 20 18:06:21 CET 2009


Running 'dumpcpp -n sldworks sldworks.tlb' (SolidWorks 2008 API)
produces code with at least two types of compilation errors:

1) pointers to references such as:

    return *(double&*)qax_result.constData();

2) cases where compilation of:

    qRegisterMetaType("ISomeInterface", qax_pointer);

    fail because the object pointed to by qax_pointer derives from
QAxObject and the compiler tries to create a copy constructor for
QAxObject which it cannot do.

Does anyone have any suggestions of how to get around these issues?

Qt version 4.5.0-rc1 (but perhaps earlier versions)
Vc2005

Andrew.




More information about the Qt4-feedback mailing list