Results 1 to 4 of 4

Thread: how to read .dbf-Files?

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Mar 2014
    Posts
    18
    Thanks
    3
    Qt products
    Qt3 Qt4 Qt/Embedded

    Default how to read .dbf-Files?

    Hi All,

    i need to get on with .dbf-Files (dBase IV). I found the library on https://code.google.com/p/qdbf/. But when i try to implement it in my project, I get a lot of errors.
    When I only write the part: QDbf::QDbfTable table;

    and compile it, I get the followoing Errors:

    Qt Code:
    1. In function `ZN7layout1C2EP7QWidget':
    2. undefined reference to `_imp___ZN4QDbf9QDbfTableC1Ev'
    3. undefined reference to `_imp___ZN4QDbf9QDbfTableD1Ev'
    To copy to clipboard, switch view to plain text mode 

    and so on (these are 140Errors)

    Did anyone had the same problem?

    Can anyone help me reading the *.dbf-Files?

    Thanks

  2. #2
    Join Date
    Jan 2006
    Location
    Graz, Austria
    Posts
    8,416
    Thanks
    37
    Thanked 1,544 Times in 1,494 Posts
    Qt products
    Qt3 Qt4 Qt5
    Platforms
    Unix/X11 Windows

    Default Re: how to read .dbf-Files?

    Have you added the library to the LIBS variable in your .pro file?

    Cheers,
    _

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

    nernst (26th May 2014)

  4. #3
    Join Date
    Nov 2011
    Posts
    79
    Thanks
    5
    Thanked 5 Times in 5 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: how to read .dbf-Files?

    yes, as anda_skoa says you include *.h files in your project but not link it with library itself.
    or you can include all files from dbf folder. I use dbf library in this way in one of my projects https://github.com/folibis/qsimplespatial

  5. The following user says thank you to folibis for this useful post:

    nernst (26th May 2014)

Similar Threads

  1. how to use api to read excel files(.xl,xls)
    By xiongxiongchuan in forum Qt Programming
    Replies: 9
    Last Post: 15th June 2010, 00:38
  2. Read .ini files
    By paolom in forum Qt Programming
    Replies: 7
    Last Post: 9th November 2009, 17:18
  3. Replies: 12
    Last Post: 17th June 2009, 05:34
  4. QT read files
    By Majdi in forum Newbie
    Replies: 3
    Last Post: 21st January 2009, 09:17
  5. Read files PDF
    By henriquez0 in forum Qt Programming
    Replies: 3
    Last Post: 31st December 2006, 00:20

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