Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. QTextDocument serialization
Forum Update on Monday, May 27th 2025

QTextDocument serialization

Scheduled Pinned Locked Moved General and Desktop
qtextdocumentserializationqtextcursor
1 Posts 1 Posters 882 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    Milovidov
    wrote on last edited by Milovidov
    #1

    I read old topics about QTextDocument serialization.
    As I understood, once real method for serialization and deserializtion without additional code is saving and reading documents as html files.
    But, I think, this method not fast, because html string parsing is a hard and low time operation.

    In other case, I can save document in binary format and deserialize them via QTextCursor methods calling in sequence, that faster then html parsing, I think.

    Is exist code samples for QTextDocument binary serialization?

    1 Reply Last reply
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved