Results 1 to 4 of 4

Thread: How to use KDReport

  1. #1
    Join Date
    Dec 2010
    Posts
    20
    Thanks
    9
    Thanked 3 Times in 1 Post
    Qt products
    Qt4
    Platforms
    Windows

    Default How to use KDReport

    Did anyone here use KDReport?
    I just install KDReport and try to compile it's example (which is provided in it's installation path) and got these errors

    cannot find -lkdreportsd
    collect2: ld returned 1 exit status
    I don't know what's wrong here. I wonder if some one can get me a documentation or show me how to use this report.

    Anyone help me please

  2. #2
    Join Date
    Sep 2009
    Location
    Wroclaw, Poland
    Posts
    1,394
    Thanked 342 Times in 324 Posts
    Qt products
    Qt4 Qt5
    Platforms
    MacOS X Unix/X11 Windows Android

    Default Re: How to use KDReport

    You are trying to link to debug version of the library - make sure that you have kdreportd.dll file somewhere in the linker directories ( -L in .pro file ).

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

    rivci (25th February 2011)

  4. #3
    Join Date
    Dec 2010
    Posts
    20
    Thanks
    9
    Thanked 3 Times in 1 Post
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: How to use KDReport

    I don't find kdreportd.dll in my installed kdreport.
    I just try to rebuild my kd report and everything works fine.

    Now that I can debug my project, the next problem is I can't run my project in release mode....
    it says
    cannot find -lkdreports
    collect2: ld returned 1 exit status
    It's absolutely annoying to know that I already made all my report in kdreport and found that my project can't be compiled..


    Added after 15 minutes:


    After checked my kdreports installation folder, I found that I don't have kdreports.dll and kdreporttesttools.dll.. the only dll I have is kdreportsd.dll and kdreporttesttoolsd.dll. Is there something wrong in my installation? and fix these?
    Last edited by rivci; 25th February 2011 at 08:54.

  5. #4
    Join Date
    Sep 2009
    Location
    Wroclaw, Poland
    Posts
    1,394
    Thanked 342 Times in 324 Posts
    Qt products
    Qt4 Qt5
    Platforms
    MacOS X Unix/X11 Windows Android

    Default Re: How to use KDReport

    I have never used KDReport, but it should be possible to build it in both debug and release modes. If for some reasons you can't build both modes at one time, then build debug, copy the debug .dlls, then rebuild in release mode and copy release libraries.
    Maybe post a link from where you've downloaded the KDReport.

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.