diff options
author | Matt Hoosier <matt.hoosier@garmin.com> | 2013-10-17 08:47:46 -0500 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-10-22 12:15:57 +0200 |
commit | 163bbeb2181bc66683bb836542dc1ea2bcded1fd (patch) | |
tree | 9c7c775320f265204906bb4ea9afa9ceac4d3432 /config.tests | |
parent | 377c7575a7e8acc6030520cb36fe66da3ce43a93 (diff) | |
download | qtbase-163bbeb2181bc66683bb836542dc1ea2bcded1fd.tar.gz |
Detect pointer size at configure-time on Windows-hosted builds
The configure-time procedure used on Windows does not currently
perform the same tests to determine the width of a pointer as are
performed on Unix-based builds.
This causes QT_POINTER_SIZE to be undefined in the generated
qconfig.h file. This in turn breaks compilation of various Qt modules
such as QtDeclarative.
This patch adds the same level of support for automatically
determining the target platform's pointer size, as is currently
offered to Unix users.
Change-Id: I93838c1759b14089ba9f4daf442048fb5c8da738
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
Diffstat (limited to 'config.tests')
-rw-r--r-- | config.tests/unix/ptrsize/ptrsizetest.pro | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/config.tests/unix/ptrsize/ptrsizetest.pro b/config.tests/unix/ptrsize/ptrsizetest.pro index 045a759ec9..a7ae38a5d9 100644 --- a/config.tests/unix/ptrsize/ptrsizetest.pro +++ b/config.tests/unix/ptrsize/ptrsizetest.pro @@ -1,2 +1,3 @@ SOURCES = ptrsizetest.cpp CONFIG -= qt dylib +CONFIG += debug console |