On Sun, Oct 18, 2015 at 09:46:39AM +0200, Caspar Schutijser wrote: > On Sat, Oct 17, 2015 at 09:45:22PM +0100, Stuart Henderson wrote: > > This is mostly setup for doing builds as part of ports. And in > > that case, if you're writing a port which uses Qt5, you would set > > MODULES=x11/qt5 which automatically inserts a link or wrapper for the > > correct compiler at the head of the path so that calling it as 'g++' > > works. > > That's true. But I should have mentioned that I ran into this issue > because I'm working on an update for the Qt Creator port. When creating > a "Qt Quick Application", Qt Creator calls qmake-qt5 to create a > Makefile which then calls g++ with the -std=c++11 flag. In that context, > it is a problem that g++ doesn't actually support C++11.
You could add a README file to qtcreator with the info about QMAKE_CXX. Or modify the launcher of qtcreator with the variable. -- Juan Francisco Cantero Hurtado http://juanfra.info