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. [Resolved] Qt5.2 QML loader problem.
Forum Updated to NodeBB v4.3 + New Features

[Resolved] Qt5.2 QML loader problem.

Scheduled Pinned Locked Moved General and Desktop
4 Posts 1 Posters 1.6k 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.
  • W Offline
    W Offline
    w_cdex
    wrote on last edited by
    #1

    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,

    1 Reply Last reply
    0
    • W Offline
      W Offline
      w_cdex
      wrote on last edited by
      #2

      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.

      1 Reply Last reply
      0
      • W Offline
        W Offline
        w_cdex
        wrote on last edited by
        #3

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

        1 Reply Last reply
        0
        • W Offline
          W Offline
          w_cdex
          wrote on last edited by
          #4

          This problem is resoled.
          Best Regards,

          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