diff --git a/debian/control b/debian/control index 5d834ed..673af39 100644 --- a/debian/control +++ b/debian/control @@ -16,13 +16,24 @@ Build-Depends: debhelper-compat (= 13), cmake (>= 2.8.6), # libssl-dev (>= 0.9.8g), # Do we really depend on libssl directly? Debian stretch conflicts with it... libreadline-dev, - qtbase5-dev, - libqt5svg5-dev, - qttools5-dev-tools, - qttools5-dev, - libqt5opengl5-dev, - qtwebengine5-dev, - libqt5xmlpatterns5-dev, + qt6-base-dev, + qt6-base-dev-tools, + qt6-tools-dev, + qt6-tools-dev-tools, + qt6-l10n-tools, + qt6-translations-l10n, + qt6-declarative-dev, + qt6-quick3d-dev, + qt6-webengine-dev, + qt6-webengine-dev-tools, +# jammy still carries the pre-6.4 binary names for these three + qt6-svg-dev | libqt6svg6-dev, + qt6-5compat-dev | libqt6core5compat6-dev, + qt6-websockets-dev | libqt6websockets6-dev, +# QtHttpServer needs Qt 6.4; OMEdit builds without the MCP server on jammy + qt6-httpserver-dev | qt6-base-dev, + flex, + bison, liblpsolve55-dev (>= 5.5.0.10), libhdf5-serial-dev | libhdf5-dev, liblapack-dev, @@ -33,7 +44,6 @@ Build-Depends: debhelper-compat (= 13), # Should be needed but seems to mess up sbuild # libexpat1-dev:native, libboost-all-dev, - libopenscenegraph-dev, pkg-config, libffi-dev, lsb-release, @@ -183,6 +193,9 @@ Architecture: any Depends: omc (<< 20000), libomsimulator, libomsensplugin, + qml6-module-qtquick, +# split out of libqt6quick3d6 in Qt 6.6 + qml6-module-qtquick3d | libqt6quick3d6, ${shlibs:Depends}, ${misc:Depends} Suggests: omlibrary diff --git a/debian/rules b/debian/rules index 808352b..a3e2254 100755 --- a/debian/rules +++ b/debian/rules @@ -118,6 +118,7 @@ endif --host=$(DEB_HOST_GNU_TYPE) \ --build=$(DEB_BUILD_GNU_TYPE) \ --prefix=/usr \ + --with-qt6 \ --with-lapack="-llapack -lblas -lm" \ --without-paradiseo \ --without-omlibrary \ diff --git a/rpm/SPECS/openmodelica.spec.tpl b/rpm/SPECS/openmodelica.spec.tpl index ebb1161..039a0d4 100644 --- a/rpm/SPECS/openmodelica.spec.tpl +++ b/rpm/SPECS/openmodelica.spec.tpl @@ -93,6 +93,7 @@ BuildRequires: qt6-qt3d-devel BuildRequires: qt6-qt5compat-devel BuildRequires: qt6-qthttpserver-devel BuildRequires: qt6-qtwebsockets-devel +BuildRequires: qt6-qtquick3d-devel %endif @@ -131,10 +132,6 @@ BuildRequires: devtoolset-11-gcc devtoolset-11-gcc-c++ devtoolset-11-gcc-gfortra %define devtoolsconfigureflags CC=/opt/rh/devtoolset-11/root/usr/bin/gcc CXX=/opt/rh/devtoolset-11/root/usr/bin/g++ FC=/opt/rh/devtoolset-11/root/usr/bin/gfortran %endif -%if 0%{?fedora} >= 25 -BuildRequires: OpenSceneGraph-devel -%endif - %if 0%{?omqt5} %define withqt6 '' %define omqtversion qt5