[Resolved] Qt5.2 QML loader problem.



  • I am a beginner of Qt and QML.
    Now I am trying to show a sub window from a main window by using "Loader" element.
    The following code means that when the command button on a main window is clicked, the child window shows on the main window.
    @onButtonClick:{
    pageLoader.source ="07_newPatientInfo.qml"
    }
    Loader{
    id: pageLoader
    }
    @
    And by using sequence, "pageLoader.source =""" on the sub window, the child window is disappeared and the main window shows again.

    But the text strings in the command button, label string on the main window are corruption or disappeared.
     
    I don't know why it occurs.
    Please help me.

    Qt: 5.2.0 32bit, msvc10 + openGL
    OS: Windows 8 64bit
    Tool language: QML

    Best Regards,



  • I add the picture of screen.
    !http://d.hatena.ne.jp/kara_oguri/?_ts=1392198511(QML Screen of Good and Bad)!

    Sorry, I need to submit this question at "Qt Quick" thread.



  • Sorry, please the following the web site.
    "Your text to link here...":http://d.hatena.ne.jp/kara_oguri/?_ts=1392198511



  • This problem is resoled.
    Best Regards,


Log in to reply