Esempio n. 1
0
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();
}
Esempio n. 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();
}