0

While I am trying to run Qt Quick desktop application exe from command line, it is not showing anything except an plain empty window. But when I run from Qt creator, it works fine.

Please let me know did I missed something? How to run Qt Quick projects from command line?

Thanks, BR

NG_
  • 6,895
  • 7
  • 45
  • 67
mbr
  • 913
  • 1
  • 11
  • 22
  • How do you load the main QML file ? Did you create the project from the QtCreator wizard ? – alexisdm Jul 07 '12 at 11:33
  • Yes , I will create a project from QtCreator and I will load QML from main.cpp with viewer.setMainQmlFile(QLatin1String("qml/qml/positioners.qml")); viewer.showExpanded(); .. – mbr Jul 07 '12 at 17:36
  • Make sure your are not specifying qml path wrongly!!It seems like the path you given in setMainFile is relative to running directory of QtCreator. – ScarCode Jul 09 '12 at 04:33

0 Answers0