Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. General talk
  3. Brainstorm
  4. Multithreaded multi-MDI app
Forum Updated to NodeBB v4.3 + New Features

Multithreaded multi-MDI app

Scheduled Pinned Locked Moved Brainstorm
2 Posts 2 Posters 2.0k Views 1 Watching
  • 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.
  • A Offline
    A Offline
    andrejp
    wrote on last edited by
    #1

    The app is using multiple windows with each window containing multiple documents. Each document is both graphically as well as computationally intensive and splitting it off to a separate process is a no-go. One top-level window per display, with MDI for individual documents – up to 12 documents is not uncommon on single display setups, many more on multi-display setups with as many as 9+ displays not uncommon either, so lots of documents).

    Qt’s Graphics View framework fits perfectly for rendering and interacting with the graphics of a single document, but since there’s typically many documents open at the same time I’m not sure how to proceed as far as multi-threading it. AFAIK QGraphicsScene and friends are not thread-safe, or even reentrant and keeping the app single-threaded is basically a deal-breaker as far as using Qt for the app goes, so any suggestions would be welcome.

    EDIT: closed this topic as it's a double post, Gerolf

    1 Reply Last reply
    0
    • G Offline
      G Offline
      giesbert
      wrote on last edited by
      #2

      Hi andrejp,

      please, don't double post. Continue on "this thread":http://developer.qt.nokia.com/forums/viewthread/11978/

      Nokia Certified Qt Specialist.
      Programming Is Like Sex: One mistake and you have to support it for the rest of your life. (Michael Sinz)

      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