qt-interest@trolltech.com
[Top] [All Lists]

Custom QMake function

Subject: Custom QMake function
From: Mike Corredera
Date: Tue, 19 Jun 2007 13:38:37 -0400
 Hello,

   I am trying to create a set of custom functions to be used during the
 qmake process. I have read the documentation in the help that shipped
 with QT v4.2.3 that go along with creating custom functions to be used
 by QMake.

   I have a common file (name: common.pro) that contains what I intended
 to be the definition of the custom function. The function would take two
 parameters, both of type string, and then it would iterate through the
 list of times executing actions on files that passed a filter.

   My question resides on how to define a function in a .pro file, I have
 included the foot print of the function as it stands now. QMake is
 trying to execute this function verses define it. Can anyone help
 explain how I can define the function?

 [ Custom Function ]
 defineCreateSDK(headersAndInline, destinationLocation) {
     #
     # ... code here.
     #
 }
  

--
To unsubscribe - send a mail to qt-interest-request@xxxxxxxxxxxxx with 
"unsubscribe" in the subject or the body.
List archive and information: http://lists.trolltech.com/qt-interest/

<Prev in Thread] Current Thread [Next in Thread>