Hi Everybody!
When I build my Qt 4.8.4 projects on Windows 7, I always get this warning:
LINK : warning LNK4068: /MACHINE not specified; defaulting to X86
and later:
project_name - 0 error(s), 1 warning(s)
which sucks. I have tried changing
Thanks Ben, that was the clue I was looking for.
Tony
Hi Tony,
This is how I modified the .pro files of my projects:
win32 {
contains(QMAKE_HOST.arch, x86_64) {
QMAKE_LFLAGS += /MACHINE:X64
} else {
QMAKE_LFLAGS += /MACHINE:X86
}
}
IIRC this
Hi Everybody!
When I build my Qt 4.8.4 projects on Windows 7, I always get this warning:
LINK : warning LNK4068: /MACHINE not specified; defaulting to X86
and later:
project_name - 0 error(s), 1 warning(s)
which sucks. I have tried changing
On segunda-feira, 3 de junho de 2013 14.44.37, Tony Rietwyk wrote:
which sucks. I have tried changing mkspecs/win32-msvc2008/qmake.conf to
include /MACHINE:X86 in QMAKE_LFLAGS, which works well for the moment. It
will need changing once we go to X64 builds.
How should I specify this in
You can explicitly set the MACHINE switch using a QMAKE flag.. Its been a
while, but there is a debug and release QMAKE_***_ LINK flag that you can set
it on.
I have moved to cmake, but I had filed this bug years ago, it never got
resolved last time I checked.
Scott
-Original