インポートファイルセレクタ
この警告カテゴリーはqmllintによって[import-file-selector] 。
ファイルセレクタを持つQMLモジュールに対するQMLツールの制限のため、このカテゴリはデフォルトでは無効になっています。
インポート中に発生した警告
何が起こったのでしょうか?
インポートされたモジュールの ファイルセレクタが原因で、インポートされたモジュールの型があいまいであることをQMLツールが発見しました。QMLランタイムはランタイムの設定に基づいて適切なファイルを選択しますが、QMLツールはどのファイルが選択されるかの情報を持っていないため、曖昧さが生じます。
なぜ悪いのでしょうか?
コンパイラはこのファイルをC++にコンパイルすることができません。QML Language ServerコンパイラはこのファイルをC++にコンパイルできません。
© 2026 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.