luisvt
28th October 2012, 07:24
Hello, when I try to use the Qwebelement as a public variable, it doesn't work. For this reason I want to know what am I doing wrong?
This is my code:
Header
private: QWebElement *element;
Cpp
element = ui->webView->page()->currentFrame()->findFirstElement("#"+ElementID);
However the compiler send me some errors and I am not sure how to solve that
This is my code:
Header
private: QWebElement *element;
Cpp
element = ui->webView->page()->currentFrame()->findFirstElement("#"+ElementID);
However the compiler send me some errors and I am not sure how to solve that