Paladin12
27th June 2009, 12:56
Dear all,
I create .pro files by using the following syntax:
qmake -project <project name>.pro [VARIABLES] .
Such as:
qmake -project MyProject.pro "UI_DIR = ui" "RC_FILE = MyProject.rc" "QT += network" .
However, unlike variables I can't see how it's possible to add functions to a .pro file via the command line. I would like the following line to appear in my .pro file:
include( $$(QTHOME)/my-extension/myext.prf )
But the following does not work:
qmake -project MyProject.pro "UI_DIR = ui" "RC_FILE = MyProject.rc" "QT += network"
"include( $$(QTHOME)/my-extension/myext.prf )" .
I'm sure this must be documented somewhere, but that somewhere is escaping me...
All help appreciated.
Kind Regards,
I create .pro files by using the following syntax:
qmake -project <project name>.pro [VARIABLES] .
Such as:
qmake -project MyProject.pro "UI_DIR = ui" "RC_FILE = MyProject.rc" "QT += network" .
However, unlike variables I can't see how it's possible to add functions to a .pro file via the command line. I would like the following line to appear in my .pro file:
include( $$(QTHOME)/my-extension/myext.prf )
But the following does not work:
qmake -project MyProject.pro "UI_DIR = ui" "RC_FILE = MyProject.rc" "QT += network"
"include( $$(QTHOME)/my-extension/myext.prf )" .
I'm sure this must be documented somewhere, but that somewhere is escaping me...
All help appreciated.
Kind Regards,