PDA

View Full Version : QtScript problem



IPFreely
23rd January 2008, 11:04
Hello!

I'm writing a Qt application and I use a QtScript extension.
I've got a some problem:
I have a main-form. Also I have a additional-form and js-script with it.
I load(by QUiLoader) additional-form and load js-script for manage this form, but I can't connect signal from widgets on additional-form to some function.
But if the additional-form will be using as main form than all will be Ok.

Works and doesn't work code you can see in attachment.

What is wrong? Help please.

Thanks.

PS: I have Qt 4.3.2 on Linux Gentoo 2.6.20-gentoo-r3
PSS: when app works into console should be written "it works!!! :-)" after clicking button "Click me"