Qt Designer Launcher
中文 | English
中文
1. 功能特点
- 在资源管理器中右键点击.ui文件,选择"Open with Qt Designer"打开
- 启用自动打开功能后,双击.ui文件直接用Qt Designer打开
- 自动在Windows、macOS和Linux系统中查找Qt Designer路径
- 支持在VS Code设置中手动配置Qt Designer路径
- 智能激活机制,提高性能
- 支持MIT许可证
- 跨平台支持
2. 环境要求
- 系统中已安装Qt Designer
- Visual Studio Code版本1.80.0或更高
3. 扩展设置
该扩展贡献了以下设置:
qtDesignerLauncher.designerPath:Qt Designer可执行文件的路径。如果未指定,扩展会尝试自动查找。
qtDesignerLauncher.autoOpen:是否在点击.ui文件时自动用Qt Designer打开。
4. 使用方法
- 安装扩展
- 在资源管理器中右键点击任意.ui文件
- 选择"Open with Qt Designer"选项
- 文件将在Qt Designer中打开
5. 配置说明
如果扩展无法自动找到Qt Designer,可以手动配置路径:
- 打开VS Code设置(
Ctrl+, 或 Cmd+,)
- 搜索"Qt Designer Launcher"
- 在"Designer Path"字段中设置Qt Designer的完整路径
6. 路径示例
Windows
C:\Qt\6.5.0\mingw_64\bin\designer.exe
macOS
/Applications/Qt/6.5.0/clang_64/bin/Designer.app/Contents/MacOS/Designer
Linux
/usr/bin/designer
7. 更新日志
1.0.0
- 初始发布
- 基本功能:用Qt Designer打开UI文件
- 右键菜单集成
- 双击自动打开功能
- 自动检测Qt Designer路径(支持Windows、macOS和Linux)
- VS Code设置中的手动配置支持
- 智能激活机制
- MIT许可证
- 跨平台支持
8. 贡献
欢迎贡献!请随时提交Pull Request。
9. 许可证
MIT
English
1. Features
- Right-click on any
.ui file in the explorer and select "Open with Qt Designer"
- Automatically open
.ui files with Qt Designer when double-clicked (if enabled)
- Automatically searches for Qt Designer executable in common paths across Windows, macOS, and Linux
- Allows manual configuration of Qt Designer path in settings
- Smart activation mechanism for better performance
- MIT license
- Cross-platform support
2. Requirements
- Qt Designer must be installed on your system
- Visual Studio Code version 1.80.0 or higher
3. Extension Settings
This extension contributes the following settings:
qtDesignerLauncher.designerPath: Path to Qt Designer executable. If not specified, the extension will try to find it automatically.
qtDesignerLauncher.autoOpen: Automatically open .ui files with Qt Designer when clicked.
4. Usage
- Install the extension
- Right-click on any
.ui file in the explorer
- Select "Open with Qt Designer" from the context menu
- The file will be opened in Qt Designer
5. Configuration
If the extension can't find Qt Designer automatically, you can configure the path manually:
- Open VS Code settings (
Ctrl+, or Cmd+,)
- Search for "Qt Designer Launcher"
- Set the path to your Qt Designer executable in the "Designer Path" field
6. Example Paths
Windows
C:\Qt\6.5.0\mingw_64\bin\designer.exe
macOS
/Applications/Qt/6.5.0/clang_64/bin/Designer.app/Contents/MacOS/Designer
Linux
/usr/bin/designer
7. Release Notes
1.0.0
- Initial release
- Basic functionality to open UI files with Qt Designer
- Right-click context menu integration
- Double-click auto-open feature
- Automatic detection of Qt Designer path across Windows, macOS and Linux
- Manual configuration support in VS Code settings
- Smart activation mechanism
- MIT license
- Cross-platform support
8. Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
9. License
MIT
| |