Results 1 to 3 of 3

Thread: How can I call a C++ function knowing its function string?

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jan 2006
    Location
    Graz, Austria
    Posts
    8,416
    Qt products
    Qt3 Qt4 Qt5
    Platforms
    Unix/X11 Windows
    Thanks
    37
    Thanked 1,544 Times in 1,494 Posts

    Default Re: How can I call a C++ function knowing its function string?

    I don't think you can do that with Q_GADGET.
    At least QMetaObject::invokeMethod() always requires a QObject* as the "receiver" object.

    Cheers,
    _

  2. The following user says thank you to anda_skoa for this useful post:


Similar Threads

  1. Replies: 4
    Last Post: 2nd August 2012, 07:42
  2. Replies: 7
    Last Post: 9th December 2010, 22:26
  3. Qt function call in vb.net
    By abghosh in forum Qt Programming
    Replies: 7
    Last Post: 6th March 2010, 17:00
  4. function call
    By Walsi in forum Qt Programming
    Replies: 3
    Last Post: 12th June 2007, 09:13
  5. Cannot call function without object
    By Salazaar in forum Newbie
    Replies: 5
    Last Post: 11th June 2007, 14:55

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Qt is a trademark of The Qt Company.