Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Update: Forum Guidelines & Code of Conduct


    Qt World Summit: Early-Bird Tickets

    Unsolved Qt Design Studio form editor did not working.

    Tools
    designstudio qt6 form editor
    4
    5
    985
    Loading More Posts
    • 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.
    • EbyZero
      EbyZero last edited by EbyZero

      I downloaded a latest qt installer for windows and installed only the design tools. I created a new 'qt quick application-launcher' project by design studio and chose qt6 and material dark style. I just ran the project right after created, and a window was opened with nothing but white background. What I expected was a window with a text on gray background. I checked the form editor and then i saw nothing on the editor. I am not an English user, it's hard to explain what it happened, so I took some screen shots.

      https://photos.app.goo.gl/MQPu9UhkcwQxsUHF9
      This is a shot of empty form editor in ds(design studio).

      https://photos.app.goo.gl/RN7fQvMeaVbdGBAZ6
      This is a shot of the window when I ran the project.

      https://photos.app.goo.gl/Wi1wAvv2y4QBWFUg9
      This is a shot of some messages when I ran the project.

      I searched with 'Failed to build graphics pipeline state', and got a hint from stackoverflow that it may works if add an env variable 'QT_QUICK_BACKEND' of value 'software'. So I did it and it really worked.

      https://photos.app.goo.gl/KiuekrZ5vTcsYiir6
      This is a shot to add a env variable.

      https://photos.app.goo.gl/CvzHtcksv17wShS98
      This is a shot of the window after adding env.

      BUT the form editor of ds still do not work, empty.
      I need some help to fix the problem.

      https://photos.app.goo.gl/pH8wrmWmfNQDn3Yu9
      I am using Qt Design Studio 2.2.2 and Windows 10.

      Please let me know how to fix it or what I mistake. Thank you sir.

      it's delicious!

      1 Reply Last reply Reply Quote 0
      • EbyZero
        EbyZero last edited by EbyZero

        I found an old post not resolved. https://forum.qt.io/topic/121959/problem-with-design-studio-and-qml
        Surprisingly, I am in 2021, and no one has responded to this post for about a year and it hasn't been resolved either. It seems no one knows the solution of the problem that the form editor doesn't show anything.

        Unbelievably, the design studio isn't showing any errors about the problem with the form editor. So I have absolutely no idea what is causing this problem.

        it's delicious!

        jsulm 1 Reply Last reply Reply Quote 0
        • jsulm
          jsulm Lifetime Qt Champion @EbyZero last edited by

          @EbyZero Did you check Qt bug tracker (https://bugreports.qt.io/secure/Dashboard.jspa)? If nobody filed a bug for this issue you can do.

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

          1 Reply Last reply Reply Quote 0
          • K
            KevinM 0 last edited by

            I had the same problem (Qt Design Studio 2.3.1), and didn't find a way to fix it. Even if I set the width and height properties of the rectangle (in my case) in the Form Editor it looked like the width and height were 0. I think this might have been a problem caused by the initial project settings for the width and height. I set them to 640 x 480, but may have set the layout to portrait instead of landscape.

            I created a new project and made sure I used standard sizes and layout and I was able to see the rectangle.

            I'll see if there is a way to reproduce this and submit a bug since I didn't see one for this problem.

            1 Reply Last reply Reply Quote 0
            • D
              Dennis254 last edited by

              dc4d228b-0604-4860-ba95-ae4541f57518-image.png

              am having the same issue .
              if I create a new project then select the Qt version 6 and then run the default code it produces no output .Ho do i fix fix this ?
              On the other hand if i start a new project and select the target Qt as Qt5 , it runs and produces an output..
              so what could be the issue
              da7bf813-5f34-42ca-abfb-40fd17527ea9-image.png

              1 Reply Last reply Reply Quote 0
              • First post
                Last post