Generate .h and .cpp from .ui file

前端 未结 6 665
佛祖请我去吃肉
佛祖请我去吃肉 2020-12-29 12:54

Suppose I have the file about.ui. How can I make the \"about.h\" and the \"about.cpp\" from my .ui file?

6条回答
  •  抹茶落季
    2020-12-29 13:05

    if you are using qt creator in windows, just right click your project and click execute qmake, then it will generate a ui_xxx.h and you can add #include ui_xxx.h in your file.

提交回复
热议问题