Inside Bitcoin
Opening the selected file…
Inside Bitcoin
Opening the selected file…
The code behind the network, with room to understand it.
Release published 2026-10-28 · Snapshot fetched 2026-11-01. Latest stable release at fetch time; development branches and Git history are excluded. Only the selected code window and visible folders load here.
1Hardcode last modified timestamp in Qt RCC3This change allows the already built qt package to be reused even with4the SOURCE_DATE_EPOCH variable set, e.g., for Guix builds.7--- old/qtbase/src/tools/rcc/rcc.cpp8+++ new/qtbase/src/tools/rcc/rcc.cpp9@@ -201,14 +201,7 @@ void RCCFileInfo::writeDataInfo(RCCResourceLibrary &lib)11if (lib.formatVersion() >= 2) {12// last modified time stamp13- const QDateTime lastModified = m_fileInfo.lastModified(QTimeZone::UTC);14- quint64 lastmod = quint64(lastModified.isValid() ? lastModified.toMSecsSinceEpoch() : 0);15- static const quint64 sourceDate = 1000 * qgetenv("QT_RCC_SOURCE_DATE_OVERRIDE").toULongLong();16- if (sourceDate != 0)17- lastmod = sourceDate;18- static const quint64 sourceDate2 = 1000 * qgetenv("SOURCE_DATE_EPOCH").toULongLong();19- if (sourceDate2 != 0)20- lastmod = sourceDate2;21+ quint64 lastmod = quint64(1);22lib.writeNumber8(lastmod);23if (text || pass1)24lib.writeChar('\n');
Independent explanations by MyBitcoinExplorer. Not affiliated with or endorsed by Bitcoin Core. Guides are educational and do not replace the source or its tests.
Bitcoin Core source © its contributors, distributed under the MIT license. Original notices and bundled third-party licenses are retained in the source tree.