Link: @CplusplusQt Embedded: @EMBCpp • Allowed Topics: C++ and everything related to Qt • Use only English • No Private Message without asking user's permission • No NSFW • No Spam • No unauthorized Bots • No Offtopic • No Self Promotions
This is the debugger setting in the run section.
You might also want to check the build section too, to ensure that the debugger is enabled there as well.
Hi, one fun thing about QML Live preview with QQuickWidget. For some reason Qml live preview handler keep closing QMainWindow. So I added workaround, every time visibilty changes to hidden I call show()
Читать полностью…The Widget and QML are quite different here, and also the forum specifically mentions the QML Debugger.
Since it has a short instruction, I think it’s definitely worth giving it a try!
If it doesn’t work, you might want to try using mingw
instead of MSVC and see if that helps.
Good luck :)
Okay, sorry, I think I misread your first question.
The QMLLS warnings, which I believe should all be gone now, do not have anything to do with the debugger.
However, I think you should check the following links:
https://forum.qt.io/topic/10528/could-not-connect-to-the-in-process-qml-debugger/2
https://doc.qt.io/qtcreator/creator-debugging-qml.html
And since you are using the MSVC++ compiler, you may also want to check your kits and ensure that the MSVC debugger is set up correctly.
If you have disabled the QMLLS, you normally shouldn't encounter any errors related to it. I only used the solution mentioned above, and since it worked for me, I didn't pursue any further steps.
I tried it on Qt Creator 14.0.2 with Qt versions 6.8.* and 6.7.*.
Even the outdated version of Qt Creator 11.0.3 is affected by this problem. I am more than sure that the problem is not with the Qt framework, but with the Windows OS. Another question is whether it can be fixed without making changes to the Qt source code...
Читать полностью…You can disable qmlls.
Edit → Preferences → Qt Quick → QML/JS Editing → check/uncheck Turn On
As I tried, it crashes with no error logs (the specified log file is empty).
Hello everyone.
After recent updates of Qt and Windows, my QML debugger stopped working with the error "Could not connect to the in-process QML debugger. Do you want to retry?
".
This problem is present in Windows 11 and Windows 10. I also tried to download an earlier version of QtCreator, but it did not work.
Also, in the "General Messages" tab I have messages like "LanguageClient Qmlls (C:\Qt\6.8.1\msvc2022_64\bin\qmlls.exe): The command "C:\Qt\6.8.1\msvc2022_64\bin\qmlls.exe" terminated with exit code 1. (see logs in "C:/Users/User/AppData/Local/Temp/QtCreator-rDvXvi/lspclient.oyaMXm.log")
", but the specified log file does not contain any useful information.
The file contents:
"Starting server: C:\Qt\6.8.1\msvc2022_64\bin\qmlls.exe
"
Output:
Has anyone encountered this problem?
try adding "path_to\Qt\6.7.3\msvc2022_64\bin" to the PATH environment variable. Restart your IDE and run youre binary again. If this resolves the issue, it means the environment was not set up correctly.
Читать полностью…Welcome to the group, -! :-)
Wanna share your story of how you started with Qt, QML or C++? Maybe some nice feature that made you stick with it.
Rules are set on the description of the group. :)
I know that because I read hundreds of spam and making analysis
Читать полностью…Separate install. It moved locations in the online installer. It's there, but at a higher level in the tree.
Читать полностью…I have QLabel with link inside of it. At one point in time, qlabel might became disabled. How can I make sure, that I can press the link no matter if qlabel is disabled?
Читать полностью…One more issue is with live reload. I need help. I have qt6_add_qml_module() and live preview works only for changes in the Main.qml file but not the ones which are included. After some debugging I see that QmlEngine loads those files with qrc:/ url, and the IDE or QQmlPreviewFileEngine does not know the mapping between local fs and the qrc so they do not intercept it. Do you also have same issue? Or is it something wrong with my cmake or directory structure?
Читать полностью…The problem is that these instructions include items that are not available in the current version of QtCreator. Before asking the question here, I spent a significant amount of time looking for a solution to the problem myself (I saw these instructions before)
Switching from MSVC to MinGW also doesn't change anything (((
The forum post is dated 2011, so I think it's slightly out of date :-)
The problem is definitely not in the C++ debugger, because there are no problems with Qt Widgets applications, as with C++ applications in general. Only the connection to the QML debugger is missing for some unknown reason. On my second laptop, on which I haven't installed new programs for a long time, but installed Windows updates, the problems persist. Therefore, the option of occupying the port is excluded as well.
Using different versions of Qt also has no effect.
I tried to install the latest Qt and Visual Studio on an old computer that hadn't been updated for a couple of months. The debugger works there, so it's definitely a Windows issue. But I still can't figure out why exactly this error occurs.
Windows is a piece of shit
After disabling QML Language Server, I still get a window that I can't connect to the debugger. Qt Creator still tries to work with QML Language Server, in the "9 General Messages" tab there is an error "LanguageClient Qmlls (): Unexpectedly finished."
Читать полностью…The funny thing is that everything worked about a month ago, meaning that errors from the initial incorrect installation are excluded.
Читать полностью…Welcome to the group, -! :-)
Wanna share your story of how you started with Qt, QML or C++? Maybe some nice feature that made you stick with it.
Rules are set on the description of the group. :)
You can use a timer, there is a way to make the timer being the most precise possible with QTimer
Читать полностью…@macrogu [1974983093
] warned (1 of 2).
Due to: do not need to make your post a spam.
You can post the website link for the job's requirements in the Jobs thread.
Читать полностью…Hi guys,Qt6.8 for windows don’t include Qt webengine module?
Читать полностью…You may google it. VS and vs-code have much in common.
Your TUs are in the same Source Files folder.
C++ part: You should not include source files. It's possible but discouraged.