When I call the function findChildren, the compiler says this function doesn't exist.
Seems you're one windows using MSVC6. Check qFindChildren in the docs, findChildren is not supported my MSVC6.
Use
QList<QPushButton> buttons = qFindChildren<QPushButton*>( this, "nameOfObj" );
QPushButton *pb;
QWidget *objectToSearch = this;
QList<QPushButton> buttons = qFindChildren<QPushButton*>( this, "nameOfObj" );
To copy to clipboard, switch view to plain text mode
or
QList<QPushButton> buttons = qFindChildren( this, "nameOfObj", pb );
QPushButton *pb;
QWidget *objectToSearch = this;
QList<QPushButton> buttons = qFindChildren( this, "nameOfObj", pb );
To copy to clipboard, switch view to plain text mode
Both are untested, i wrote this from memory.
Hope this helps.
Bookmarks