Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Qt has not been built with svg and opengl support #16196

Closed
pvbrowser opened this issue May 25, 2024 · 4 comments
Closed

Qt has not been built with svg and opengl support #16196

pvbrowser opened this issue May 25, 2024 · 4 comments

Comments

@pvbrowser
Copy link

I try to build a Qt6 application on the opensuse buildservice. (25 may 2024)
But the buildservice says:

[ 36s] Project WARNING: QwtSvg is enabled in qwtconfig.pri, but Qt has not been built with svg support
[ 36s] Project WARNING: QwtOpenGL is enabled in qwtconfig.pri, but Qt has not been built with opengl support
[ 36s] Project ERROR: Unknown module(s) in QT: core gui openglwidgets printsupport concurrent opengl

But building on my local LEAP 15.5 system works without problems.

I have this qmake6 query result on the buildservice, which is the same as on my local system
[ 36s] + ./build.sh all buildservice
[ 36s] QT_SYSROOT:
[ 36s] QT_INSTALL_PREFIX:/usr
[ 36s] QT_INSTALL_ARCHDATA:/usr/lib64/qt6
[ 36s] QT_INSTALL_DATA:/usr/share/qt6
[ 36s] QT_INSTALL_DOCS:/usr/share/doc/qt6
[ 36s] QT_INSTALL_HEADERS:/usr/include/qt6
[ 36s] QT_INSTALL_LIBS:/usr/lib64
[ 36s] QT_INSTALL_LIBEXECS:/usr/lib64/qt6/libexec
[ 36s] QT_INSTALL_BINS:/usr/lib64/qt6/bin
[ 36s] QT_INSTALL_TESTS:/usr/lib64/qt6/tests
[ 36s] QT_INSTALL_PLUGINS:/usr/lib64/qt6/plugins
[ 36s] QT_INSTALL_QML:/usr/lib64/qt6/qml
[ 36s] QT_INSTALL_TRANSLATIONS:/usr/share/qt6/translations
[ 36s] QT_INSTALL_CONFIGURATION:
[ 36s] QT_INSTALL_EXAMPLES:/usr/lib64/qt6/examples
[ 36s] QT_INSTALL_DEMOS:/usr/lib64/qt6/examples
[ 36s] QT_HOST_PREFIX:/usr
[ 36s] QT_HOST_DATA:/usr/lib64/qt6
[ 36s] QT_HOST_BINS:/usr/lib64/qt6/bin
[ 36s] QT_HOST_LIBEXECS:/usr/lib64/qt6/libexec
[ 36s] QT_HOST_LIBS:/usr/lib64
[ 36s] QMAKE_SPEC:linux-g++
[ 36s] QMAKE_XSPEC:linux-g++
[ 36s] QMAKE_VERSION:3.1
[ 36s] QT_VERSION:6.4.2

I think that the Qt6 library (used on the buildservice) may have been build without the necessary options.
I need SVG, OPENGL and WebEngineWidgets support.

@hellcp-work
Copy link
Contributor

This is not an issue with OBS the service software but content within an OBS instance. Please report issues like these to the community behind the OBS you are using, which for openSUSE would be to https://bugzilla.opensuse.org

@pvbrowser
Copy link
Author

Tank you,
the answer is as i expected.

@pvbrowser
Copy link
Author

Thank you, sorry foe my bad english

@pvbrowser
Copy link
Author

If somebody has similar problems i can now give the following advice:

Qt is divided in many packages you need to install first.
In case of Ubuntu the packages
libqt6svg6
libqt6svg6-dev
qt6-tools-dev-tools
were missing on my project.

Unfortunately the names of the packages are different on different linux distributions.
This does not make life easier.
You will have to solve this puzzle.

My hope was, i would get help here.
The spirit of the old days seems to be gone :-(

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

No branches or pull requests

2 participants