tarod
28th January 2008, 08:05
Hello,
I need some help with qmake and the Makefile generated by Qt. I was searching in Qt Assistant but I didn't find anything to solve my problem.
I'd like to include a file using variables into the Makefile created by "qmake" command. Something like that:
.pro example
TEMPLATE = lib
TARGET =
DEPENDPATH += .
LIBS += …
include ( var.include )
INCLUDEPATH += .
Is that possible?
By the way, is there something to include my own variable into the Makefile? Example:
.pro example
TEMPLATE = lib
TARGET =
DEPENDPATH += .
LIBS += …
MYOWNVARIABLE = $(ROOT)
INCLUDEPATH += .
Thank you very much.
I need some help with qmake and the Makefile generated by Qt. I was searching in Qt Assistant but I didn't find anything to solve my problem.
I'd like to include a file using variables into the Makefile created by "qmake" command. Something like that:
.pro example
TEMPLATE = lib
TARGET =
DEPENDPATH += .
LIBS += …
include ( var.include )
INCLUDEPATH += .
Is that possible?
By the way, is there something to include my own variable into the Makefile? Example:
.pro example
TEMPLATE = lib
TARGET =
DEPENDPATH += .
LIBS += …
MYOWNVARIABLE = $(ROOT)
INCLUDEPATH += .
Thank you very much.