[Development] Fwd: qrandom.cpp build problem: please advise
Alexei Fedotov
alexei.fedotov at gmail.com
Tue Feb 27 09:45:25 CET 2018
Hi folks,
qtbase/src/corelib/global/qrandom.cpp has the following code
#if QT_CONFIG(getentropy)
# include <sys/random.h>
#elif !defined(Q_OS_BSD4) && !defined(Q_OS_WIN)
# include "qdeadlinetimer.h"
# include "qhashfunctions.h"
# if QT_CONFIG(getauxval)
# include <sys/auxv.h>
# endif
#endif // !QT_CONFIG(getentropy)
./configure sets getentropy in qtbase/src/corelib/qtcore-config_p.h to
1, but I have no sys/random.h
Maybe getentropy comes from a modern compiler, not from system headers
So the build fails. I wonder if this is a bug.
--
Carry a towel
http://dataved.ru/
+7 916 562 8095
[1] Join Alexei Fedotov @linkedin, http://ru.linkedin.com/in/dataved/
[2] Join Alexei Fedotov @facebook, http://www.facebook.com/openmeetings
[3] Start using Apache Openmeetings today, http://openmeetings.apache.org/
More information about the Development
mailing list