Re: [Interest] Is there a command line call to qmake to test the bit width?

2015-03-12 Thread Bo Thorsen
Den 04-03-2015 kl. 19:39 skrev Scott Aron Bloom: -Original Message- From: interest-bounces+scott.bloom=onshorecs@qt-project.org [mailto:interest-bounces+scott.bloom=onshorecs@qt-project.org] On Behalf Of Thiago Macieira Sent: Wednesday, March 04, 2015 9:44 AM To:

Re: [Interest] Is there a command line call to qmake to test the bit width?

2015-03-11 Thread Scott Aron Bloom
Not a bad idea... -Original Message- From: interest-bounces+scott.bloom=onshorecs@qt-project.org [mailto:interest-bounces+scott.bloom=onshorecs@qt-project.org] On Behalf Of Bo Thorsen Sent: Wednesday, March 11, 2015 3:18 AM To: interest@qt-project.org Subject: Re: [Interest] Is

Re: [Interest] Is there a command line call to qmake to test the bit width?

2015-03-04 Thread Thiago Macieira
On Wednesday 04 March 2015 17:15:45 Scott Aron Bloom wrote: By then its too late.. I want the shell script that calls the make system to fail, saying you have the qmake setup wrong... Why would it be wrong? If qmake is installed, it's been installed correctly right? :-) And what is the issue

Re: [Interest] Is there a command line call to qmake to test the bit width?

2015-03-04 Thread Giuseppe D'Angelo
On 4 March 2015 at 18:05, Scott Aron Bloom scott.bl...@onshorecs.com wrote: I am creating two versions of my tool, 32 and 64 bit. However, I have, more than once, started a build against the wrong path, so it was building against Qt 64 when it was supposed to build against Qt 32 (or vice

Re: [Interest] Is there a command line call to qmake to test the bit width?

2015-03-04 Thread Keith Gardner
If you are trying to figure out which qmake created the Makefile your script is using, you can try call make qmake -n. This will give you the qmake command that is being used including the path to qmake itself. You can then query that qmake for the QMAKE_SPEC it is defaults to (linux-g++-64 or

Re: [Interest] Is there a command line call to qmake to test the bit width?

2015-03-04 Thread Karl Ruetz
Provided you defined a mkspec when you built Qt, you can put something like this in your project file: linux-g++-64{ message(Building for linux 64-bit) LIBS += -lusb -L../lib64 } linux-g++-32{ message(Building for linux 32-bit) LIBS += -L../lib } win32-g++{ message(Building for windows 32-bit)

Re: [Interest] Is there a command line call to qmake to test the bit width?

2015-03-04 Thread Karl Ruetz
On Mar 4, 2015, at 11:44 AM, Thiago Macieira thiago.macie...@intel.com wrote: On Wednesday 04 March 2015 17:15:45 Scott Aron Bloom wrote: By then its too late.. I want the shell script that calls the make system to fail, saying you have the qmake setup wrong... Why would it be wrong?

[Interest] Is there a command line call to qmake to test the bit width?

2015-03-04 Thread Scott Aron Bloom
I am creating two versions of my tool, 32 and 64 bit. However, I have, more than once, started a build against the wrong path, so it was building against Qt 64 when it was supposed to build against Qt 32 (or vice versa) Is there a qmake or some way, that in the setup scripts to my build, I can

Re: [Interest] Is there a command line call to qmake to test the bit width?

2015-03-04 Thread Scott Aron Bloom
-Original Message- From: interest-bounces+scott.bloom=onshorecs@qt-project.org [mailto:interest-bounces+scott.bloom=onshorecs@qt-project.org] On Behalf Of Thiago Macieira Sent: Wednesday, March 04, 2015 9:44 AM To: interest@qt-project.org Subject: Re: [Interest] Is there a

Re: [Interest] Is there a command line call to qmake to test the bit width?

2015-03-04 Thread Thiago Macieira
On Wednesday 04 March 2015 18:39:55 Scott Aron Bloom wrote: No. Maybe Im not explaining myself correctly. Since this was purely a question on qmake, or if there was anyway to look at a Qt install an see what bit width it was built against. However here are all the gory details. On a