Results 1 to 17 of 17

Thread: converting QByteArray to unsigned short

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #6
    Join Date
    Jan 2006
    Location
    Belgium
    Posts
    1,938
    Thanked 268 Times in 268 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows
    Wiki edits
    20

    Default Re: converting QByteArray to unsigned short

    Dudes... really...

    Qt Code:
    1. QString::number(ushortNumber, 16)
    To copy to clipboard, switch view to plain text mode 

    :-)

  2. The following user says thank you to tbscope for this useful post:

    sattu (28th September 2010)

Similar Threads

  1. QByteArray can not support unsigned char?
    By olosie in forum Newbie
    Replies: 2
    Last Post: 31st July 2010, 10:02
  2. Replies: 5
    Last Post: 9th April 2007, 14:26
  3. Tiff in unsigned short
    By spawnwj in forum Qt Programming
    Replies: 14
    Last Post: 26th July 2006, 07:41
  4. converting string to unsigned integer
    By mgurbuz in forum Qt Programming
    Replies: 4
    Last Post: 12th May 2006, 09:46
  5. Converting QString to unsigned char
    By salston in forum Qt Programming
    Replies: 3
    Last Post: 24th April 2006, 22:10

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.