[Development] configure best practices

2018-08-24 Thread Alexei Fedotov
Hello, folks.
I want to learn configure options beyond the limits of Qt documentation.

I believe there should be a place where Qt regular builds are built,
and there should be plenty of working options there. Could you please
suggest a link to the scripts which produce these builds?


--
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/
___
Development mailing list
Development@qt-project.org
http://lists.qt-project.org/mailman/listinfo/development


Re: [Development] Fwd: qrandom.cpp build problem: please advise

2018-07-31 Thread Alexei Fedotov
Thanks, Simon!
--
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/


On Tue, Jul 31, 2018 at 2:16 PM, Simon Hausmann  wrote:
> Hi,
>
>
> You might be looking for the -extprefix parameter of configure :)
>
>
>
> Simon
>
> 
> From: Development 
> on behalf of Alexei Fedotov 
> Sent: Tuesday, July 31, 2018 1:12:52 PM
> To: Thiago Macieira
> Cc: development@qt-project.org
> Subject: Re: [Development] Fwd: qrandom.cpp build problem: please advise
>
> Hi Thiago,
>
> You wrote,
>> you need a full, absolute Windows path for the prefix.
>
>
> I tried the following:
> ./configure -developer-build -debug -shared -platform win32-g++
> -prefix D:/Qt/5.11/arm -device linux-beagleboard-g++ -device-option
> CROSS_COMPILE=/d/compilers/gcc-linaro-6.4.1-2017.11-i686-mingw32_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-
> -sysroot /d/compilers/sysroot-glibc-linaro-2.25-2017.11-arm-linux-gnueabihf
> -opensource -confirm-license -v -nomake examples -nomake tests
> -qt-zlib -no-opengl -qt-libpng -no-eglfs -no-xcb -no-accessibility
> -skip 3d -skip activeqt -skip androidextras -skip canvas3d -skip
> connectivity -skip datavis3d -skip declarative -skip doc -skip
> docgallery -skip enginio -skip feedback -skip gamepad -skip
> graphicaleffects -skip imageformats -skip location -skip macextras
> -skip multimedia -skip networkauth -skip pim -skip purchasing -skip qa
> -skip quick1 -skip quickcontrols -skip quickcontrols2 -skip
> remoteobjects -skip repotools -skip script -skip scxml -skip sensors
> -skip serialbus -skip serialport -skip speech -skip svg -skip systems
> -skip tools -skip translations -skip virtualkeyboard -skip webchannel
> -skip webengine -skip webglplugin -skip websockets -skip webview -skip
> winextras -skip x11extras -skip xmlpatterns -no-openvg -no-qml-debug
> -no-openssl -no-pch
>
>
> As a result, I get the following during installation stage:
> D:/QtBuild/qtlast.new/qt5/qtbase/bin/qmake.exe -install qinstall
> D:/QtBuild/qtlast.new/qt5/qtcharts/mkspecs/modules-inst/qt_lib_charts_private.pri
> D:/compilers/sysroot-glibc-linaro-2.25-2017.11-arm-linux-gnueabihfD:/Qt/5.11/arm/mkspecs/modules/qt_lib_charts_private.pri
>
> How can I avoid combining sysroot and prefix into
> "D:/compilers/sysroot-glibc-linaro-2.25-2017.11-arm-linux-gnueabihfD:/Qt/5.11/arm"?
>
> I'm using ActivePerl v5.26.1
>
> --
> 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/
>
>
> On Tue, Mar 13, 2018 at 6:23 PM, Thiago Macieira
>  wrote:
>> On Tuesday, 13 March 2018 02:18:42 PDT Alexei Fedotov wrote:
>>> The build finally passed for me after replacing perl with ActivePerl
>>> and skipping "qtscript". I'm currently trying to figure out how
>>> -prefix works for MSYS.
>>
>> It should be the same as everything else, provided you're using
>> ActivePerl.
>> Because of that, no Qt application or script will know about MSYS mounts,
>> so
>> you need a full, absolute Windows path for the prefix.
>>
>> --
>> Thiago Macieira - thiago.macieira (AT) intel.com
>>   Software Architect - Intel Open Source Technology Center
>>
>>
>>
>> ___
>> Development mailing list
>> Development@qt-project.org
>> http://lists.qt-project.org/mailman/listinfo/development
> ___
> Development mailing list
> Development@qt-project.org
> http://lists.qt-project.org/mailman/listinfo/development
___
Development mailing list
Development@qt-project.org
http://lists.qt-project.org/mailman/listinfo/development


