-
Notifications
You must be signed in to change notification settings - Fork 70
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Widget picking does not seems to work (Ubuntu 20.04) #23
Comments
Did you try both the My current development laptop is a Mac and I haven't tested this tool on Ubuntu recently. It is possible some platform security changes or changes in Qt itself might require changes in how this tool connects to the target process. The tool should be compiled using the same version of Qt as the application that you want to connect to. |
Thanks for your interest, I highly appreciate it! :) Testing on Arch gives me the same issues so maybe it is just modern Linux. I installed qtinspector via the PKGBUILD https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=qt-inspector-qt5-git so it is QT5. For testing again I used the PDF reader Okular (says "Qt Version 5.15.4 (built against 5.15.3)"). Immediately after launching with I click "Pick Widget", the mouse cursor becomes a hand if I hover anything in the Okular window. If I click something the qtinspector window does either a) nothing if there was nothing selected in it before or b) clears its selection (right table becomes empty, no selection in the tree, no change in scroll position). Nothing is shown in the terminal. Same behaviour if I run On this system I cannot attach to a running process, regardless of user->user or superuser-qtinspector->user-okular:
|
I compiled this great tool on Ubuntu 20.04. Tried both with and without
-DUSE_QT5=True
.I launch it as root as otherwise I got errors that it could not connect the process to inspect.
When I click the Pick Widget button:
I expected the inspector finding the clicked widget in its tree and selecting it.
The text was updated successfully, but these errors were encountered: