开发者社区> 问答> 正文

Qt desiner ui问题? 400 报错

Qt desiner ui问题? 400 报错

ui以代码形式打开了而不是界面怎么办?
<UI version="4.0" >
<class>MyClassClass</class>
<widget class="QMainWindow" name="MyClassClass" >
<property name="objectName" >
<string notr="true">MyClassClass</string>
</property>
<property name="geometry" >
<rect>
<x>0</x>
<y>0</y>
<width>600</width>
<height>400</height>
</rect>
</property>
<property name="windowTitle" >
<string>MyClass</string>
</property>
<widget class="QMenuBar" name="menuBar" />
<widget class="QToolBar" name="mainToolBar" />
<widget class="QWidget" name="centralWidget" />
<widget class="QStatusBar" name="statusBar" />
</widget>
<layoutDefault spacing="6" margin="11" />
<pixmapfunction></pixmapfunction>
<resources>
<include location="myclass.qrc"/>
</resources>
<connections/>
</UI>

 

展开
收起
爱吃鱼的程序员 2020-05-29 20:47:17 429 0
1 条回答
写回答
取消 提交回答
  • https://developer.aliyun.com/profile/5yerqm5bn5yqg?spm=a2c6h.12873639.0.0.6eae304abcjaIB

    UI 小写为 ui

    ######

    ui文件是手工设计界面,不知道为什么现在打开都是代码不是界面了

    ######

    改下打开方式不就得了

    ######已经弄好了,谢谢######右键用设计师界面打开就行了
    2020-05-29 20:47:18
    赞同 展开评论 打赏
问答标签:
问答地址:
问答排行榜
最热
最新

相关电子书

更多
使用TensorFlow搭建智能开发系统自劢生成App UI代码 立即下载
Fusion Design - 企业级UI解决方案揭秘 立即下载
使用TensorFlow搭建智能开发系统自动生成App UI 立即下载

相关镜像