【已解决】Qt Creator设计模式被禁用不能点的原因及解决方案

Qt Creator 下载地址(含历史版本):https://download.qt.io/official_releases/qtcreator/

症状

Qt Creator 目前最新版为12.0.1,安装后打开.qml文件发现设计工具图标为禁用状态。

原因及解决方案

根据官网材料(Qt Creator 6 Released)显示,自2021年12月2日发布的Qt Creator 6.0 版本之后Qt Quick Designer设计模式为默认禁止状态,需要在帮助-关于插件中载入并开启QmlDesigner,重启后再次打开.qml文件即可正常显示设计模式可切换状态。

原文:
The integrated Qt Quick Designer is now disabled by default. Qt Creator will open .ui.qml files in Qt Design Studio. This is a step towards a more integrated workflow between Qt Design Studio and Qt Creator (video). Qt Quick Designer is still there, you can manually enable it again by checking the QmlDesigner plugin in Help > About Plugins.

【已解决】Qt Creator设计模式被禁用不能点的原因及解决方案_第1张图片
【已解决】Qt Creator设计模式被禁用不能点的原因及解决方案_第2张图片

参考网址

升级到Creator6之后,设计模式不能用了

你可能感兴趣的:(Qt,qt,设计模式,开发语言)