Results 1 to 8 of 8

Thread: Converting u_char to QString

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Sep 2006
    Posts
    46
    Thanks
    2
    Thanked 3 Times in 2 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Converting u_char to QString

    Hello,

    I have searched the forums here and could not find an answer and what I could find on the Internet was run through translators destroying meaning.

    I need to convert a (const u_char *varname) into a QString and then back again. I scoured the Qt4 docs and could not find anything relating to a u_char or conversion method.

    What I could translate from some forums was to use reinterpret_cast<> but could not implement it correctly in this situation.

    Any help would be appreciated.
    Last edited by merlvingian; 28th September 2006 at 02:50. Reason: Fatfingered ** ment *

Similar Threads

  1. QString to char* not converting
    By DPinLV in forum Qt Programming
    Replies: 17
    Last Post: 6th August 2006, 12:15
  2. QSqlQueryModel + set Write
    By raphaelf in forum Qt Programming
    Replies: 7
    Last Post: 5th June 2006, 08:55
  3. dialog box
    By Bahar in forum Qt Programming
    Replies: 3
    Last Post: 31st January 2006, 14:52
  4. [SOLVED] Widget plugin ... how to ?
    By yellowmat in forum Newbie
    Replies: 10
    Last Post: 29th January 2006, 20:41
  5. How to create custom slot in Qt Designer 4.1?
    By jamadagni in forum Qt Tools
    Replies: 31
    Last Post: 18th January 2006, 20:46

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.