Results 1 to 3 of 3

Thread: Issue creating lib file

  1. #1
    Join Date
    May 2007
    Posts
    90
    Thanks
    40
    Qt products
    Qt4
    Platforms
    Windows

    Question Issue creating lib file

    I am attempting to create a dynamic library from a qt app. I can create a dll, but it won't make a lib file.

    here is my pro file:

    CONFIG += qt plugin release
    DEFINES += USE_DLL_DEMUX
    QT += thread
    TEMPLATE = lib
    TARGET = Demuxer
    DEPENDPATH += . H264
    INCLUDEPATH += .

    followed by the sources and inputs.

    I have looked at the qt qmake tutorial and can't make sense of why I can't make a lib file.

    I am using the following method of compilation:

    qmake -o makefile Demuxer.pro

    nmake -f makefile.Release

  2. #2
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    6,264
    Thanks
    36
    Thanked 1,519 Times in 1,389 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows Symbian S60 Maemo/MeeGo

    Default Re: Issue creating lib file

    Could it be a forgotten or improper export macro?
    J-P Nurmi

  3. #3
    Join Date
    May 2007
    Posts
    90
    Thanks
    40
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Issue creating lib file

    I used _declspec(dllexport) in the declaration of the main class

Similar Threads

  1. qt-3.3.8 fail in scratchbox
    By nass in forum Installation and Deployment
    Replies: 0
    Last Post: 25th May 2007, 15:21
  2. .app file Issue in MAC
    By vishal.chauhan in forum General Discussion
    Replies: 2
    Last Post: 30th March 2007, 18:41
  3. qt3 to qt4 - uic issue
    By hvengel in forum Qt Programming
    Replies: 10
    Last Post: 4th March 2007, 02:59
  4. Replies: 5
    Last Post: 22nd September 2006, 08:04
  5. Qt 3.3.4 -> Qt 4.1.2, moc file issue
    By philski in forum Qt Tools
    Replies: 1
    Last Post: 11th September 2006, 21:08

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
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.