Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. Error when starting debug with Qt Creator
Forum Update on Monday, May 27th 2025

Error when starting debug with Qt Creator

Scheduled Pinned Locked Moved Solved Qt Creator and other tools
4 Posts 3 Posters 689 Views
  • 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
    MaxQi
    wrote on 26 Jul 2023, 08:12 last edited by
    #1

    QQ截图20230726154453.png
    Firstly, as English is not my native language, my English level is very poor. I apologize for this.
    I encountered an error prompt while debugging with qt creator (as shown in the screenshot). When I press F5, this message will pop up. It says my Python version is 0.0, but actually, I have Python 2.7 on my machine (Windows OS) and its bin path is in $PATH (typing "python" in cmd does bring me to python cmd).
    In fact, the reason for the incident was that I switched from Qt Creator 4.5.0 (built-in when installing Qt 5.9.4) to 11.0.0 (the latest version), so that I could experience the latest features.
    I have searched for this issue on the QT forum before, and some people said that manually adding a kit can solve it, but I tried and it didn't work. Some people say that they can modify the. gdbinit file to disable certain features, but it seems that Windows platform does not have this file.
    Additionally, my colleague used the same Creator version as me and did not encounter this issue. Although he is using Qt6 and I am using 5.9.4, I do not think this is the cause of the problem. Based on this, I speculate that there is a problem with one of my configurations, so I uninstalled all versions of Qt, Qt Creator, Python, GDB, deleted all files with these keywords, and then reinstalled them. The problem remains unresolved.

    1 Reply Last reply
    0
    • J Offline
      J Offline
      JnewbieD
      wrote on 28 Jul 2023, 06:12 last edited by
      #2

      I have the same problem on two different machines with windows 10, Qt Creator 11 and Qt 5.15.2. Any suggestion?

      M 1 Reply Last reply 28 Jul 2023, 07:49
      0
      • C Christian Ehrlicher moved this topic from Installation and Deployment on 28 Jul 2023, 06:18
      • J JnewbieD
        28 Jul 2023, 06:12

        I have the same problem on two different machines with windows 10, Qt Creator 11 and Qt 5.15.2. Any suggestion?

        M Offline
        M Offline
        MaxQi
        wrote on 28 Jul 2023, 07:49 last edited by
        #3

        @JnewbieD I switched the version of qt creator to 10.0.0-rc1 and the problem was resolved. And I plan to use 10.0 until the updated version (perhaps 12.0) is released.

        1 Reply Last reply
        1
        • C Offline
          C Offline
          cristian-adam
          wrote on 28 Jul 2023, 19:20 last edited by
          #4

          It's a regression in Qt Creator 11.0.0. Qt Creator 10.0.2 works fine. See https://bugreports.qt.io/browse/QTCREATORBUG-29440

          Take libcpp_stdtypes.py and replace your version from c:\Qt\qtcreator-11.0.0\share\qtcreator\debugger\libcpp_stdtypes.py and it should be fine.

          1 Reply Last reply
          1
          • C Christian Ehrlicher referenced this topic on 29 Jul 2023, 05:58
          • M MaxQi has marked this topic as solved on 3 Aug 2023, 03:32

          1/4

          26 Jul 2023, 08:12

          • Login

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