Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. Installed 5.12.5 version of Qt: Getting QML Import errors in editor, but not when running
Forum Updated to NodeBB v4.3 + New Features

Installed 5.12.5 version of Qt: Getting QML Import errors in editor, but not when running

Scheduled Pinned Locked Moved Solved QML and Qt Quick
6 Posts 2 Posters 601 Views 2 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • fcarneyF Offline
    fcarneyF Offline
    fcarney
    wrote on last edited by
    #1

    I just went from 5.12.2 and installed 5.12.5 for an existing project. For some reason I am getting import errors that were not reported in 5.12.2. The errors look like this:
    0_1568665078760_Qt5.12.5 errors.png

    However, the program still runs fine and does not produce any runtime errors resulting from these import errors/warnings. So I have to imagine this is something to do with the parser not getting something it needs in Qt Creator. The modules installed in 5.12.5 are identical to what I installed with 5.12.2. All build and run options are the same.

    C++ is a perfectly valid school of magic.

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi,

      Did you also update Qt Creator ?

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • fcarneyF Offline
        fcarneyF Offline
        fcarney
        wrote on last edited by fcarney
        #3

        Last week I did. My version of Qt Creator is 4.10.0

        Edit:
        Just checked for updates. There are none available.

        C++ is a perfectly valid school of magic.

        1 Reply Last reply
        0
        • fcarneyF Offline
          fcarneyF Offline
          fcarney
          wrote on last edited by
          #4

          I just updated my Windows dev system to Qt 5.12.5 and Qt Creator 4.10.0. Getting the same results with the creator parsing. It shows the errors on imports, but otherwise the code runs fine.

          So I am seeing this with both Linux and Windows dev environments.

          C++ is a perfectly valid school of magic.

          1 Reply Last reply
          0
          • fcarneyF Offline
            fcarneyF Offline
            fcarney
            wrote on last edited by
            #5

            This fixed this:
            http://www.idees2l.renan.org/en/2018/03/07/qtcreator-and-code-model-error/

            C++ is a perfectly valid school of magic.

            1 Reply Last reply
            2
            • SGaistS Offline
              SGaistS Offline
              SGaist
              Lifetime Qt Champion
              wrote on last edited by
              #6

              Nice !

              Since you could fix it, please mark the thread as solved os other forum users may know a solution has been found :)

              Interested in AI ? www.idiap.ch
              Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

              1 Reply Last reply
              0

              • Login

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • Users
              • Groups
              • Search
              • Get Qt Extensions
              • Unsolved