Re: [Development] Fwd: qrandom.cpp build problem: please advise

2018-07-31 Thread Alexei Fedotov
Hi Thiago,

You wrote,
> you need a full, absolute Windows path for the prefix.


I tried the following:
./configure -developer-build -debug -shared -platform win32-g++
-prefix D:/Qt/5.11/arm -device linux-beagleboard-g++ -device-option
CROSS_COMPILE=/d/compilers/gcc-linaro-6.4.1-2017.11-i686-mingw32_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-
-sysroot /d/compilers/sysroot-glibc-linaro-2.25-2017.11-arm-linux-gnueabihf
-opensource -confirm-license -v -nomake examples -nomake tests
-qt-zlib -no-opengl -qt-libpng -no-eglfs -no-xcb -no-accessibility
-skip 3d -skip activeqt -skip androidextras -skip canvas3d -skip
connectivity -skip datavis3d -skip declarative -skip doc -skip
docgallery -skip enginio -skip feedback -skip gamepad -skip
graphicaleffects -skip imageformats -skip location -skip macextras
-skip multimedia -skip networkauth -skip pim -skip purchasing -skip qa
-skip quick1 -skip quickcontrols -skip quickcontrols2 -skip
remoteobjects -skip repotools -skip script -skip scxml -skip sensors
-skip serialbus -skip serialport -skip speech -skip svg -skip systems
-skip tools -skip translations -skip virtualkeyboard -skip webchannel
-skip webengine -skip webglplugin -skip websockets -skip webview -skip
winextras -skip x11extras -skip xmlpatterns -no-openvg -no-qml-debug
-no-openssl -no-pch


As a result, I get the following during installation stage:
D:/QtBuild/qtlast.new/qt5/qtbase/bin/qmake.exe -install qinstall
D:/QtBuild/qtlast.new/qt5/qtcharts/mkspecs/modules-inst/qt_lib_charts_private.pri
D:/compilers/sysroot-glibc-linaro-2.25-2017.11-arm-linux-gnueabihfD:/Qt/5.11/arm/mkspecs/modules/qt_lib_charts_private.pri

How can I avoid combining sysroot and prefix into
"D:/compilers/sysroot-glibc-linaro-2.25-2017.11-arm-linux-gnueabihfD:/Qt/5.11/arm"?

I'm using ActivePerl v5.26.1

--
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/


On Tue, Mar 13, 2018 at 6:23 PM, Thiago Macieira
 wrote:
> On Tuesday, 13 March 2018 02:18:42 PDT Alexei Fedotov wrote:
>> The build finally passed for me after replacing perl with ActivePerl
>> and skipping "qtscript". I'm currently trying to figure out how
>> -prefix works for MSYS.
>
> It should be the same as everything else, provided you're using ActivePerl.
> Because of that, no Qt application or script will know about MSYS mounts, so
> you need a full, absolute Windows path for the prefix.
>
> --
> Thiago Macieira - thiago.macieira (AT) intel.com
>   Software Architect - Intel Open Source Technology Center
>
>
>
> ___
> Development mailing list
> Development@qt-project.org
> http://lists.qt-project.org/mailman/listinfo/development
___
Development mailing list
Development@qt-project.org
http://lists.qt-project.org/mailman/listinfo/development


Re: [Development] Fwd: qrandom.cpp build problem: please advise

2018-03-13 Thread Alexei Fedotov
Thiago, thanks.
The build finally passed for me after replacing perl with ActivePerl
and skipping "qtscript". I'm currently trying to figure out how
-prefix works for MSYS.
--
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/


On Tue, Mar 6, 2018 at 8:18 PM, Thiago Macieira
 wrote:
