diff options
| author | Martin Jansa <Martin.Jansa@gmail.com> | 2019-05-30 12:01:42 +0000 |
|---|---|---|
| committer | Martin Jansa <Martin.Jansa@gmail.com> | 2019-05-30 12:01:43 +0000 |
| commit | 2a5f9415e48a38f6f4eb0cf375737a2d8438e2fe (patch) | |
| tree | 580a9b9acedd1b8d0b88642c85756e78ba633912 /recipes-qt/qt5/nativesdk-qtbase_git.bb | |
| parent | 8bc72a78b13f2f4c5e1cebebaef9e98b9abbb056 (diff) | |
| download | meta-qt5-2a5f9415e48a38f6f4eb0cf375737a2d8438e2fe.tar.gz | |
qtbase: fix build with gcc-9
* some components which use Werror started to fail with gcc-9, because of new warning:
https://gcc.gnu.org/gcc-9/changes.html
New warnings:
-Wdeprecated-copy, implied by -Wextra, warns about the C++11
deprecation of implicitly declared copy constructor and
assignment operator if one of them is user-provided.
-Wdeprecated-copy-dtor also warns if the destructor is
user-provided, as specified in C++11.
* e.g. maliit-framework-qt5 was now failing with:
maliit-framework-qt5/0.99.0+gitAUTOINC+62bd54bcde-r0/recipe-sysroot/usr/include/QtCore/qvariant.h:273:25:
error: implicitly-declared 'constexpr QVariant::Private& QVariant::Private::operator=(const QVariant::Private&)' is deprecated [-Werror=deprecated-copy]
273 | { other.d = Private(); }
| ^
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'recipes-qt/qt5/nativesdk-qtbase_git.bb')
| -rw-r--r-- | recipes-qt/qt5/nativesdk-qtbase_git.bb | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/recipes-qt/qt5/nativesdk-qtbase_git.bb b/recipes-qt/qt5/nativesdk-qtbase_git.bb index 82b6da92..3c4f31cc 100644 --- a/recipes-qt/qt5/nativesdk-qtbase_git.bb +++ b/recipes-qt/qt5/nativesdk-qtbase_git.bb | |||
| @@ -23,7 +23,7 @@ FILESEXTRAPATHS =. "${FILE_DIRNAME}/qtbase:" | |||
| 23 | 23 | ||
| 24 | # common for qtbase-native, qtbase-nativesdk and qtbase | 24 | # common for qtbase-native, qtbase-nativesdk and qtbase |
| 25 | # Patches from https://github.com/meta-qt5/qtbase/commits/b5.12-shared | 25 | # Patches from https://github.com/meta-qt5/qtbase/commits/b5.12-shared |
| 26 | # 5.12.meta-qt5-shared.7 | 26 | # 5.12.meta-qt5-shared.8 |
| 27 | SRC_URI += "\ | 27 | SRC_URI += "\ |
| 28 | file://0001-Add-linux-oe-g-platform.patch \ | 28 | file://0001-Add-linux-oe-g-platform.patch \ |
| 29 | file://0002-cmake-Use-OE_QMAKE_PATH_EXTERNAL_HOST_BINS.patch \ | 29 | file://0002-cmake-Use-OE_QMAKE_PATH_EXTERNAL_HOST_BINS.patch \ |
| @@ -41,14 +41,15 @@ SRC_URI += "\ | |||
| 41 | file://0014-Qt5GuiConfigExtras.cmake.in-cope-with-variable-path-.patch \ | 41 | file://0014-Qt5GuiConfigExtras.cmake.in-cope-with-variable-path-.patch \ |
| 42 | file://0015-corelib-Include-sys-types.h-for-uint32_t.patch \ | 42 | file://0015-corelib-Include-sys-types.h-for-uint32_t.patch \ |
| 43 | file://0016-Define-QMAKE_CXX.COMPILER_MACROS-for-clang-on-linux.patch \ | 43 | file://0016-Define-QMAKE_CXX.COMPILER_MACROS-for-clang-on-linux.patch \ |
| 44 | file://0017-Fix-Wdeprecated-copy-warnings.patch \ | ||
| 44 | " | 45 | " |
| 45 | 46 | ||
| 46 | # common for qtbase-native and nativesdk-qtbase | 47 | # common for qtbase-native and nativesdk-qtbase |
| 47 | # Patches from https://github.com/meta-qt5/qtbase/commits/b5.12-native | 48 | # Patches from https://github.com/meta-qt5/qtbase/commits/b5.12-native |
| 48 | # 5.12.meta-qt5-native.7 | 49 | # 5.12.meta-qt5-native.8 |
| 49 | SRC_URI += " \ | 50 | SRC_URI += " \ |
| 50 | file://0017-Always-build-uic-and-qvkgen.patch \ | 51 | file://0018-Always-build-uic-and-qvkgen.patch \ |
| 51 | file://0018-Avoid-renameeat2-for-native-sdk-builds.patch \ | 52 | file://0019-Avoid-renameeat2-for-native-sdk-builds.patch \ |
| 52 | " | 53 | " |
| 53 | 54 | ||
| 54 | # CMake's toolchain configuration of nativesdk-qtbase | 55 | # CMake's toolchain configuration of nativesdk-qtbase |
