Annoying problem with Qt Creator software after update
-
@Kris-Revi said in Annoying problem with Qt Creator software after update:
i uninstalled Qt and about to install it again but i dont see the "Licenses Manager Tools" in the installer
By default, Qt License Service is automatically installed as an on-demand service when you install any Qt or Quality Assurance product with Qt Online Installer.
However, sometimes you might need a different launching method for Qt License Service. In these cases, you can install Qt License Service manually. Manually installed Qt License Service can operate either as a system service, as an on-demand service, or as a user-space process.
( https://doc.qt.io/qtlicenseserver/qls-how-to-install-service.html )
And... I mean... If you don't find it, it can't be stuck or the reason why your QtCreator isn't working properly, right?!
-
Please do create a bug report at https://bugreports.qt.io/secure/CreateIssue.jspa?pid=10512
Don't be shy with the information, the more the merrier.
You can enable the Qt Creator's Screen Recording Plugin install
ffmpeg
and do a screen cast, and export as.mp4
. You can have two Qt Creator instances, one for screen recording and the other for opening the project.This way we can see how bad the things are 😅
-
had to upload the video -> https://streamable.com/oxeb11
here you can see what i mean in action it happens constantly
-
@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.
-
@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.
-
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
also i was able to build/compile my project just fine
(FIY the project i had loaded in the video was a faulty project i just loaded up quickly to show the cursor loading problem)
-
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.
-
@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)
-
@cristian-adam but what does it mean?
-
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...
-
@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