GithubHelp home page GithubHelp logo

Comments (6)

adityapk00 avatar adityapk00 commented on August 25, 2024

Thanks for reporting this. I briefly looked into it, and I suspect your version of Qt is < 5.10. What's the output of qmake -version? Here's what I have:

QMake version 3.1
Using Qt version 5.11.2 in C:/dev/Qt/5.11.2/msvc2017_64/lib

Can you try installing the latest version (5.11.2) of Qt?

I'll spend some time early next week trying to get it to compile with lower versions of Qt.. Thanks!

from zecwallet.

adityapk00 avatar adityapk00 commented on August 25, 2024

Can you git pull and try again? I think I might have fixed it with commit: d3c4b42

from zecwallet.

dreadlokeur avatar dreadlokeur commented on August 25, 2024

QMake version 3.0
Using Qt version 5.7.1 in /usr/lib/x86_64-linux-gnu

I have pull your last commit, and now i have :

src/senttxstore.cpp: In static member function ‘static void SentTxStore::addToSentTx(Tx, QString)’:
src/senttxstore.cpp:90:39: error: ‘class QDateTime’ has no member named ‘currentSecsSinceEpoch’; did you mean ‘currentMSecsSinceEpoch’?
txItem["datetime"] = QDateTime().currentSecsSinceEpoch();
^~~~~~~~~~~~~~~~~~~~~
g++ -c -include bin/zec-qt-wallet -m64 -pipe -g -std=gnu++1y -Wall -W -D_REENTRANT -fPIC -DQT_DEPRECATED_WARNINGS -DAPP_VERSION="0.2.4" -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -Isrc/3rdparty -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtWidgets -isystem /usr/include/x86_64-linux-gnu/qt5/QtGui -isystem /usr/include/x86_64-linux-gnu/qt5/QtNetwork -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -Ibin -Isrc -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++-64 -o bin/txtablemodel.o src/txtablemodel.cpp
g++ -c -include bin/zec-qt-wallet -m64 -pipe -g -std=gnu++1y -Wall -W -D_REENTRANT -fPIC -DQT_DEPRECATED_WARNINGS -DAPP_VERSION="0.2.4" -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -Isrc/3rdparty -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtWidgets -isystem /usr/include/x86_64-linux-gnu/qt5/QtGui -isystem /usr/include/x86_64-linux-gnu/qt5/QtNetwork -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -Ibin -Isrc -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++-64 -o bin/utils.o src/utils.cpp
src/txtablemodel.cpp: In member function ‘virtual QVariant TxTableModel::data(const QModelIndex&, int) const’:
src/txtablemodel.cpp:101:24: error: ‘fromSecsSinceEpoch’ is not a member of ‘QDateTime’
case 2: return QDateTime::fromSecsSinceEpoch(modeldata->at(index.row()).datetime).toLocalTime().toString();
^~~~~~~~~
src/txtablemodel.cpp:117:24: error: ‘fromSecsSinceEpoch’ is not a member of ‘QDateTime’
case 2: return QDateTime::fromSecsSinceEpoch(modeldata->at(index.row()).datetime).toLocalTime().toString();

from zecwallet.

dreadlokeur avatar dreadlokeur commented on August 25, 2024

https://doc.qt.io/qt-5/qdatetime.html#currentSecsSinceEpoch
"This function was introduced in Qt 5.8."

from zecwallet.

adityapk00 avatar adityapk00 commented on August 25, 2024

Ah, thanks for the detailed feedback. I’ll this

from zecwallet.

adityapk00 avatar adityapk00 commented on August 25, 2024

Oh, you already sent a PR! Thanks!

Merged.

from zecwallet.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.