UBports Robot Logo UBports Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    QT libraries for development in Ubuntu 18.04

    Scheduled Pinned Locked Moved App Development
    3 Posts 3 Posters 3.9k Views 2 Watching
    Loading More Posts
    • 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.
      • costalesC Offline
        costales
        last edited by costales

        Hi,

        In Ubuntu 16.04 the depedences were:

        qt5-default
        qml-module-qtwebkit
        qmlscene
        qtquick1-qml-plugins
        qml-module-qt-labs-settings
        qml-module-qtlocation
        qml-module-qtmultimedia
        webbrowser-app
        qml-module-qtsysteminfo
        qml-module-qtquick-xmllistmodel
        qml-module-qtquick-localstorage
        qtdeclarative5-ubuntu-content1
        

        But in 18.04 I can't find a few of them:

        costales@T410:~/Desktop/unav$ sudo apt-get install qt5-default qml-module-qtwebkit qmlscene qtquick1-qml-plugins qml-module-qt-labs-settings qml-module-qtlocation qml-module-qtmultimedia webbrowser-app qml-module-qtsysteminfo qml-module-qtquick-xmllistmodel qml-module-qtquick-localstorage qtdeclarative5-ubuntu-content1
        Reading package lists... Done
        Building dependency tree       
        Reading state information... Done
        Package webbrowser-app is not available, but is referred to by another package.
        This may mean that the package is missing, has been obsoleted, or
        is only available from another source
        
        E: Unable to locate package qtquick1-qml-plugins
        E: Package 'webbrowser-app' has no installation candidate
        E: Unable to locate package qml-module-qtsysteminfo
        E: Unable to locate package qtdeclarative5-ubuntu-content1
        costales@T410:~/Desktop/unav$ 
        

        Any help please? Thanks in advance!

        1 Reply Last reply Reply Quote 0
        • flohackF Offline
          flohack
          last edited by

          Canonical removed stuff that is phone-only from 18.04 - I am afraid your only option is to stick with a 16.04 build root for the moment.

          BR

          My languages: πŸ‡¦πŸ‡Ή πŸ‡©πŸ‡ͺ πŸ‡¬πŸ‡§ πŸ‡ΊπŸ‡Έ

          1 Reply Last reply Reply Quote 1
          • arubislanderA Offline
            arubislander
            last edited by

            Rather than ditching your 18.04 installation for a 16.04 one, or running 16.04 in a virtual machine, you might want to consider running 16.04 in an LXD/LXC container.

            $ sudo snap install lxd
            ...
            $ sudo lxd init
            ...
            $ sudo lxc launch ubuntu:16.04 devbox -c security.nesting=true
            ...
            $ sudo lxc shell devbox
            

            That will install the lxd snap, initialize lxd for use, launch a privileged lxc container named devbox based on a 16.04 image and finally drop you in a shell in the lxc container.

            πŸ‡¦πŸ‡Ό πŸ‡³πŸ‡± πŸ‡ΊπŸ‡Έ πŸ‡ͺπŸ‡Έ
            Happily running Ubuntu Touch
            Google Pixel 3a (20.04 DEV)
            JingPad (24.04 preview)
            Meizu Pro 5 (16.04 DEV)

            1 Reply Last reply Reply Quote 2
            • First post
              Last post