Qt 4.0: main.cpp Example File (demos/books/main.cpp)

|  | Home · All Classes · Main Classes · Grouped Classes · Modules · Functions |

# main.cpp Example File
demos/books/main.cpp

        #include <QtGui>

        #include "bookwindow.h"

        int main(int argc, char * argv[])
        {
            Q_INIT_RESOURCE(books);

            QApplication app(argc, argv);

            BookWindow win;
            win.show();

            return app.exec();
        }