10

I just upgraded from 5.4.1 to 5.5.0 today. But when I build my android project I get these lines of warning in compile output:

Warning: QML import could not be resolved in any of the import paths: QtQuick.Extras.Private
Warning: QML import could not be resolved in any of the import paths: QtQuick.Extras.Private.CppUtils
Warning: QML import could not be resolved in any of the import paths: QtQuick.Extras.Private.CppUtils
Warning: QML import could not be resolved in any of the import paths: HelperWidgets

What is this? My project compiles without any warnings in the previous version.

BaCaRoZzo
  • 7,502
  • 6
  • 51
  • 82
a.toraby
  • 3,232
  • 5
  • 41
  • 73
  • 1
    Which target platform? A quick grep through Qt shows this only comes up with `androiddeployqt`. – Mitch Jul 29 '15 at 13:33
  • 1
    Which window in Qt Creator do the errors show up in? Compile Output or General Messages? Is it when you build or does it only happen when you deploy? – Mitch Jul 29 '15 at 13:36
  • Hello there. When I build the android application Compile output shows these warnings. – a.toraby Jul 29 '15 at 18:18
  • So no deploying to your device is done, and these warnings still show up? – Mitch Jul 29 '15 at 18:22
  • @Mitch Yes, build causes this warning – a.toraby Jul 29 '15 at 18:29
  • Have you tried wiping your build directory and rebuilding? Does `qml/QtQuick/Extras` exist in your Qt installation? – Mitch Jul 30 '15 at 06:28
  • @Mitch Yes it does exist. And I tried clean, rebuild and I also manually deleted the build directory but no difference! – a.toraby Jul 30 '15 at 13:18
  • 1
    Then I don't know. You're probably better off creating a bug report. – Mitch Jul 30 '15 at 13:33

1 Answers1

2

The Qt project has a bugtracker where you should have searched for your issue.

This bug was reported a few days before your post here.

My conclusion: This issue is a bug in at least Qt 5.5.0 and 5.5.1.

Edit: The issue is still there with Qt 5.9. I never had any real problem here, and the fact that the priority in the issue trakcer is P3 indicates that this is nothing else but an incorrect warning which can simply be ignored.

FourtyTwo
  • 1,616
  • 2
  • 15
  • 43
  • Do you have another useful tip? That appears to be an issue in 5.6 (for me as well) surely if this was a bigger with Qt there would be more noise about it. – Tucker Downs Mar 29 '16 at 13:37