g++ -c -pipe -fstack-protector-all -D_FORTIFY_SOURCE=2 -O2 -D_REENTRANT -fdiagnostics-show-option -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -Wstack-protector -DQT_GUI -DBOOST_THREAD_USE_LIB -DBOOST_SPIRIT_THREADSAFE -DUSE_UPNP=1 -DSTATICLIB -DUSE_IPV6=1 -DHAVE_BUILD_INFO -DLINUX -D_FILE_OFFSET_BITS=64 -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/default -I/usr/include/QtCore -I/usr/include/QtNetwork -I/usr/include/QtGui -I/usr/include -Isrc -Isrc/json -Isrc/qt -Isrc/leveldb/include -Isrc/leveldb/helpers -Ibuild -Ibuild -o build/sendcoinsdialog.o src/qt/sendcoinsdialog.cpp
src/qt/sendcoinsdialog.cpp: In member function ‘void SendCoinsDialog::on_sendButton_clicked()’:
src/qt/sendcoinsdialog.cpp:93:124: error: ‘const class QString’ has no member named ‘toHtmlEscaped’
formatted.append(tr("%1 to %2 (%3)").arg(BitcoinUnits::formatWithUnit(BitcoinUnits::DOUG, rcp.amount), rcp.label.toHtmlEscaped(), rcp.address));
^
make: *** [build/sendcoinsdialog.o] Error 1
Dougcoind compiles ok, but the qt wallet does not
Solution: in line 90 of src/qt/sendcoinsdialog.cpp change 0x05000 to 0x050000.
Is this an error while compiling in linux? I'm wondering if I should commit this change for the next update.
I think so, if you check the sources then in all the places QT_VERSION is compared with 0x050000, this was the only place where 0x05000 was used, someone ate one zero. Generally this error will happen when building the wallet with Qt 4.x, with Qt 5.x it will work fine. Operating system is irrelevant.