-
Notifications
You must be signed in to change notification settings - Fork 75
no launch app #22
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
Comments
Same here. More specifically, I get this debugger warning upon clicking "Pick Image" in the "Photo Album" example: |
Found the way to fix this. The Qt 5.12 has updated to Ecmascript 7 evaluating the javascript code in qfmiddlewarehook.cpp has a way that new ecma does not understand anymore: Debugging the issue and I went to look about eval with functions in https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/eval - where it states: So I added '(' and ')' signs to QFMiddlewaresHook::setup function's QString source string definitions, like: and --> And after this I got all the distpaches working! |
@snowgrains @benlau I've applied your patches and tried to run the photoalbum app. |
Good finding. Seems I had older version of the quickflux or my own apps did not use the setCondition. I tested now the latest photoalbum example and got same problem. Qt compile error gave me a hint: Warning: Using function expressions as statements in scripts is not compliant with the ECMAScript specification: Which led me to way to find if there are another evaluate strings that should have parenthesis. Change QString generator to (added just parenthesis): |
Hello all, Sorry for late reply. I was too busy for the last few months.. @snowgrains Thx for the information. I have pushed a fix for this issue and released v1.1.2 on qpm. Please check. thx |
hello guys, I'm starting using this extension the flux, but no work in qt 5.12.0. My app and examples don't dispatch any signal.
thanks.
The text was updated successfully, but these errors were encountered: