Anybody have Qt? I have a question.

Is it possible to write out a resource file in Qt? I hate using the Qt resource thing, I would much rather type it out. Anybody know?

I kind of have to write out the resource if I want to do any windows programming. So, I would appreciate it if anybody could answer
Last edited on
I'm not sure what you mean by "QT resource thing", but if you mean add your own resource file, then yes. Just add it to the project like any other file.
No, like a .rc file. In Qt, there is a .qrc file. I can't find an alternative
You mean a native Windows resource? No, Qt only supports its own custom resources.

I kind of have to write out the resource if I want to do any windows programming.
How so?
Actually, yes you can and as far as I could find it is the only way to add an image to the .exe file. Using VS is the recommended way to create it also. It ends up in the "Other files" folder of the project instead of the "Resources" folder, but Qt doesn't seem to have a problem with it. I can't say if other types of resources would have problems or not, but I find dealing with then in QT much easier than VS and don't have any problem dealing with .qrc files.

I kind of have to write out the resource if I want to do any windows programming.
How so?


Well, in windows, I haven't figured out how to use resource editors, just typing it out in a .rc file. That, and I like typing it out better. I feel like I am more professional and cognizant
I was asking why you need native resources specifically. The point of resource files is to allow you to embed files in the executable, which Qt resources are perfectly capable of doing.

That, and I like typing it out better. I feel like I am more professional and cognizant
Professionalism is (among other things) about doing things efficiently, not about doing things that make you feel more l33t.
Topic archived. No new replies allowed.