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. Annoying problem with Qt Creator software after update
Forum Updated to NodeBB v4.3 + New Features

Annoying problem with Qt Creator software after update

Scheduled Pinned Locked Moved Unsolved Qt Creator and other tools
35 Posts 6 Posters 3.8k 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.
  • K Offline
    K Offline
    Kris Revi
    wrote on last edited by
    #23

    had to upload the video -> https://streamable.com/oxeb11

    here you can see what i mean in action it happens constantly

    JoeCFDJ cristian-adamC 2 Replies Last reply
    0
    • K Kris Revi

      had to upload the video -> https://streamable.com/oxeb11

      here you can see what i mean in action it happens constantly

      JoeCFDJ Offline
      JoeCFDJ Offline
      JoeCFD
      wrote on last edited by JoeCFD
      #24

      @Kris-Revi The funny thing is that I had the same problem with QtCreator 14 on Ubuntu 22.04. But the same issue is gone in QtCreator 15 on Ubuntu 22.04. I am wondering if Qt developers have done enough testing before any releases.

      K 1 Reply Last reply
      0
      • JoeCFDJ JoeCFD

        @Kris-Revi The funny thing is that I had the same problem with QtCreator 14 on Ubuntu 22.04. But the same issue is gone in QtCreator 15 on Ubuntu 22.04. I am wondering if Qt developers have done enough testing before any releases.

        K Offline
        K Offline
        Kris Revi
        wrote on last edited by
        #25

        @JoeCFD if that is the case then....

        1 Reply Last reply
        0
        • K Kris Revi

          had to upload the video -> https://streamable.com/oxeb11

          here you can see what i mean in action it happens constantly

          cristian-adamC Offline
          cristian-adamC Offline
          cristian-adam
          wrote on last edited by
          #26

          @Kris-Revi said in Annoying problem with Qt Creator software after update:

          had to upload the video -> https://streamable.com/oxeb11

          here you can see what i mean in action it happens constantly

          Thank you for the video. I don't think this has anything to do with the licensing, you can forget about it.

          The issue with licensing was that Qt Creator wouldn't start.

          But this is a code completion issue. Some questions:

          • How powerful is the computer that are using?
          • Do you have clangd enabled in Preferences > C++ > Clangd
          • Can you compile your project?

          In the video we can see that the code model has some issues. The project is not correctly configured.

          1 Reply Last reply
          0
          • K Offline
            K Offline
            Kris Revi
            wrote on last edited by
            #27

            Computer specs

            • MSI Z790-P PRO
            • Intel Core i9-13900K
            • DDR5, 5600MT/s 32GB 2x16GB DIMM
            • ASUS DUAL GeForce RTX 4070 SUPER OC

            so don't think that is the problem

            Clangd is enabled
            image.png

            also i was able to build/compile my project just fine
            image.png

            (FIY the project i had loaded in the video was a faulty project i just loaded up quickly to show the cursor loading problem)

            1 Reply Last reply
            1
            • cristian-adamC Offline
              cristian-adamC Offline
              cristian-adam
              wrote on last edited by
              #28

              You could have a look at Tools > Debug Qt Creator > Show Logs ... for details. But I don't actually know what to tell you to watch after.

              Here in my Windows VM the wait cursor doesn't appear. I do have the Windows antivirus with real-time protection enabled.

              K 2 Replies Last reply
              0
              • cristian-adamC cristian-adam

                You could have a look at Tools > Debug Qt Creator > Show Logs ... for details. But I don't actually know what to tell you to watch after.

                Here in my Windows VM the wait cursor doesn't appear. I do have the Windows antivirus with real-time protection enabled.

                K Offline
                K Offline
                Kris Revi
                wrote on last edited by
                #29

                @cristian-adam so i got something out of looking into the debug logs

                16:57:40.378 qtc.android.androiddevice.debug: Running command (sync): "C:\\Users\\krist\\AppData\\Local\\Android\\Sdk\\platform-tools\\adb.exe -s emulator-5562 emu avd name"
                16:57:40.379 qtc.utils.process.debug: Process 3 starting (blocking with event loop, main thread): C:\Users\krist\AppData\Local\Android\Sdk\platform-tools\adb.exe -s emulator-5562 emu avd name
                16:57:42.419 qtc.utils.process.debug: Process 3 finished: result=1, ex=1, 0 bytes stdout: "", 161 bytes stderr: "error: could not connect to TCP port 5562: cannot connect to 127.0.0.1:5562: No connection could be made because the target machine actively refused it. (10061)\n", 2040 ms elapsed
                16:57:42.419 qtc.utils.process.stderr.debug: Process 3 stderr: "error: could not connect to TCP port 5562: cannot connect to 127.0.0.1:5562: No connection could be made because the target machine actively refused it. (10061)\n"
                16:57:42.420 qtc.android.androiddevice.debug: Command finshed (sync): "C:\\Users\\krist\\AppData\\Local\\Android\\Sdk\\platform-tools\\adb.exe -s emulator-5562 emu avd name" Success: false Output: "error: could not connect to TCP port 5562: cannot connect to 127.0.0.1:5562: No connection could be made because the target machine actively refused it. (10061)\r\n"
                16:57:50.387 qtc.android.androiddevice.debug: Running command (sync): "C:\\Users\\krist\\AppData\\Local\\Android\\Sdk\\platform-tools\\adb.exe -s emulator-5562 emu avd name"
                16:57:50.388 qtc.utils.process.debug: Process 4 starting (blocking with event loop, main thread): C:\Users\krist\AppData\Local\Android\Sdk\platform-tools\adb.exe -s emulator-5562 emu avd name
                16:57:52.465 qtc.utils.process.debug: Process 4 finished: result=1, ex=1, 0 bytes stdout: "", 161 bytes stderr: "error: could not connect to TCP port 5562: cannot connect to 127.0.0.1:5562: No connection could be made because the target machine actively refused it. (10061)\n", 2077 ms elapsed
                16:57:52.465 qtc.utils.process.stderr.debug: Process 4 stderr: "error: could not connect to TCP port 5562: cannot connect to 127.0.0.1:5562: No connection could be made because the target machine actively refused it. (10061)\n"
                16:57:52.465 qtc.android.androiddevice.debug: Command finshed (sync): "C:\\Users\\krist\\AppData\\Local\\Android\\Sdk\\platform-tools\\adb.exe -s emulator-5562 emu avd name" Success: false Output: "error: could not connect to TCP port 5562: cannot connect to 127.0.0.1:5562: No connection could be made because the target machine actively refused it. (10061)\r\n"
                

                something todo with Running command (sync)

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

                  You could have a look at Tools > Debug Qt Creator > Show Logs ... for details. But I don't actually know what to tell you to watch after.

                  Here in my Windows VM the wait cursor doesn't appear. I do have the Windows antivirus with real-time protection enabled.

                  K Offline
                  K Offline
                  Kris Revi
                  wrote on last edited by
                  #30

                  @cristian-adam but what does it mean?

                  1 Reply Last reply
                  0
                  • cristian-adamC Offline
                    cristian-adamC Offline
                    cristian-adam
                    wrote on last edited by
                    #31

                    It looks like there is an issue with the Android plugin having issues connecting to the Emulator.

                    But I think this should not have any effect on the code completion...

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

                      It looks like there is an issue with the Android plugin having issues connecting to the Emulator.

                      But I think this should not have any effect on the code completion...

                      K Offline
                      K Offline
                      Kris Revi
                      wrote on last edited by
                      #32

                      @cristian-adam but i don't use an emulator i have my Samsung Pad connected!

                      also this problem happens without me writing or doing anything inside Qt Creator so i don't think it is a "code completion" problem

                      1 Reply Last reply
                      0
                      • K Offline
                        K Offline
                        Kris Revi
                        wrote on last edited by
                        #33

                        still an issue tho

                        1 Reply Last reply
                        0
                        • K Offline
                          K Offline
                          Kris Revi
                          wrote on last edited by
                          #34

                          hmmm so if i go inside "Android Studio" and press the Restart ADB Server then it fixes the problem but i have to do this EVERY SINGEL TIME i open Qt...

                          image.png

                          1 Reply Last reply
                          0
                          • cristian-adamC Offline
                            cristian-adamC Offline
                            cristian-adam
                            wrote on last edited by
                            #35

                            At https://stackoverflow.com/questions/29826101/how-to-restart-adb-manually-from-android-studio we learn that one has to do a:

                            $ adb kill-server && adb start-server
                            

                            You could have this in a script that start Qt Creator, or in Qt Creator as an external tool.

                            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