Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. display same QEntity in multi viewport

display same QEntity in multi viewport

Scheduled Pinned Locked Moved Unsolved Qt Creator and other tools
5 Posts 2 Posters 1.0k 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.
  • B Offline
    B Offline
    bozo6919
    wrote on last edited by
    #1

    Hi,

    I'm trying to display the same QEntity at multiple viewports.
    When I display it in one Qt3DWindow, all works. But when I want to display the same QEntity with a second Qt3DWindow, the QEntity will be erased of the first screen for being displayed in the second, I know it's normal with pointers.

    But there is a way to do that? Duplicate data of a QEntity for example?
    My QEntity is provided by a QSceneLoader.

    Sorry for my English ^^'

    1 Reply Last reply
    0
    • B Offline
      B Offline
      bozo6919
      wrote on last edited by
      #2

      nobody? :(

      Sorry for my English ^^'

      jsulmJ 1 Reply Last reply
      0
      • B bozo6919

        nobody? :(

        jsulmJ Offline
        jsulmJ Offline
        jsulm
        Lifetime Qt Champion
        wrote on last edited by
        #3

        @bozo6919 I'm not an Qt3D expert, but I think you can't put same entity in more than one screen. I would say you need to duplicate it.

        https://forum.qt.io/topic/113070/qt-code-of-conduct

        B 1 Reply Last reply
        0
        • jsulmJ jsulm

          @bozo6919 I'm not an Qt3D expert, but I think you can't put same entity in more than one screen. I would say you need to duplicate it.

          B Offline
          B Offline
          bozo6919
          wrote on last edited by
          #4

          Yes, I have mentioned that I need to duplicate it but I don't know how.

          With the version 5.5 and 5.6 QEntity has got a function QEntity::copy but now, this function doesn't exist anymore.

          Sorry for my English ^^'

          1 Reply Last reply
          0
          • B Offline
            B Offline
            bozo6919
            wrote on last edited by
            #5

            Up the last one

            Sorry for my English ^^'

            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