IntelliJ Idea不支持QT和QML(IntelliJ Idea does not support QT and QML)

Answered

Clion和PyCharm都有对应的QT和QML插件,但是Idea无法使用这些插件。因为我正在使用kotlin和Qtjambi库开发,所以需要Idea支持QT的.ui文件和QML文件。

Clion and PyCharm both have corresponding QT and QML plugins, but Idea cannot use these plugins. Because I am using Kotlin and Qtjambi libraries for development, I need Idea to support QT. ui files and QML files.

0
6 comments

These plug-ins are not bundled with IntelliJ IDEA Ultimate (just like Python plug-in). You can install them from the Marketplace:

 

 

1

我不能从插件市场 搜索到它们,下面使我的idea版本和搜索结果。

I cannot search for them from the plugin market. Below are my idea versions and search results.

0

While our team is investigating the issue, please download qml-qt-plugins.zip and unpack into the Plugins directory: https://www.jetbrains.com/help/idea/directories-used-by-the-ide-to-store-settings-caches-plugins-and-logs.html#plugins-directory.

The link will be valid for 60 days.

0

I have installed Qt and QML plugins, and Idea can recognize file types, but still cannot create a. ui file like Clion. This is my Idea.log.

At least it has some effect, thank you again for your help.

 I have read some of the plugin source code, and it seems that the plugin wants to integrate with Qt tools. Here are some suggestions for commonly used Qt tools. Double click on the. ui file to call designer.exe and open it. Use uic.exe to convert the. ui file to. cpp code or use qtjambi-uic.jar to convert the. ui file to Java or Kotlin code.Jetbrains IDE is the most powerful and efficient developer tool I have ever used. Looking forward to becoming better

0

You can use New | File option and type the extension manually, like myfile.ui. Does it help?

0

Please sign in to leave a comment.