Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Ubuntu.Components 1.1 is not installed

Ubuntu.Components 1.1 is not installed

Scheduled Pinned Locked Moved General and Desktop
5 Posts 3 Posters 2.5k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • R Offline
    R Offline
    raj143
    wrote on last edited by
    #1

    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.1

    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?

    1 Reply Last reply
    0
    • dheerendraD Offline
      dheerendraD Offline
      dheerendra
      Qt Champions 2022
      wrote on last edited by
      #2

      welcome to the forum. May be you have not installed Ubuntu sdk.

      Try doing sudo apt-get update && sudo apt-get install ubuntu-sdk

      Dheerendra
      @Community Service
      Certified Qt Specialist
      http://www.pthinks.com

      1 Reply Last reply
      0
      • R Offline
        R Offline
        raj143
        wrote on last edited by
        #3

        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?

        1 Reply Last reply
        0
        • JKSHJ Offline
          JKSHJ Offline
          JKSH
          Moderators
          wrote on last edited by
          #4

          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.

          Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

          1 Reply Last reply
          0
          • R Offline
            R Offline
            raj143
            wrote on last edited by
            #5

            I am actually working on to Develop a mobile app for Ubuntu phones in QML.
            shall update this post with more details as I find out..

            1 Reply Last reply
            0

            • Login

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • Users
            • Groups
            • Search
            • Get Qt Extensions
            • Unsolved