PDA

View Full Version : About QMacStyle



santhoshv84
3rd October 2008, 06:26
Hi,

I am working in Qt 4.3.4 in Windows platform.
I tried to use QMacStyle for QApplication::setStyle(QStyleFactory::create("Mac"));

But i am getting error fatal error C1083: Cannot open include file: 'QMacStyle': No such file or directory.

Could any one help me how to use QMacStyle..


Thanks and Regards,
V. Santhosh

yuriry
3rd October 2008, 06:54
Does the error occur because of this restriction (http://doc.trolltech.com/4.3/qmacstyle.html)?


Warning: This style is only available on Mac OS X because it relies on the HITheme APIs.

santhoshv84
3rd October 2008, 06:57
Hi,

Thank you for the kind information.
I will use QMacStyle when i port my application in Mac.

Thanks and regards,
Santhosh