Results 1 to 5 of 5

Thread: QLibrary resolving functions

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Sep 2008
    Posts
    24
    Thanks
    8
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: QLibrary resolving functions

    Thanks but maybe I wasn't being clear. I have a widget working perfectly (the above was just a basic demonstration of what I'm on about).

    What I'm wondering is if there's a way to call the resolved function "Open" in the run function and vice versa.

  2. #2
    Join Date
    Apr 2010
    Location
    Rostov-na-Donu, Russia
    Posts
    153
    Thanks
    2
    Thanked 26 Times in 23 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: QLibrary resolving functions

    What I'm wondering is if there's a way to call the resolved function "Open" in the run function and vice versa
    Of course you can. Just move declaration
    Qt Code:
    1. MyPrototypeOne Open
    To copy to clipboard, switch view to plain text mode 
    into class declaraion (.h-file) as a member of your class, resolve them in constructor and use in any functions within your class

  3. The following user says thank you to borisbn for this useful post:

    td (7th April 2010)

  4. #3
    Join Date
    Sep 2008
    Posts
    24
    Thanks
    8
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: QLibrary resolving functions

    Ahh! Thanks! My brain must be on go-slow today.

Similar Threads

  1. Returning a QString to a QLibrary
    By johnmauer in forum Qt Programming
    Replies: 3
    Last Post: 14th February 2010, 12:27
  2. Replies: 3
    Last Post: 18th January 2010, 10:35
  3. QLibrary in PyQt
    By Urthas in forum Qt Programming
    Replies: 0
    Last Post: 30th October 2009, 18:46
  4. The problem with QLibrary, help me!
    By dungsivn in forum Qt Programming
    Replies: 4
    Last Post: 17th January 2008, 14:03
  5. Qlibrary
    By rianquinn in forum Qt Programming
    Replies: 5
    Last Post: 4th February 2006, 12:23

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.