简体   繁体   中英

How to add additional .ui files in Qt VS Add-in

I have created a Qt Application project in Visual Studio. It generates one .ui file for the main window. What if I want to add another window?

If you use visual studio 2013 and Qt 5, right click your project in solution explorer and select Add -> Class... to launch Add Class dialog.

You can create Qt5GuiClass for your new window in the dialog.

在Visual Studio的解决方案资源管理器中,右键单击“ 表单文件” ->“ 添加新项” ->“ Qt表单” ,然后选择“ Qt对话框”表单(.ui)。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM