Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. RUN command option greyed out in Build menu
Forum Updated to NodeBB v4.3 + New Features

RUN command option greyed out in Build menu

Scheduled Pinned Locked Moved Solved Qt Creator and other tools
8 Posts 4 Posters 842 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
    Achab61
    wrote on last edited by
    #1

    Hi all,
    I'm using QT Creator on Mac (OS Monterey) and I created a Widget with the Designer.
    I would need to run a preview to see how the form looks like but the 'Run' option in the build menu is not available as it's greyed out.

    Any clue why ?

    Thanks in advance

    jsulmJ 1 Reply Last reply
    0
    • A Achab61

      Hi all,
      I'm using QT Creator on Mac (OS Monterey) and I created a Widget with the Designer.
      I would need to run a preview to see how the form looks like but the 'Run' option in the build menu is not available as it's greyed out.

      Any clue why ?

      Thanks in advance

      jsulmJ Offline
      jsulmJ Offline
      jsulm
      Lifetime Qt Champion
      wrote on last edited by
      #2

      @Achab61 said in RUN command option greyed out in Build menu:

      Any clue why ?

      Probably because you did not create any projects?
      Create a project where you use your widget.

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

      1 Reply Last reply
      0
      • A Offline
        A Offline
        Achab61
        wrote on last edited by
        #3

        Thanks for the hint.
        I'm pretty new on QT usage and I thought there was a way to preview a form created with QT Designer but not linked to a specific project.
        My intention was to create the form, convert the .ui file to .py file and write the Python code to manage it

        JonBJ 1 Reply Last reply
        0
        • A Achab61

          Thanks for the hint.
          I'm pretty new on QT usage and I thought there was a way to preview a form created with QT Designer but not linked to a specific project.
          My intention was to create the form, convert the .ui file to .py file and write the Python code to manage it

          JonBJ Offline
          JonBJ Offline
          JonB
          wrote on last edited by
          #4

          @Achab61 said in RUN command option greyed out in Build menu:

          I thought there was a way to preview a form created with QT Designer

          I think there is a "preview" key for this --- isn't it Ctrl+R:

          This feature can be activated by opening the Form menu and selecting Preview, or by pressing Ctrl+R when in the form.

          1 Reply Last reply
          0
          • A Offline
            A Offline
            Achab61
            wrote on last edited by
            #5

            Well, at least on my Mac, CRTL+R (or Command +R) does not issue any form preview. I read it in the QT designer documentation but it seems not working ...

            JonBJ 1 Reply Last reply
            0
            • A Achab61

              Well, at least on my Mac, CRTL+R (or Command +R) does not issue any form preview. I read it in the QT designer documentation but it seems not working ...

              JonBJ Offline
              JonBJ Offline
              JonB
              wrote on last edited by JonB
              #6

              @Achab61

              @JonB said in RUN command option greyed out in Build menu:

              by opening the Form menu and selecting Preview,

              ?

              1 Reply Last reply
              2
              • S Offline
                S Offline
                SimonSchroeder
                wrote on last edited by
                #7

                You will find the option to show the dialog (without compiling or anything like that) in the menu under 'Tools' -> 'Form Editor' -> 'Preview'. On Windows it says the shortcut is Alt+Shift+R. The 'Run' option you mentioned would first compile the software and then run the full software and not just the dialog.

                1 Reply Last reply
                1
                • A Offline
                  A Offline
                  Achab61
                  wrote on last edited by
                  #8

                  Thank you very much JonB. I found the preview form and it worked. On Mac the shorcut sequence is Opt->Shift->R. Thanks again

                  1 Reply Last reply
                  1

                  • Login

                  • Login or register to search.
                  • First post
                    Last post
                  0
                  • Categories
                  • Recent
                  • Tags
                  • Popular
                  • Users
                  • Groups
                  • Search
                  • Get Qt Extensions
                  • Unsolved