[Interest] how to define string variable in *.pro based on other string variables?

1+1=2 dbzhang800 at gmail.com
Wed Jan 23 09:02:21 CET 2013


You should use:

TSA_LibFullName = $$TSA_LibPath/$${TSA_LibName}.lib

because $$TSA_LibName.lib equals to $${TSA_LibName.lib}, which is empty.


On Wed, Jan 23, 2013 at 3:59 PM, Mandeep Sandhu <mandeepsandhu.chd at gmail.com
> wrote:

> On Wed, Jan 23, 2013 at 1:23 PM, Vincent Cai <wcai at cypress.com> wrote:
> > Dear,
> >
> >
> >
> >          I have below variable definition in *.pro file.
> >
> > n  TSA_LibName = TSA_Base_X86_GCC
> >
> > n  TSA_LibPath = "D:/TSA/TSA_Lib/trunk/dev/build/make/solutions/Base/lib"
> >
> > Then how can I define a variable which equal to below value
> >
> >
> D:/TSA/TSA_Lib/trunk/dev/build/make/solutions/Base/lib/TSA_Base_X86_GCC.lib
> >
> >
> >
> > I have tried below, but failed.
> >
> >     TSA_LibFullName = $$TSA_LibPath/$$TSA_LibName.lib
>
> SUFFIX=".lib"
> TSA_LibFullName = $$TSA_LibPath/$$TSA_LibName$$SUFFIX
>
> HTH,
> -mandeep
>
>
> >
> >
> >
> > Vincent.
> >
> > This message and any attachments may contain Cypress (or its
> subsidiaries)
> > confidential information. If it has been received in error, please advise
> > the sender and immediately delete this message.
> >
> > _______________________________________________
> > Interest mailing list
> > Interest at qt-project.org
> > http://lists.qt-project.org/mailman/listinfo/interest
> >
> _______________________________________________
> Interest mailing list
> Interest at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/interest
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20130123/a5350dc5/attachment.html>


More information about the Interest mailing list