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 += …
[B]include ( var.include )[/B]
INCLUDEPATH += .
TEMPLATE = lib
TARGET =
DEPENDPATH += .
LIBS += …
[B]include ( var.include )[/B]
INCLUDEPATH += .
To copy to clipboard, switch view to plain text mode
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 += …
[B]MYOWNVARIABLE = $(ROOT)[/B]
INCLUDEPATH += .
TEMPLATE = lib
TARGET =
DEPENDPATH += .
LIBS += …
[B]MYOWNVARIABLE = $(ROOT)[/B]
INCLUDEPATH += .
To copy to clipboard, switch view to plain text mode
Thank you very much.
Bookmarks