> On Tuesday, 6 March 2018 07:42:59 PST Alexei Fedotov wrote:
>> -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_BUILD_CORE_LIB
> [cut]
>> arch/qatomic_bootstrap.h -o .obj/header_qatomic_bootstrap.obj
>
> This is a header check of a file that shouldn't be header-checked. The header
> in question (qatomic_bootstrap.h) has:
>
> #pragma qt_sync_skip_header_check
>
> So the problem is syncqt. Please delete your build, verify that Perl is
> properly installed in your environment (it cannot be MSYS's) and and that you
> don't have a stale syncqt somewhere.
>
> --
> Thiago Macieira - thiago.macieira (AT) intel.com
>   Software Architect - Intel Open Source Technology Center
>
>
>
> ___
> Development mailing list
> Development@qt-project.org
> http://lists.qt-project.org/mailman/listinfo/development
___
Development mailing list
Development@qt-project.org
http://lists.qt-project.org/mailman/listinfo/development


Re: [Development] Fwd: qrandom.cpp build problem: please advise

2018-03-06 Thread Alexei Fedotov
(I posted the error message one extra time)
--
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/


On Tue, Mar 6, 2018 at 6:42 PM, Alexei Fedotov  wrote:
> Thiago, here is a required info
>
> 1) the command line extracted from the log which reproduces the error,
>
> D:/compilers/gcc-linaro-7.1.1-2017.08-i686-mingw32_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-g++
> -c -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mthumb -march=armv7-a
> -mtune=cortex-a8 -mfpu=neon -mthumb -mfloat-abi=hard
> --sysroot=D:/compilers/sysroot-glibc-linaro-2.25-2017.11-arm-linux-gnueabihf
> -g -Og -std=c++1z -fvisibility=hidden -fvisibility-inlines-hidden
> -Wall -W -Wvla -Wdate-time -Wshift-overflow=2 -Wduplicated-cond
> -Wno-stringop-overflow -Werror -Wno-error=cpp
> -Wno-error=deprecated-declarations -Wno-error=strict-overflow
> -Wno-error=implicit-fallthrough -D_REENTRANT -fPIC
> -DQT_NO_USING_NAMESPACE -DQT_NO_FOREACH
> -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_BUILD_CORE_LIB
> -DQT_BUILDING_QT -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS
> -DQT_MOC_COMPAT -DQT_USE_QSTRINGBUILDER -DQT_DEPRECATED_WARNINGS
> -DQT_DISABLE_DEPRECATED_BEFORE=0x05 -D_LARGEFILE64_SOURCE
> -D_LARGEFILE_SOURCE -DPCRE2_CODE_UNIT_WIDTH=16 -Wall -Wextra -Werror
> -Woverloaded-virtual -Wshadow -Wundef -Wfloat-equal -Wnon-virtual-dtor
> -Wpointer-arith -Wformat-security -Wno-long-long -Wno-variadic-macros
> -pedantic-errors -Wchar-subscripts -Wold-style-cast -Wdouble-promotion
> -Wfloat-conversion -Wzero-as-null-pointer-constant -I.
> -I../3rdparty/zlib/src -Iglobal -I../3rdparty/harfbuzz/src
> -I../3rdparty/md5 -I../3rdparty/md4 -I../3rdparty/sha3
> -I../3rdparty/double-conversion/include
> -I../3rdparty/double-conversion/include/double-conversion
> -I../3rdparty/forkfd -I../../include -I../../include/QtCore
> -I../../include/QtCore/5.10.1 -I../../include/QtCore/5.10.1/QtCore
> -I.moc -I../3rdparty/pcre2/src
> -I../../mkspecs/devices/linux-beagleboard-g++ -DQT_NO_CAST_TO_ASCII=1
> -DQT_NO_CAST_FROM_ASCII=1 -UQT_RESTRICTED_CAST_FROM_ASCII
> -DQT_STRICT_ITERATORS -DQT_NO_URL_CAST_FROM_STRING=1
> -DQT_NO_CAST_FROM_BYTEARRAY=1 -DQT_NO_KEYWORDS=1
> -DQT_USE_QSTRINGBUILDER -DQT_USE_FAST_OPERATOR_PLUS -Dsignals=int
> -Dslots=int -Demit=public: -Dforeach=public: -Dforever=public: -xc++
> arch/qatomic_bootstrap.h -o .obj/header_qatomic_bootstrap.obj
>
> In file included from ../../include/QtCore/qatomic_cxx11.h:1:0,
>  from
> ../../include/QtCore/../../src/corelib/thread/qbasicatomic.h:53,
>  from ../../include/QtCore/qbasicatomic.h:1,
>  from
> ../../include/QtCore/../../src/corelib/thread/qatomic.h:46,
>  from ../../include/QtCore/qatomic.h:1,
>  from
> ../../include/QtCore/../../src/corelib/global/qglobal.h:1185,
>  from ../../include/QtCore/qglobal.h:1,
>  from
> ../../include/QtCore/../../src/corelib/thread/qgenericatomic.h:44,
>  from ../../include/QtCore/qgenericatomic.h:1,
>  from arch/qatomic_bootstrap.h:44:
> ../../include/QtCore/../../src/corelib/arch/qatomic_cxx11.h:48:19:
> error: 'QAtomicOpsSupport' is not a class template
>  template<> struct QAtomicOpsSupport<1> { enum { IsSupported = 1 }; };
>^
> ../../include/QtCore/../../src/corelib/arch/qatomic_cxx11.h:48:40:
> error: explicit specialization of non-template 'QAtomicOpsSupport'
>  template<> struct QAtomicOpsSupport<1> { enum { IsSupported = 1 }; };
>
> 2) here is the first error message (I get the same for other <2> later as 
> well)
>
> In file included from ../../include/QtCore/qatomic_cxx11.h:1:0,
>  from
> ../../include/QtCore/../../src/corelib/thread/qbasicatomic.h:53,
>  from ../../include/QtCore/qbasicatomic.h:1,
>  from
> ../../include/QtCore/../../src/corelib/thread/qatomic.h:46,
>  from ../../include/QtCore/qatomic.h:1,
>  from
> ../../include/QtCore/../../src/corelib/global/qglobal.h:1185,
>  from ../../include/QtCore/qglobal.h:1,
>  from
> ../../include/QtCore/../../src/corelib/thread/qgenericatomic.h:44,
>  from ../../include/QtCore/qgenericatomic.h:1,
>  from arch/qatomic_bootstrap.h:44:
> ../../include/QtCore/../../src/corelib/arch/qatomic_cxx11.h:48:19:
> error: 'QAtomicOpsSupport' is not a class template
>  template<> struct QAtomicOps

