Как сделать приложение оформленное полностью в стиле Mac или каком другом стиле? В чем ниже очипка?
#include <QApplication>
#include <QPushButton>
#include <QMacStyle>
int main(int argc, char *argv[])
{
QApplication app(argc, argv);
QApplication::setStyle(QMacStyle);
QPushButton hello("Hello world!");
hello.resize(100, 30);
hello.show();
return app.exec();
}
$ qmake-qt4 -project && qmake-qt4 && make
g++ -c -pipe -O2 -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I. -I. -I. -o main.o main.cc
main.cc:3:22: error: QMacStyle: No such file or directory
main.cc:13:3: warning: no newline at end of file
main.cc: In function 'int main(int, char**)':
main.cc:8: error: 'QMacStyle' was not declared in this scope
make: *** [main.o] Ошибка 1