Qt World Summit: Submit your Presentation

.Net TypeLoadException

  • I was made a simple qt library from example

    Also I was added lines to Worker class:
    Q_CLASSINFO("ClassID", "{GUID1}")
    Q_CLASSINFO("InterfaceID", "{GUID2}")
    Q_CLASSINFO("RegisterObject", "yes")

    But I got TypeLoadException on creating instance of netWorker.

    I am use Windows 7 x64, .Net 4.
    Building Qt config: version 5.4, win32-msvc2012, clr:oldSyntax.
    .Net target x86

    What I do wrong? Is there are an simple ready to use Qt project?

Log in to reply