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. designing window not showing
Qt 6.11 is out! See what's new in the release blog

designing window not showing

Scheduled Pinned Locked Moved Unsolved General and Desktop
c++qt creator
2 Posts 2 Posters 2.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.
  • A Offline
    A Offline
    abbou169
    wrote on last edited by
    #1

    hello ,
    I was looking for a platform for building applications in c++ to learn and I stumbled upon a tutorial on youtube talking about qt.
    so I went and downloaded it but when I came to start learning I noticed that the designing icon when I start a new qt widget application isn't clicable , so I can't acces the designing window .
    alt text I would apreciate it if I get any kind of hlp

    1 Reply Last reply
    0
    • mrjjM Offline
      mrjjM Offline
      mrjj
      Lifetime Qt Champion
      wrote on last edited by mrjj
      #2

      Hi and welcome to the forums.

      Go to the forms folder and click UI file or
      go to Widget.cpp and see if it has UI

      The reason the Design is disabled is that you are in main.cpp and it has no design file.

      alt text

      So a Widget does not have to have a visual UI file. its optional.
      And its ok to mix both UI file and code. or just create GUI from code only.

      But starting out with Qt, its good to use UI files so its easier to inspect the widgets etc.

      Also, use shift + f4 to switch between Designer and the code.
      Pressing the buttons Edit / Design does not work as one would expect and show you the UI files as XML and tell you
      cant edit it.

      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