QT libraries for development in Ubuntu 18.04



  • 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!


  • Infrastructure

    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



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


Log in to reply
 

Looks like your connection to UBports Forum was lost, please wait while we try to reconnect.