1 | initial version |
did you build your opencv libs with Qt support ? (else it is not supported at all)
2 | No.2 Revision |
did you build your opencv libs with Qt support ? (else it is not supported at all)
the signature of your callback function should be:
void callback( int state, void*userData) {
// do something
}
then add it to the button:
createButton("button6",callback, NULL, CV_PUSH_BUTTON,1);
3 | No.3 Revision |
4 | No.4 Revision |
did you build your opencv libs with Qt support ? (else it is not supported at all)
the signature of your callback function should be:
void callback( int callback(int state, void*userData) {
// do something
}
then add it to the button:
createButton("button6",callback, NULL, CV_PUSH_BUTTON,1);