c++ - QMake - How and where to add linker flag? -
i tried add following in .pro
file of our project:
win32 { ... qmake_lflags_windows += -wl,--large-address-aware }
i error link : warning lnk4044: nicht erkannte option /wl,--large-address-aware; wird ignoriert.
translation: unrecognised option /wl,--large-address-aware; gets ignored.
before tried find out add linker options seems normal variable put in .pro
file. searched searchcode entry in option part of .pro
file.
i added options increase memory limit 32 bit application according this post...
how apply option functioning?
the linker options in .pro
file mingw using msvc so...
i had add linker flags in msdn documentation slash , linker option in capital letters. largeaddressaware
:
qmake_lflags_windows += /largeaddressaware
Comments
Post a Comment