Skip to content

Instantly share code, notes, and snippets.

@jryannel
Created April 13, 2011 14:03
Show Gist options
  • Save jryannel/917603 to your computer and use it in GitHub Desktop.
Save jryannel/917603 to your computer and use it in GitHub Desktop.
qt example 1
#include <QtGui/QApplication>
#include "view.h"
int main(int argc, char *argv[])
{
QApplication app(argc, argv);
View viewer;
viewer.setSource(QUrl("qml/main.qml"));
viewer.show();
return app.exec();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment