Resource Browser in Qt Designer?
-
I am only using QT Designer. I need to create and manage a .qrc file in order to start using resources. I read on QT's 5.13 Designer manual, section "Editing Resources with Qt Designer", that you don't need QT creator for this and that you simply:
"enable the resource editor by opening the Tools menu, and switching on the Resource Browser option"
No where in tools, or anywhere else, can I find anything to do with the resource browser, and I cannot find any more helpful information online on how to open the resource browser in QT Designer.
-
It's in the View menu.
Another way is to right click any docking windows's title bar and it's on the list.
Yet another place - you can right click empty space on the top toolbar and it's there too.
Last but not least you can find any widget property that can use resources, e.g. icon, in any widget's property browser, click the little down arrow next to the [...] button anch choose a resource from there. It will open another instance of that resource browser. -
Thank you for the reply. I just realized that I am being very stupid, I am using the Designer part of QT Creator. This is why I am unable to do anything. Under Window->Views-> there is no mention of the resource browser, and right clicking what I believe to be the top toolbar doesn't seem to help.
-
Sorry, something is not clear - ar you using Qt Designer, the standalone application, or designer embedded in the Qt Creator? Because those are different things and first you said you're using designer and then creator.
My answer was for the Qt Designer, the standalone application. If you're using Qt Creator then you can still use the last option I gave - choose resource from the property browser.
-
My apologies for all of the confusion, I am indeed in the Creator embedded Designer. I have done your "last step" before, but it doesn't seem to pull up the full resource browser. I am looking for the browser that lets me edit and add prefixes to my manually created .qrc file.
-
In Qt Creator resources are edited on the "Edit" tab instead of the "Design"tab.
In the project tree pane you can edit your .qrc file in place by right clicking it and choosing various options. There are also the "Open in Editor" and "Open With - > Resource Editor" options in there which open the full resource editor pane. -
Ok, thank you for the help.
-
hi
just in case.
