diff options
author | Adam Treat <adam.treat@qt.io> | 2017-12-18 14:50:02 -0500 |
---|---|---|
committer | Simon Hausmann <simon.hausmann@qt.io> | 2018-01-09 16:49:05 +0000 |
commit | 6b1fe1a54183498cd87266c41e79eb4d3c396e42 (patch) | |
tree | fb750bfcf78cfb3b4c70b8e1fd9630a79023f067 /src/qml/compiler | |
parent | 66f8b97f5ea4a8d196f908fae78d2b68cfab32cf (diff) |
Compile under QNX 7.0 with qcc 5.4 for instance
Change-Id: Ib1a3d51a1c22d0ba0992ca98ad1e51658a871b38
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
Diffstat (limited to 'src/qml/compiler')
-rw-r--r-- | src/qml/compiler/qv4compileddata.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qml/compiler/qv4compileddata.cpp b/src/qml/compiler/qv4compileddata.cpp index f54a1b0c41..7735cd03d8 100644 --- a/src/qml/compiler/qv4compileddata.cpp +++ b/src/qml/compiler/qv4compileddata.cpp @@ -747,7 +747,7 @@ static QByteArray ownLibraryChecksum() // the cache files may end up being re-used. To avoid that we also add the checksum of // the QtQml library. Dl_info libInfo; - if (dladdr(reinterpret_cast<const void *>(&ownLibraryChecksum), &libInfo) != 0) { + if (dladdr(reinterpret_cast<void *>(&ownLibraryChecksum), &libInfo) != 0) { QFile library(QFile::decodeName(libInfo.dli_fname)); if (library.open(QIODevice::ReadOnly)) { QCryptographicHash hash(QCryptographicHash::Md5); |