Wednesday, April 24, 2024
1
rated 0 times [  1] [ 0]  / answers: 1 / hits: 4418  / 1 Year ago, sat, january 21, 2023, 1:04:19

I'm trying to start developing for Ubuntu and Ubuntu phone, but I get an error:



qmlscene: cannot find qt installation of ''


when I attempt to run my application in Ubuntu from the command line. I'm very new to Linux, so if you could fully explain what I need to do to fix it, then that'd be great. I'm running Ubuntu 13.04 in a VirtualBox virtual machine on an Asus N56VZ laptop. I installed the Ubuntu SDK using the instructions on http://developer.ubuntu.com, so I really have no idea what's wrong.


More From » application-development

 Answers
6

I was able to reproduce this by following the Get Started instructions and testing with the Ubuntu Weather App. There must be either an error in the instructions or a bug in the Ubuntu SDK packages.



This seems to work as a temporary workaround:




  1. Look up the name of your Qt installation:



    $ qtchooser -list-versions
    qt5-x86_64-linux-gnu

  2. Specify the name using when running qmlscene, which is just a symlink to Qt Chooser:



    $ qmlscene -qt=qt5-x86_64-linux-gnu ubuntu-weather-app.qml


    qmlscene: weather



[#29554] Sunday, January 22, 2023, 1 Year  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
ideobedi

Total Points: 121
Total Questions: 108
Total Answers: 107

Location: United States Minor Outlying Island
Member since Sat, May 28, 2022
2 Years ago
;