Add "-Wl,--large-address-aware" to your linker flags. I don't know how you were looking for it, it took me 20 seconds to find it through Google.
Add "-Wl,--large-address-aware" to your linker flags. I don't know how you were looking for it, it took me 20 seconds to find it through Google.
fezvez (19th April 2011)
Well, what a shame, I really couldn't find anything (still can't find anything though) Your searching skills must be much better than mine!
Seriously, on Google, "qt creator windows increase RAM" doesnt not link to anything relevant... except that now it points to this topic!
Thanks a lot!
Edit : How awful... I can't find a correct answer to this simple question : how do I add arguments to Qt Creator Linker? This doesn't help : the arguments seem to be ignored (I still have a std::bad_alloc())
Last edited by fezvez; 19th April 2011 at 17:58.
You didn't find anything because it's nothing to do with Qt Creator as it's just an IDE (or fancy text editor putting it another way). The compiler used is GCC, so you need to lookup the options for that.
Same goes for the Linker, nothing to do with Qt Creator. You'll need to look at your .pro file which is used by qmake. The first search result is therefore quite useful: http://doc.trolltech.com/latest/qmak...reference.html. Have a look at QMAKE_LFLAGS for example.
Bookmarks