Hi ,

I Wanna open a I2C device in my Qt program using IOCTL Open() Function. But this open() call gives me error. It tries to look for the function in the class.

"error: no matching function for call to ‘MainMenu:pen(const char [11], int)’
/usr/local/Trolltech/Qt-4.5.0/include/QtGui/qdialog.h:99: note: candidates are: void QDialog:pen()"

Is there any specific way of accesing devices in qt and getting a file descriptor for them. please advise me