Using vs2010 qt5.2.1
i copied my release dir to a flashdrive and tried running it on another windows machine, but on execution it fails every time. I have the qml access through qrc, along with every resource access done through qrc in the qml code.
relevant CPP code:
m_view = new QQuickView;
Q_CHECK_PTR(m_view);
m_view->setSource(QUrl("qrc:/ControlPanel.qml"));
m_container = QWidget::createWindowContainer(m_view);
Q_CHECK_PTR(m_container);
m_uiRoot = m_view->rootObject(); //root object here gets set to NULL
Q_CHECK_PTR(m_uiRoot); // fails
↧