Results 1 to 8 of 8

Thread: Qt and the Loki Library

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Aug 2008
    Posts
    12
    Thanks
    3
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Qt and the Loki Library

    We used the MSVC solution for 2005 that came with the library. It produces a static library (.lib).

    Note that we get the same errors if we drop the source and header files into our program source and do not link with the library.

    It has been suggested that _write may be a Qt macro that is somehow confusing the linker. We do know that Qt has a QT_WRITE macro but are not sure how that works in the IO system.

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,372
    Thanks
    3
    Thanked 5,019 Times in 4,795 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: Qt and the Loki Library

    This is "Loki::_write" and not "_write". If the name "_write" is reported by the linker, it is not a macro as macros are expanded by the preprocessor. Check if your Loki library indeed has the referenced symbol (Loki::_write) in it.

  3. #3
    Join Date
    Aug 2008
    Posts
    12
    Thanks
    3
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Qt and the Loki Library

    Thanks--we'll see.

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.