Results 1 to 7 of 7

Thread: Barcode library

  1. #1
    Join Date
    Apr 2008
    Posts
    196
    Thanked 8 Times in 6 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows
    Wiki edits
    1

    Default Barcode library

    Hey @all,

    did anybody know a barcode library which is under LGPL or can be used in commercial products?
    Maybe someone knows how to generate barcodes in Qt?
    Currently I use Qt 4.6.1 and the library should also be run on Windows/Linux/Mac

    Thanks in advance

    Best Regards
    NoRulez

  2. #2
    Join Date
    Jul 2007
    Location
    Jundiai/SP, Brazil
    Posts
    114
    Thanks
    5
    Thanked 7 Times in 6 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Barcode library

    Hi,

    I don't know which model you need, but you can use font of characters like this:
    Qt Code:
    1. QFont barCodeFont("c39hrp24dhtt", 40, QFont::Normal);
    To copy to clipboard, switch view to plain text mode 
    and use it to write a bar code like a text.

    Try this link:
    http://pt.fontstock.net/14747/c39hrp24dhtt.html

  3. #3
    Join Date
    Jan 2009
    Location
    Midlands UK
    Posts
    62
    Thanks
    6
    Thanked 9 Times in 6 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Barcode library

    Hi,

    If any old barcode will do then try the EAN13 example shown in the Wiki section (I lashed up a trivial front end and posted it in the Software section if it's any use). If you need it to identify items in the real commercial world you will propably have to register your company and get a company ID code to embed in the barcode - this will probably cost a far bit of money !

    Regards
    SteveH

  4. #4
    Join Date
    Apr 2008
    Posts
    196
    Thanked 8 Times in 6 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows
    Wiki edits
    1

    Default Re: Barcode library

    @ SteveH: On the wiki: http://wiki.qtcentre.org/ there is an example of the EAN-13. I need it for example Code 39 and so on.

    Best Regards
    NoRulez

  5. #5
    Join Date
    Sep 2010
    Posts
    2
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Re: Barcode library

    Can send a copy Code39 and Code128 QTproject code Let me see
    email:j1s2kiss2@163.com
    Thank you for

  6. #6

    Default Re: Barcode library

    Why not go to a professional barcode library site for help? I was wondering if you could use a third party barcode library? Would such tool be ok for you?

  7. #7
    Join Date
    Dec 2013
    Posts
    5
    Qt products
    Platforms
    Windows

    Default Re: Barcode library

    Zint and Zxing are comparatively popuplar barcode libraries. Or you can download a barcode font on your system, then the barcode generating function can be integrated into your project. It is not difficult to do so.

Similar Threads

  1. EAN13 Barcode class & test generator
    By SteveH in forum Qt-based Software
    Replies: 2
    Last Post: 27th December 2013, 08:11
  2. Replies: 4
    Last Post: 18th December 2009, 18:55
  3. WIN32 + Barcode
    By aekilic in forum Qt Programming
    Replies: 12
    Last Post: 14th May 2009, 21:12
  4. how make barcode in Qt 4 Win 32 ?
    By agoestafin in forum Qt Programming
    Replies: 2
    Last Post: 30th January 2009, 07:32
  5. Qt + Barcode Reader
    By sunil.thaha in forum General Discussion
    Replies: 12
    Last Post: 13th November 2007, 12:13

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.