Skip to content

add qt6 dependencies#45

Open
adrpo wants to merge 1 commit into
OpenModelica:masterfrom
adrpo:AddQt6Deps
Open

add qt6 dependencies#45
adrpo wants to merge 1 commit into
OpenModelica:masterfrom
adrpo:AddQt6Deps

Conversation

@adrpo
Copy link
Copy Markdown
Member

@adrpo adrpo commented Apr 16, 2026

Comment thread debian/control
qtbase5-dev, qtlibqt5svg5-dev, qttools5-dev-tools, qttools5-dev, libqt5opengl5-dev,
libqt5webkit5-dev | qtwebengine5-dev, libqt5xmlpatterns5-dev,
qt6-base-dev, qt6-base-dev-tools, qt6-webengine-dev, qt6-webengine-dev-tools, qt6-l10n-tools, qt6-tools-dev,
qt6-tools-dev-tools, qt6-translations-l10n, qt6-svg-dev, qt6-5compat-dev, qt6-l10n-tools, qt6-httpserver-dev, qt6-websockets-dev, openscenegraph, libopengl-dev, libqt6openglwidgets6,
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some of the packages aren't available on Ubuntu 22.04:

$ sudo apt-get install qt6-base-dev qt6-base-dev-tools qt6-webengine-dev qt6-webengine-dev-tools qt6-l10n-tools qt6-tools-dev qt6-tools-dev-tools qt6-translations-l10n qt6-svg-dev qt6-5compat-dev  qt6-l10n-tools qt6-httpserver-dev qt6-websockets-dev openscenegraph libopengl-dev libqt6openglwidgets6
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
E: Unable to locate package qt6-svg-dev
E: Unable to locate package qt6-5compat-dev
E: Unable to locate package qt6-httpserver-dev
E: Unable to locate package qt6-websockets-dev

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I guess we can make them optional.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I want to build a new build-deps:v1.22.3 (new OM GPG key).
Do we also want to include these new build-deps? They should already be part of the Docker image.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think they already are. Do you want to build it from scratch or just update the existing one?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The new Ubuntu build-deps:v1.22.3 has all of the Qt5 and Qt6 packages need to build OpenModelica GUI stuff (I hope).

@AnHeuermann
Copy link
Copy Markdown
Member

Maybe we need to split this file into multiple and depending on the OS we need to construct the control / .*spec file.
Maybe something like:

  • debian/control.common.in for non-GUI packages
  • debian/control.qt5.in for the Qt5 stuff (older OS)
  • debian/control.qt6.in for the Qt6 stuff (older OS)

@sjoelund
Copy link
Copy Markdown
Member

sjoelund commented Jun 2, 2026

Our problem is that we only have 1 for all OSes right now (we only build 1 source package)

@AnHeuermann
Copy link
Copy Markdown
Member

AnHeuermann commented Jun 2, 2026

In that case could keep the control file as it is. We can update the README in OpenModelica to point to something like https://github.com/AnHeuermann/build-deps/blob/releases/debian/trixie/nightly/Dockerfile. It lists all package files for Trixie.
For the docker containers we need to to fix them anyway and install additional stuff.

Less convenient as the build-dependencies managed by APT and only applicable for the same architecture as the Docker image.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants