QMake - How and where to add linker flag?

Viewed 4913

I tried to add the following in the .pro file of our project:

win32 {
    ...
    QMAKE_LFLAGS_WINDOWS += -Wl,--large-address-aware

}

I get an error LINK : warning LNK4044: Nicht erkannte Option /Wl,--large-address-aware; wird ignoriert.

Translation: unrecognised option /Wl,--large-address-aware; gets ignored.

Before that I tried to find out where to add linker options but it seems to be just a normal variable to put in the .pro file. I also searched for a searchcode entry in which the option is part of the .pro file.

I added the options to increase memory limit for the 32 bit application according to this post...

I use the following Qt Kit: Qt Kit

How to apply the option functioning?

1 Answers
Related