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. Ctrl+Click on QML Object in QtCreator 15 opens QML file from build tmp directory
Forum Updated to NodeBB v4.3 + New Features

Ctrl+Click on QML Object in QtCreator 15 opens QML file from build tmp directory

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
5 Posts 4 Posters 352 Views 3 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.
  • M Offline
    M Offline
    Miguel_Alvarez
    wrote on last edited by
    #1

    Qt version: 6.8.0
    Qt Creator version: 15.0.0
    OS version: Windows 11

    Hi, I am having an issue when using QML Modules . You can reproduce it with the QML Module example QMLModules_Section3 from Qt Academy in:
    [https://github.com/qt-learning/QML-Modules](link url)

    The problem is that when you try to navigate to a QML object using Ctrl+Click on QtCreator code editor, it opens the temporary QML file on QT_QML_OUTPUT_DIRECTORY instead of opening the file on your project directory, resulting on work lost if you are not aware of it.
    You can open the QML file from your project source directory just fine using the Project tree navigator or searching for the file with Ctrl+K.

    I am aware of QtCreator v15 having issues with the QML Language Server as stated here:
    [https://www.qt.io/blog/issues-with-qml-language-server-integration-in-qt-creator-14.0-and-15.0](link url)

    but this is happening regardless of having the QML Language Server enabled or not on the QtCreator Preferences.
    Any idea of why is this happening or how could it be solved?
    Thanks

    1 Reply Last reply
    0
    • mzimmersM Offline
      mzimmersM Offline
      mzimmers
      wrote on last edited by mzimmers
      #2

      I'm seeing the same thing on my Ubuntu desktop. Does anyone know of a current bug report for this?

      EDIT:

      And now, as of Creator 16.0, I'm seeing it on Windows as well. This is really annoying.

      1 Reply Last reply
      0
      • E Offline
        E Offline
        elendilm
        wrote on last edited by elendilm
        #3

        Same issue here with Qt Creator 16.0 on KDE Neon. Anyone know any solutions?

        1 Reply Last reply
        0
        • E Offline
          E Offline
          elendilm
          wrote on last edited by
          #4

          For some reason the issue magically disappeared. I removed Qt Creator 16 from the maintenance tool and then reinstalled the Qt Creator 16. Now the issue appears to be automatically fixed after the first time the build is run.

          1 Reply Last reply
          0
          • ekkescornerE Offline
            ekkescornerE Offline
            ekkescorner
            Qt Champions 2016
            wrote on last edited by
            #5

            perhaps this bug https://bugreports.qt.io/browse/QTBUG-131920
            fixed in 6.8.2 / 6.9.0

            ekke ... Qt Champion 2016 | 2024 ... mobile business apps
            5.15 --> 6.8 https://t1p.de/ekkeChecklist
            QMake --> CMake https://t1p.de/ekkeCMakeMobileApps

            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