-
Notifications
You must be signed in to change notification settings - Fork 757
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
QtCollider: fix method linking #4937
Conversation
otherwise QMetaType can't find it
FYI this has been tested by the issue reporter and found to work: #4933 (comment) |
Thanks @brianlheim |
0.1.wait; | ||
cond.unhang; | ||
}; | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
When I saved this file in scide I think this whitespace was automatically deleted... also in line 27.
thanks for the review @dyfer -- through some experimentation i found that the 'load finished' callback always fires when the html is updated, so i updated my tests to use that instead of a direct wait. also removed the whitespace, thanks for pointing that out. |
should be ready for another review now! |
Thanks @brianlheim This is better, however the test still times out on my system, and when it does, I get an error:
I believe this is because |
i specifically want
sure, i updated it to 2 seconds thanks @dyfer ! ready for more review. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thanks @brianlheim ! works great
Purpose and Motivation
Fixes #4933.
We need to use the fully qualified "QtCollider::QcCallback", otherwise the qt metatype system
doesn't find the function signature. this seems to be a deficiency in the way qt matches function
signatures, but solving it more cleverly might be difficult and introduce other bugs, so i'm just
doing the straightforward thing for now.
another problem (maybe?) raised by this is that findText on a web view that isn't visible will
lock up the interpreter. same with findText(""). i don't know why.
Types of changes
To-do list