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. After opening Qt Creator, a PowerShell window pops up repeatedly within a short period of time.
Forum Updated to NodeBB v4.3 + New Features

After opening Qt Creator, a PowerShell window pops up repeatedly within a short period of time.

Scheduled Pinned Locked Moved Unsolved Qt Creator and other tools
7 Posts 3 Posters 79 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.
  • H Offline
    H Offline
    hackerturtle
    wrote last edited by
    #1

    Hi,

    After adding an SSD to my laptop and migrating some data (I'm not sure if that's what caused it), my Qt Creator keeps popping up and closing a PowerShell window shortly after startup. Based on my research, the pop-up window is running the file AppData\Local\Temp\QtCreator-ptmNeb\KqzPdz.bat (AppData\Local\Temp\QtCreator-**.bat, which changes each time it starts up).

    If you need any further information, please feel free to leave a message.

    Thank you for your help.

    屏幕截图 2025-08-19 210219.png

    JonBJ cristian-adamC 2 Replies Last reply
    0
    • H hackerturtle

      Hi,

      After adding an SSD to my laptop and migrating some data (I'm not sure if that's what caused it), my Qt Creator keeps popping up and closing a PowerShell window shortly after startup. Based on my research, the pop-up window is running the file AppData\Local\Temp\QtCreator-ptmNeb\KqzPdz.bat (AppData\Local\Temp\QtCreator-**.bat, which changes each time it starts up).

      If you need any further information, please feel free to leave a message.

      Thank you for your help.

      屏幕截图 2025-08-19 210219.png

      JonBJ Offline
      JonBJ Offline
      JonB
      wrote last edited by JonB
      #2

      @hackerturtle Might help if you said what version of Creator.

      H 1 Reply Last reply
      0
      • H hackerturtle

        Hi,

        After adding an SSD to my laptop and migrating some data (I'm not sure if that's what caused it), my Qt Creator keeps popping up and closing a PowerShell window shortly after startup. Based on my research, the pop-up window is running the file AppData\Local\Temp\QtCreator-ptmNeb\KqzPdz.bat (AppData\Local\Temp\QtCreator-**.bat, which changes each time it starts up).

        If you need any further information, please feel free to leave a message.

        Thank you for your help.

        屏幕截图 2025-08-19 210219.png

        cristian-adamC Offline
        cristian-adamC Offline
        cristian-adam
        wrote last edited by
        #3

        @hackerturtle Set QT_LOGGING_RULES=qtc*=true environment variable and start DebugView.

        This way you can capture all the Qt Creator logging, and you should be able to find out what is going on.

        H 1 Reply Last reply
        1
        • JonBJ JonB

          @hackerturtle Might help if you said what version of Creator.

          H Offline
          H Offline
          hackerturtle
          wrote last edited by
          #4

          @JonB
          Qt Creator 17.0.0

          Built on Jun 17 2025 16:32:24 based on Qt 6.9.1 (MSVC 2022, x86_64)

          From revision 4983f08c47

          1 Reply Last reply
          0
          • cristian-adamC cristian-adam

            @hackerturtle Set QT_LOGGING_RULES=qtc*=true environment variable and start DebugView.

            This way you can capture all the Qt Creator logging, and you should be able to find out what is going on.

            H Offline
            H Offline
            hackerturtle
            wrote last edited by
            #5

            @cristian-adam

            Following your suggestion, I used the tool to obtain the relevant logs, but unfortunately, I still don't understand what exactly happened.

            In the logs, the key data “C:\Users\21421\AppData\Local\Temp\QtCreator-UTRrUJ*.bat” first appears on line 6820 and reappears on lines 7636 and 8080. I hope someone can help me figure out what happened.

            Thank you very much.

            LAPTOP-C5515IDM.LOG

            cristian-adamC 1 Reply Last reply
            0
            • H hackerturtle referenced this topic
            • H Offline
              H Offline
              hackerturtle
              wrote last edited by
              #6

              In addition, I found that when I ran Qt Creator “as administrator,” this phenomenon did not occur, but when I enabled support, it reappeared.

              1 Reply Last reply
              0
              • H hackerturtle

                @cristian-adam

                Following your suggestion, I used the tool to obtain the relevant logs, but unfortunately, I still don't understand what exactly happened.

                In the logs, the key data “C:\Users\21421\AppData\Local\Temp\QtCreator-UTRrUJ*.bat” first appears on line 6820 and reappears on lines 7636 and 8080. I hope someone can help me figure out what happened.

                Thank you very much.

                LAPTOP-C5515IDM.LOG

                cristian-adamC Offline
                cristian-adamC Offline
                cristian-adam
                wrote last edited by
                #7

                @hackerturtle

                00007635	5.66594458	[18472] qtc.projectexplorer.toolchain.msvc: readEnvironmentSetting:  "call \"D:/Program Files/Microsoft Visual Studio/2022/VC/Auxiliary/Build/vcvarsall.bat\" x86" "C:\\WINDOWS\\system32\\cmd.exe /D /E:ON /V:ON /c C:\\Users\\21421\\AppData\\Local\\Temp\\QtCreator-UTRrUJ\\cwmuNx.bat"  Env:  79	
                00007636	5.66596460	[18472] qtc.utils.process: Process 30 starting (blocking without event loop): C:\WINDOWS\system32\cmd.exe /D /E:ON /V:ON /c C:\Users\21421\AppData\Local\Temp\QtCreator-UTRrUJ\cwmuNx.bat	
                00007637	5.67927456	[18472] qtc.projectexplorer.toolchain.msvc: No updates for  "Visual Studio Community 2022 17.14.36401.2 (x86)"	
                

                It has to do with the Qt Creator's way of checking if the Visual C++ environment has been changed.

                This shouldn't trigger any pop-up, but something in your environment causes this behavior.

                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