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 events from ActiveQt
QtWS25 Last Chance

.NET events from ActiveQt

Scheduled Pinned Locked Moved Unsolved General and Desktop
netactiveqtactivexeventsignal & slot
1 Posts 1 Posters 890 Views
  • 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.
  • L Offline
    L Offline
    Lucape
    wrote on last edited by
    #1

    Hello!

    I have created an ActiveX wrapper in .NET in order to have access to its methods from a Qt Project. When I use DynamicCalls to access them through my QAxWidget, everything works fine.

    The problem comes when I try to connect my Qt Project to an event that is triggered in the ActiveX wrapper in .NET.

    I try to connect to it by using:

    connect(this->_MyQAxWidget, SIGNAL(NameOfTheEvent()),this, SLOT(SlotFunction()));

    But when I build it, I always get this error:

    QObject::connect: No such signal QAxWidget::NameOfTheEvent()

    I created a testing project in .NET just to make sure that the event works fine and it does. The problem happens when connecting from Qt.

    I've been desperately searching for a way to access the events from Qt but there is not much information about this issue!

    Does anybody know how to do it? Should my wrapper implement anything special to make its events visible?

    Every help will be highly appreciated! Thank you so much!

    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