Results 1 to 3 of 3

Thread: how make barcode in Qt 4 Win 32 ?

  1. #1
    Join Date
    Nov 2008
    Posts
    7
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default how make barcode in Qt 4 Win 32 ?

    how make Label barcode in Qt 4 Win 32 ?

    give me sample please ?

  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: how make barcode in Qt 4 Win 32 ?

    Hi,
    The easiest mode is use a font of characters.
    For example:

    QFont cbarFont("c39hrp24dhtt", 40, QFont::Normal);
    QTextCharFormat font40CBar = cur.charFormat();
    font40CBar.setFont(cbarFont);
    (...)
    cur.insertText("BOOK53.99", font40CBar);
    (...)

    Will create a 3x9 bar code.
    Find in the internet some another one font with the bar code that you want.

  3. #3
    Join Date
    Nov 2008
    Posts
    7
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default Re: how make barcode in Qt 4 Win 32 ?

    thank's
    i'l try find

Similar Threads

  1. QT4 for kde 4 beta 2 configure problem: make not found
    By marcomangiante in forum Installation and Deployment
    Replies: 1
    Last Post: 5th September 2007, 20:35
  2. Window OS make distclean && qmake && make one line
    By patrik08 in forum General Programming
    Replies: 4
    Last Post: 22nd March 2007, 10:43
  3. Compiling with Qmake/Make
    By VireX in forum Newbie
    Replies: 25
    Last Post: 22nd February 2007, 05:57
  4. Replies: 3
    Last Post: 19th October 2006, 22:13
  5. Qt4.1.4 make errors.
    By impeteperry in forum Installation and Deployment
    Replies: 11
    Last Post: 1st July 2006, 17:27

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.