dubila
dubila

Reputation: 1169

Qt Creator - how to see the code of the designer?

I'm using Qt Creator.

I'm using the signals and slots editor, and I want to see the code it generates.

How can I see the code?

Thanks!

Upvotes: 2

Views: 3508

Answers (2)

Leister Campos
Leister Campos

Reputation: 1

when you use qt creater, this one is going to create a file with the name of your project, in my case it is called "build-prueba-Desktop_Qt_5_7_0_GCC_64bit-Debug", then in that file you have to look for a file with the "ui_" prefix, into that, you have the code you need

Upvotes: 0

Jérôme
Jérôme

Reputation: 27037

Let's say you have in Qt Creator a form file called widget.ui.

Once you've compiled your project, you'll find in your project folder a filed called ui_widget.h.

If you open it, you'll see the code generated by the uic tool.

Upvotes: 5

Related Questions