Skip to main content

Qt Quick application running from command line -


while trying run qt quick desktop application exe command line, not showing except plain empty window. when run qt creator, works fine.

please let me know did missed something? how run qt quick projects command line?

thanks, br

qt quick application running command line - stack overflow

learn, share, build

each month, on 50 million developers come stack overflow learn, share knowledge, , build careers.

join world’s largest developer community.

sign up

while trying run qt quick desktop application exe command line, not showing except plain empty window. when run qt creator, works fine.

please let me know did missed something? how run qt quick projects command line?

thanks, br

share|improve question
    
how load main qml file ? did create project qtcreator wizard ? – alexisdm jul 7 '12 @ 11:33
    
yes , create project qtcreator , load qml main.cpp viewer.setmainqmlfile(qlatin1string("qml/qml/positioners.qml‌​")); viewer.showexpanded(); .. – bhaskar jul 7 '12 @ 17:36
    
make sure not specifying qml path wrongly!!it seems path given in setmainfile relative running directory of qtcreator. – scarcode jul 9 '12 @ 4:33

your answer

 
discard

posting answer, agree privacy policy , terms of service.

browse other questions tagged or ask own question.


Comments

Popular posts from this blog

javascript - backbone.js Collection.add() doesn't `construct` (`initialize`) an object -

php - Get uncommon values from two or more arrays -

Adding duplicate array rows in Php -