Ubuntu.Components 1.1 is not installed
-
HI,
I am new to QML Dev. I am using Ubuntu 14.0 LTS.
I am executing the CurrencyConversion sample app given in the documentation.
However when I ran this code, its throwing me that Ubuntu.Components 1.1 is not installed.
statement in the code is : import Ubuntu.Components 1.1how do I install these?
if I give import Ubuntu.Components 0.1, it is asking me that my application ID is not registered with environment variable.
How do I do it? and Whats the importance of this registration of APP ID? -
welcome to the forum. May be you have not installed Ubuntu sdk.
Try doing sudo apt-get update && sudo apt-get install ubuntu-sdk
-
Thanks for warm welcome :):)
I have tried installing the commands given above but it shows that my Sdk is at the latest version.
snippet of command out put is given below,
"
Reading package lists... Done
Reading package lists... Done
Building dependency tree
Reading state information... Done
ubuntu-sdk is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 96 not upgraded.
"Also typed ubuntu-sdk command on terminal and it followed me to Qt IDE.
Any other hints please?
-
Hi,
[quote author="raj143" date="1409271690"]I am new to QML Dev. I am using Ubuntu 14.0 LTS.
I am executing the CurrencyConversion sample app given in the documentation.[/quote]Do you want to create a general QML app, or an Ubuntu-specific app?If you want to create a general QML app, you can run other examples that don't require Ubuntu.Components 1.1.
[quote author="raj143" date="1409271690"]how do I install these?
if I give import Ubuntu.Components 0.1, it is asking me that my application ID is not registered with environment variable.
How do I do it? and Whats the importance of this registration of APP ID? [/quote]I'm not sure; general QML apps don't require an Application ID. Perhaps folks at the "Ask Ubuntu":http://askubuntu.com/ site can help you better.