Results 1 to 5 of 5

Thread: Strange binary file output when using QByteArray.

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Dec 2014
    Posts
    4
    Qt products
    Qt4
    Platforms
    Unix/X11
    Thanks
    5

    Default Re: Strange binary file output when using QByteArray.

    Thank you, anda_skoa and wysota.
    I will try to use std::fstream or fwrite.

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,373
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Thanks
    4
    Thanked 5,019 Times in 4,795 Posts
    Wiki edits
    10

    Default Re: Strange binary file output when using QByteArray.

    It is enough to use QFile::write.
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


Similar Threads

  1. strange output using topercentencoding()
    By raj_iv in forum Qt Programming
    Replies: 3
    Last Post: 5th December 2012, 08:25
  2. Overlapping binary files with QByteArray stream
    By CodeHunt in forum Qt Programming
    Replies: 4
    Last Post: 2nd May 2012, 11:08
  3. Parsing/extracting from a binary QByteArray
    By Phlucious in forum Qt Programming
    Replies: 4
    Last Post: 2nd December 2011, 20:15
  4. Strange QByteArray mismatch
    By giusepped in forum Qt Programming
    Replies: 0
    Last Post: 25th October 2011, 18:28
  5. dynamicCall and QByteArray - strange characters
    By franco.amato in forum Qt Programming
    Replies: 120
    Last Post: 28th April 2010, 22:11

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
  •  
Qt is a trademark of The Qt Company.