Created
April 13, 2011 14:03
-
-
Save jryannel/917603 to your computer and use it in GitHub Desktop.
qt example 1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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