Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-25401

Qt3D: onEffectChanged and onMaterialChanged events not working in 4.8

    XMLWordPrintable

Details

    • Bug
    • Resolution: Invalid
    • P3: Somewhat important
    • None
    • Qt3D 1.0
    • Qt3D
    • None
    • Windows 7, Ubuntu 10.0.4 LTS, Qt 4.8.1, Qt3D 1.0

    Description

      Running the following code using Qt3D for Qt4.8:

      import QtQuick 1.1
      import Qt3D 1.0
      import Qt3D.Shapes 1.0
      
      Viewport {
          width: 640; height: 480
          Cube{
              effect: Effect{
                  texture: "http://files.softicons.com/download/application-icons/ruby-programming-icons-by-ahmad-galal/png/512/Qt_Ruby.png"
                  onMaterialChanged: console.log("material updated")
                  onEffectChanged: console.log("texture updated")
              }
          }
      }
      

      Nothing are printed out.

      It should trigger the two signals when the texture is successfully loaded.

      This problem doesn't exist in Qt3D 2.0 with Qt5.x.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            dpope Daniel Pope (closed Nokia identity) (Inactive)
            z35liu Zheng Liu (closed Nokia identity) (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes