Generate .h and .cpp from .ui file

前端 未结 6 666
佛祖请我去吃肉
佛祖请我去吃肉 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:10

    If automatic generation does not work (like in my case) you can use uic to generate the header file manually. uic file.ui > file.h

提交回复
热议问题