Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. .Net TypeLoadException
Qt 6.11 is out! See what's new in the release blog

.Net TypeLoadException

Scheduled Pinned Locked Moved General and Desktop
netactiveqt
1 Posts 1 Posters 859 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • K Offline
    K Offline
    knight74
    wrote on last edited by knight74
    #1

    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?

    1 Reply Last reply
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved