Re: [Interest] Target machine not set in projects generated by qmake for Visual Studio

2013-06-03 Thread Tony Rietwyk
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

Re: [Interest] Target machine not set in projects generated by qmake for Visual Studio

2013-06-03 Thread Ben Swerts
> 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: > >- 0 error(s), 1 warning(s) > > which sucks. I have tried changing mkspecs/win32-msvc2008/qmake.

Re: [Interest] Target machine not set in projects generated by qmake for Visual Studio

2013-06-02 Thread Scott Aron Bloom
- From: interest-bounces+scott.bloom=onshorecs@qt-project.org [mailto:interest-bounces+scott.bloom=onshorecs@qt-project.org] On Behalf Of Tony Rietwyk Sent: Sunday, June 2, 2013 9:45 PM To: interest@qt-project.org Subject: [Interest] Target machine not set in projects generated by qmake

Re: [Interest] Target machine not set in projects generated by qmake for Visual Studio

2013-06-02 Thread Thiago Macieira
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 thi

[Interest] Target machine not set in projects generated by qmake for Visual Studio

2013-06-02 Thread Tony Rietwyk
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: - 0 error(s), 1 warning(s) which sucks. I have tried changing mkspecs/win32-msvc2008/qmake.conf to include