Brian Rep wrote: > Bull all this examples are coded in C, not that the problem is the C > part, but instead , Eclipse reports that the method is not found. > > The code is simply: > QWidget window = QUiLoader.load(file); > ui_outputWidget = (QLabel)qFindChild(window, "outputWidget"); > > So, any one knows where can I find qFindChild? >
You can use the findChild() method in QObject. http://doc.trolltech.com/qtjambi-4.5.0-preview/html/com/trolltech/qt/core/QObject.html#findChild(java.lang.Class, java.lang.String) The qFindChild() function in C++ is only used to work around the fact that the MSVC6 compiler does not support template functions inside classes. -- Eskil _______________________________________________ Qt-jambi-interest mailing list Qt-jambi-interest@trolltech.com http://lists.trolltech.com/mailman/listinfo/qt-jambi-interest