[Interest] Qml Linting Error - Warnings occurred while importing module "QtQuick.Controls":

Nuno Santos nuno.santos at imaginando.pt
Mon Dec 19 20:36:19 CET 2022


Thanks for your reply.

I will try again. There will be more questions for sure. 

Will there be a 2022 version of the following video?

https://www.youtube.com/watch?v=4ji6D6UpA54 <https://www.youtube.com/watch?v=4ji6D6UpA54>

Best regards,


> On 19 Dec 2022, at 18:43, Ulf Hermann via Interest <interest at qt-project.org> wrote:
>> Warning: QtQuick.Controls uses optional imports which are not supported. Some types might not be found.
> This is not an error but a warning. Indeed the compiler will not compile your code to C++ because it doesn't know which of the optional imports (ie styles) will be active at run time. You can import one specific style, for example QtQuick.Controls.Fusion instead of QtQuick.Controls. Then the compiler will know what to expect, but you won't be able to use a different style at run time anymore.
> best regards,
> Ulf
> _______________________________________________
> Interest mailing list
> Interest at qt-project.org
> https://lists.qt-project.org/listinfo/interest

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20221219/d802479a/attachment.htm>

More information about the Interest mailing list