CryptoCoderz / Espers

An Experimental Blockchain Project
https://espers.io/
MIT License
80 stars 52 forks source link

qt code in the daemon #1

Closed pallas1 closed 8 years ago

pallas1 commented 8 years ago

init.cpp:31:23: fatal error: QTextStream: No such file or directory

while doing make -f makefile.unix from src/

CryptoCoderz commented 8 years ago

Please check v0.8.4.2 Patch 3's commit as it was applied as a fix for the compilation issue.

Details:

ifdef Q_OS_WIN

//TODO: CORRECT THIS
QString runcheck = QDir::homePath() + "/AppData/Roaming/ESP/chk.file";
QString runcheck = QDir::currentPath() + "/chk.file";
QFile rcheck(runcheck);
if(rcheck.open(QIODevice::ReadWrite))
{
QTextStream saturate(&rcheck);
saturate << "Temp File that flags launcher" << endl;
}

endif

pallas1 commented 8 years ago

Same problem in db.cpp

CryptoCoderz commented 8 years ago

Got it, working on it.

CryptoCoderz commented 8 years ago

Corrected the second file. Double checked to make sure that the daemon files are defined for windows now.