-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
qwt qwt/6.2.0: Build error's when overriding Qt version #16326
Comments
Hi @ashley-b, according to https://doc.qt.io/qt-6/supported-platforms.html minimal gcc requirement is GCC 9. |
qt/6.3.0 did build successfully in conanio/gcc8:latest container, but qwt/6.2.0 failed.
I also try adding compiler.cppstd=17 to my profile, but there was not change |
As a follow up I've found if I build qwt recipe locally with the following patch line removed, it builds successfully
|
Hi @ashley-b I don't use anymore images from https://github.com/conan-io/conan-docker-tools#gcc but as recommended I use modern ones (https://github.com/conan-io/conan-docker-tools/tree/master/modern#gcc). For information, qwt (https://qwt.sourceforge.io/) use qmake as build system, but to ease conan integration (https://github.com/conan-io/conan-center-index/tree/master/recipes/qwt/all) patches to use cmake has been added to replace qmake but only in conan center (). Indeed "settings.compiler.cppstd" seems preferable to specify C++ standard instead of having it specified directly in CMAKE_CXX_STANDARD. I think you can make a simple pull request to remove this CMAKE_CXX_STANDARD line. Regards. |
Description
When installing qwt/6.2.0 with qt/6.3.0 I get a build error from gcc: Qt requires a C++17 compiler
Package and Environment Details
Conan profile
Configuration for profile default:
[settings]
os=Linux
os_build=Linux
arch=x86_64
arch_build=x86_64
compiler=gcc
compiler.version=8
compiler.libcxx=libstdc++11
build_type=Release
[options]
[conf]
[build_requires]
[env]
Steps to reproduce
Following command run from inside conanio/gcc8 docker container
Logs
Click to expand log
The text was updated successfully, but these errors were encountered: