Results 1 to 2 of 2

Thread: dll build not creating import lib...

  1. #1
    Join Date
    Jan 2006
    Location
    Earth (Terra)
    Posts
    87
    Thanks
    4
    Thanked 6 Times in 4 Posts
    Qt products
    Qt4 Qt5
    Platforms
    MacOS X Unix/X11 Windows Symbian S60

    Default dll build not creating import lib...

    Ignore - See next post

    Platform: Windows (win7-64)
    Qt:4.6.3 (commercial)
    Compiler: VS 2005
    Make System: nmake

    Building a .dll - I get the .dll, the .ilk, the .pdb, but no import lib (.lib)

    The salient parts of my .pro file look like this:

    Qt Code:
    1. TEMPLATE = lib
    2. CONFIG -= debug_and_release release
    3. CONFIG += qt shared debug
    4. ....
    5. win32 {
    6. QMAKE_LFLAGS += "/IMPLIB:<path>.lib
    7. }
    To copy to clipboard, switch view to plain text mode 

    I'm looking at the output Makefile, and the link flag is definitely there (seems like it ought to happen by default)

    Any thoughts? Doing anything blatantly wrong?

    Rummaging around through the source, now, make sure I've got declspecs...

    rickb
    Last edited by rickbsgu; 11th August 2010 at 19:49.

  2. #2
    Join Date
    Jan 2006
    Location
    Earth (Terra)
    Posts
    87
    Thanks
    4
    Thanked 6 Times in 4 Posts
    Qt products
    Qt4 Qt5
    Platforms
    MacOS X Unix/X11 Windows Symbian S60

    Default Re: dll build not creating import lib...

    Ack!! never mind. My bad.

    It's a static lib linked into a .dll ...

    I'd delete the post, if I could, but it doesn't seem possible...

Similar Threads

  1. Import dll problems
    By tom0485 in forum Qt Programming
    Replies: 7
    Last Post: 25th May 2010, 07:47
  2. Excel data import
    By MarkoSan in forum Qt Programming
    Replies: 3
    Last Post: 21st May 2010, 11:31
  3. How do i import and use a DLL like Skype4COM.dll in Qt4?
    By fernando in forum Qt Programming
    Replies: 3
    Last Post: 8th May 2010, 07:22
  4. Creating lint build targets
    By Micawber in forum Installation and Deployment
    Replies: 1
    Last Post: 15th April 2008, 21:44
  5. Import PostgreSQL Values to QT
    By raphaelf in forum Newbie
    Replies: 8
    Last Post: 23rd May 2007, 09:09

Tags for this Thread

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.