int main(int argc, char *argv[])
{
QApplication app(argc, argv);
QmlApplicationViewer viewer;
viewer.setOrientation(QmlApplicationViewer::ScreenOrientationLockLandscape);
viewer.engine()->addImportPath(QString("/opt/qtm11/imports"));
viewer.setMainQmlFile(QLatin1String("qml/attitude/main.qml"));
viewer.showExpanded();
return app.exec();
}
#include <QtDeclarative>
#include <QtDeclarative>
| The Following User Says Thank You to attila77 For This Useful Post: | ||





apt-get install libqtm-11*
| The Following User Says Thank You to marxian For This Useful Post: | ||
apt-get install libqtm-11*
| The Following User Says Thank You to attila77 For This Useful Post: | ||