Sunday, May 12, 2024
22
rated 0 times [  22] [ 0]  / answers: 1 / hits: 5963  / 3 Years ago, fri, august 13, 2021, 5:56:04

After following the getting started guide on the Go mobile page, everything seems just fine.



All the Ubuntu specific stuff is there, but when I try to create a new project using the Qt Quick 2 UI template, it's just missing. There are almost no templates available.



I'm on Ubuntu 12.10 64-bit, clean install.



How my screen looks when trying to do create a Ubuntu Phone app



This is how my New File or Project dialog looks like.


More From » ubuntu-touch

 Answers
0

First check out that you are starting the Qt Creator version with the Ubuntu SDK plugins enabled.



If that does not solve it for you, you might be running into a known issue: it seems the Qt 5 runtime is not automatically detected by Qt Creator.



If you're affected by this, you will need to tell Qt Creator where the qmake binary file is in order for it to present you with the template wizards.



Fortunately, that's really straightforward:




  1. Start Qt Creator (type ubuntu sdk on the Dash)


  2. Go to ToolsOptions


  3. Select the Build & Run section


  4. Select the Qt Versions tab


  5. Click on the Add... button


  6. In the file picker that just appeared navigate to the /usr/bin folder and select the qmake file (it might take awhile to appear), select it, and click on the Open button. If this doesn't load also try the qmake file located in the /usr/lib/x86_64-linux-gnu/qt5/bin folder.


  7. Click on the OK button. The Qt Versions dialog should now look as the picture below




enter image description here



You should now be all set. Try the Ctrl + N shortcut (or go to FileNew File or Project...) to start the new project wizard. The templates should now be in there.


[#32549] Saturday, August 14, 2021, 3 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
laiuct

Total Points: 44
Total Questions: 105
Total Answers: 107

Location: Seychelles
Member since Mon, Feb 15, 2021
3 Years ago
;