Re: [Development] Fwd: qrandom.cpp build problem: please advise

2018-03-06 Thread Alexei Fedotov
figured with:
'/home/tcwg-buildslave/workspace/tcwg-make-release/builder_arch/amd64/label/tcwg-x86_64-build/target/arm-linux-gnueabihf/snapshots/gcc.git~linaro-7.1-2017.08/configure'
SHELL=/bin/bash
--with-mpc=/home/tcwg-buildslave/workspace/tcwg-make-release/builder_arch/amd64/label/tcwg-x86_64-build/target/arm-linux-gnueabihf/_build/builds/destdir/i686-w64-mingw32
--with-mpfr=/home/tcwg-buildslave/workspace/tcwg-make-release/builder_arch/amd64/label/tcwg-x86_64-build/target/arm-linux-gnueabihf/_build/builds/destdir/i686-w64-mingw32
--with-gmp=/home/tcwg-buildslave/workspace/tcwg-make-release/builder_arch/amd64/label/tcwg-x86_64-build/target/arm-linux-gnueabihf/_build/builds/destdir/i686-w64-mingw32
--with-gnu-as --with-gnu-ld --disable-libmudflap --enable-lto
--enable-shared --without-included-gettext --enable-nls
--disable-sjlj-exceptions --enable-gnu-unique-object
--enable-linker-build-id --disable-libstdcxx-pch --enable-c99
--enable-clocale=gnu --enable-libstdcxx-debug --enable-long-long
--with-cloog=no --with-ppl=no --with-isl=no --disable-multilib
--with-float=hard --with-fpu=vfpv3-d16 --with-mode=thumb
--with-tune=cortex-a9 --with-arch=armv7-a --enable-threads=posix
--enable-multiarch --enable-libstdcxx-time=yes
--enable-gnu-indirect-function
--with-build-sysroot=/home/tcwg-buildslave/workspace/tcwg-make-release/builder_arch/amd64/label/tcwg-x86_64-build/target/arm-linux-gnueabihf/_build/sysroots/arm-linux-gnueabihf
--with-sysroot=/home/tcwg-buildslave/workspace/tcwg-make-release/builder_arch/amd64/label/tcwg-x86_64-build/target/arm-linux-gnueabihf/_build/builds/destdir/i686-w64-mingw32/arm-linux-gnueabihf/libc
--enable-checking=release --disable-bootstrap
--enable-languages=c,c++,fortran,lto
--with-libiconv-prefix=/home/tcwg-buildslave/workspace/tcwg-make-release/builder_arch/amd64/label/tcwg-x86_64-build/target/arm-linux-gnueabihf/_build/builds/destdir/i686-w64-mingw32/usr
--build=x86_64-unknown-linux-gnu --host=i686-w64-mingw32
--target=arm-linux-gnueabihf
--prefix=/home/tcwg-buildslave/workspace/tcwg-make-release/builder_arch/amd64/label/tcwg-x86_64-build/target/arm-linux-gnueabihf/_build/builds/destdir/i686-w64-mingw32
Thread model: posix
gcc version 7.1.1 20170707 (Linaro GCC 7.1-2017.08)

