Installation settings for Ubuntu 18.04

Hello,

I'm trying to install the most updated version of Klayout from source on an offline version of Ubuntu 18.04, and it has only Qt 5.9.5. It therefore causes trouble when trying to install src/gsiqt/qt5/QtCore/gsiDeclQAbstractItemModel.cc (among other possible issue spots) because in Qt5.11 the CheckIndex function was added to QAbstractItemModel, and it appears Klayout added handling for that in commit 31aa45d.

My question is: when pre-building the .deb files for Ubuntu 18.04, how is this bindings issue handled? I would like to use Qt bindings, and I'll update my Qt installation if I have to, but I'm just wondering what the current handling for this mismatch is. Thanks!

-Noah

Comments

  • Why not go ahead and pull latest-latest from the
    repository? Then all you need to know is "latest
    version of dependencies, too".

    Random salad brings mystery chunks.

  • I'm saying that the latest version of Klayout has dependencies that do not come standard in the Ubuntu18.04 apt repository, and I'm wondering if I have to install them manually, or if there's some other workaround that the builders use.

  • "Random salad brings mystery chunks" ... I love that :)

    @taylorn The official builds are done with Qt4. Here are the packages I am using on the deployment container:

    gcc g++ libz-dev libqt4-dev-bin libqt4-dev ruby ruby-dev python3 python3-dev libgit2-dev
    

    Qt4 may be outdated, but Qt 5.9.5 is too. If you absolutely need to build with Qt5, you have to install a newer Qt5.

    Matthias

Sign In or Register to comment.