RUN command option greyed out in Build menu
-
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
-
@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. -
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 -
@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.
-
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.