Am 24.01.2014 um 03:39 schrieb Thiago Macieira :
> On quinta-feira, 23 de janeiro de 2014 23:05:26, Soroush Rabiei wrote:
>> The problem is that bash (or qmake) eats the double quotation. Definition
>> needs to be wrapped in quotations. So it should pass to compiler something
>> like:
>>
>> -DSE
On Fri, Jan 24, 2014 at 8:42 PM, Thiago Macieira
wrote:
> On sexta-feira, 24 de janeiro de 2014 14:18:59, Francisco Ares wrote:
> > Is it really needed to enclose the string?
> >
> > What will it happens if you just do
> >
> > DEFINES += SERIAL=6b6ab0
>
> He'll need to strigify the macro before us
On Fri, Jan 24, 2014 at 7:48 PM, Francisco Ares wrote:
>
> Is it really needed to enclose the string?
>
> What will it happens if you just do
>
> DEFINES += SERIAL=6b6ab0
I'm using an encryption schema based on serial codes. These codes need to
be secret and user-specific (we deliver a new comp
On sexta-feira, 24 de janeiro de 2014 14:18:59, Francisco Ares wrote:
> Is it really needed to enclose the string?
>
> What will it happens if you just do
>
> DEFINES += SERIAL=6b6ab0
He'll need to strigify the macro before using it.
--
Thiago Macieira - thiago.macieira (AT) intel.com
Softwa
On Fri, Jan 24, 2014 at 6:09 AM, Thiago Macieira
wrote:
>
> You have to work back from what you want. You want a compiler argument
> containing the string:
>
> -DSERIAL="6b6ab0"
>
> Since Make runs commands using the shell, you need to add one level of
> escaping so the shell will do what
On quinta-feira, 23 de janeiro de 2014 23:05:26, Soroush Rabiei wrote:
> The problem is that bash (or qmake) eats the double quotation. Definition
> needs to be wrapped in quotations. So it should pass to compiler something
> like:
>
> -DSERIAL\"6b6ab0\"
You have to work back from what you want.
-- Forwarded message --
From: Soroush Rabiei
Date: Thu, Jan 23, 2014 at 10:14 PM
Subject: Re: [Interest] Defining a string in qmake command line
To: Thiago Macieira
On Thu, Jan 23, 2014 at 9:01 PM, Thiago Macieira
wrote:
> On quinta-feira, 23 de janeiro de 2014 09:01:43, Thiago