예제 #1
0
파일: main.cpp 프로젝트: qt/qtfeedback
int main(int argc, char *argv[])
{
    QApplication a(argc, argv);
    a.addLibraryPath("../../plugins"); // allows the plugins to be loaded
    HapticSquare w;
    w.show();

    return a.exec();
}
예제 #2
0
int main(int argc, char *argv[])
{
    QApplication a(argc, argv);
    a.addLibraryPath("../../plugins"); // allows the plugins to be loaded
    HapticSquare w;
#if defined Q_OS_SYMBIAN || defined (Q_OS_WINCE)
    w.setWindowState(Qt::WindowMaximized);
#endif
    w.show();

    return a.exec();
}