Project

General

Profile

Paintbrush example doesn't work

Added by Alan Finley over 7 years ago

I tried to create a paintbrush example using Wt 3.2.3 and everything worked fine.

Now I'm trying to do the same with the latest git version of Wt and have no success.

Every time I click on a painter widget, I get a popup with some errors. They are slightly different on different browsers.

Chrome: Wt internal error: SyntaxError: Unexpected token ILLEGAL, code: undefined, description: undefined

Opera: Wt internal error: SyntaxError: at line 3, column 283: expected ')', got <invalid token>, code: undefined, description: undefined

Firefox: Wt internal error: SyntaxError: identifier starts immediately after numeric literal, code: undefined, description: undefined

How can I fix this?


Replies (1)

RE: Paintbrush example doesn't work - Added by Alan Finley over 7 years ago

I think this is a problem with Qt integration. I removed QCoreApplication object and everyting works now.

    (1-1/1)