Thanks for your help!
--
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/


On Tue, Mar 6, 2018 at 6:29 PM, Thiago Macieira
 wrote:
> On Tuesday, 6 March 2018 07:04:52 PST Alexei Fedotov wrote:
>> Hi Edward,
>> After I learned that configure needs -recheck and cleaned the
>> workspace, I cannot build Qt that
>> far to check the fix. I get the problem with QAtomicOpsSupport with
>> the last branch and some other problems with different branches
>> "is not a class template
>> template<> struct QAtomicOpsSupport<2> { enum { IsSupported = 1 }; };"
>>
>> Trying to figure out what to do. Any advice is appreciated.
>
> Start by pasting the exact error message. File name, line number and compiler
> command-line help too.
>
> --
> Thiago Macieira - thiago.macieira (AT) intel.com
>   Software Architect - Intel Open Source Technology Center
>
>
>
> ___
> Development mailing list
> Development@qt-project.org
> http://lists.qt-project.org/mailman/listinfo/development
___
Development mailing list
Development@qt-project.org
http://lists.qt-project.org/mailman/listinfo/development


Re: [Development] Fwd: qrandom.cpp build problem: please advise

2018-03-06 Thread Alexei Fedotov
Hi Edward,
After I learned that configure needs -recheck and cleaned the
workspace, I cannot build Qt that
far to check the fix. I get the problem with QAtomicOpsSupport with
the last branch and some other problems with different branches
"is not a class template
template<> struct QAtomicOpsSupport<2> { enum { IsSupported = 1 }; };"

Trying to figure out what to do. Any advice is appreciated.
--
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/


On Fri, Mar 2, 2018 at 1:47 PM, Edward Welbourne  wrote:
> Thiago Macieira (27 February 2018 16:12)
>> Originally qrandom.cpp used getrandom(), which is in sys/random.h. Apparently
>> I forgot to remove the dependency when I switched to getentropy().
>
> Alexei: please give
> https://codereview.qt-project.org/221913
> a try, let me know if that (in place of the previous fix) works for you.
>
> Eddy.
___
Development mailing list
Development@qt-project.org
http://lists.qt-project.org/mailman/listinfo/development


[Development] QHash, QSharedPointer, QScopedPointer, etc absence

2018-02-27 Thread Alexei Fedotov
Hello guys,

There is a number of C++-style headers which AFAIU just include the
C-style header. I wonder why they do not appear in my workspace. Is
there some magic invocation of the build script which creates them
automatically?

--
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/
___
Development mailing list
Development@qt-project.org
http://lists.qt-project.org/mailman/listinfo/development


Re: [Development] Fwd: qrandom.cpp build problem: please advise

2018-02-27 Thread Alexei Fedotov
Hi Edward,
thanks for a quick solution!

The patch worked for me (with  -recheck-all). I defensively used long
 include instead of a short "random.h".
--
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/


On Tue, Feb 27, 2018 at 12:11 PM, Edward Welbourne
 wrote:
> Alexei Fedotov (27 February 2018 09:45)
>> ./configure sets getentropy in qtbase/src/corelib/qtcore-config_p.h to 1,
>
> So the config.tests/unix/getentropy/ test passed.
>
>> but I have no sys/random.h
>
> which that test neglects to #include, so this lack doesn't keep it from 
> failing.
> See if
> https://codereview.qt-project.org/221462
> helps.  (It's not ideal; it should make the test fail for you, though,
> so you'll have the feature turned off, despite being available, so
> you won't hit your compilation problem.)
>
>> Maybe getentropy comes from a modern compiler, not from system headers
>
> Apparently it comes from  - at least, that's
> what the test seems to expect and its man-page claims.
>
> The author of this code may suggest some better solution, once
> his USAish time-zone reaches its daytime,
>
> Eddy.
___
Development mailing list
Development@qt-project.org
http://lists.qt-project.org/mailman/listinfo/development


[Development] Fwd: qrandom.cpp build problem: please advise

2018-02-27 Thread Alexei Fedotov
Hi folks,

qtbase/src/corelib/global/qrandom.cpp has the following code

#if QT_CONFIG(getentropy)
#  include 
#elif !defined(Q_OS_BSD4) && !defined(Q_OS_WIN)
#  include "qdeadlinetimer.h"
#  include "qhashfunctions.h"

#  if QT_CONFIG(getauxval)
#include 
#  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/
___
Development mailing list
Development@qt-project.org
http://lists.qt-project.org/mailman/listinfo/development