Results 1 to 20 of 22

Thread: Fixed a problem. Help me understand why :)

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #5
    Join Date
    Jun 2012
    Posts
    98
    Thanks
    11
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default Re: Fixed a problem. Help me understand why :)

    Attached is the full code (plus the vs2010 solution) mostly because I'm not sure I understand what you're asking for and your signature.

    I linked using the following algorithm:
    -I built this in VS2010 using the ".dll" project settings, set to output at <build_location>
    -In a separate program I added the <build_location> to the included libraries and added the built library to it's additional dependencies (this is all under the VS "linker" tab. Right click the project name in the solution explorer->properties->configuration properties->linker)

    From browsing online it looks like I just add:
    __declspec(dllexport) in front of each class I wish to include in the dll? Is Visual Studio automatically doing this at all? It might be worth noting that the .dlls work fine with/for designer, they just don't actually link for the real program :s.

    EDIT: Tried that. Same link issues.
    Attached Files Attached Files
    Last edited by tescrin; 30th July 2012 at 22:22.

Similar Threads

  1. trying to understand qsettings ...
    By kerim in forum Newbie
    Replies: 7
    Last Post: 28th April 2011, 13:30
  2. Replies: 6
    Last Post: 13th May 2010, 13:54
  3. Something i am not understand about Qt.
    By HeX0R in forum Newbie
    Replies: 8
    Last Post: 12th February 2010, 04:37
  4. need help .not able to understand.......
    By sh123 in forum Qt Programming
    Replies: 1
    Last Post: 20th January 2009, 01:50
  5. PyQt QTimer problem { FIXED }
    By WinchellChung in forum Newbie
    Replies: 0
    Last Post: 1st March 2008, 16:50

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.