wuhailinjerry / edb-debugger

Automatically exported from code.google.com/p/edb-debugger
GNU General Public License v2.0
0 stars 0 forks source link

Build fails on Centos 6.2 x86_64 (fix included) #116

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Here's a quick fix that allowed me to build properly (svn rev 49):
(svn diff)
--- cut ---
Index: src/symbols.cpp
===================================================================
--- src/symbols.cpp     (revision 49)
+++ src/symbols.cpp     (working copy)
@@ -420,7 +420,8 @@
 #if defined(Q_OS_UNIX) && !defined(Q_OS_MACX)
        QFile file(filename);
        if(file.open(QIODevice::ReadOnly)) {
-               std::cout << 
qPrintable(QDateTime::currentDateTimeUtc().toString(Qt::ISODate)) << " +0000" 
<< '\n';
+               std::cout << 
qPrintable(QDateTime::currentDateTime().toUTC().toString(Qt::ISODate)) << " 
+0000" << '\n';

                const QByteArray md5 = edb::v1::get_file_md5(filename);
                std::cout << md5.toHex().data() << ' ' << qPrintable(QFileInfo(filename).absoluteFilePath()) << '\n';
--- cut ---

Original issue reported on code.google.com by evan.teran on 3 Oct 2012 at 3:22

GoogleCodeExporter commented 9 years ago
patch applied to SVN

Original comment by evan.teran on 3 Oct 2012 at 5:30