I installed a gcc 4.8.0 in the /opt folder. I put in my PATH, so when i do a gcc/g++ -v it returns to me the 4.8.0 version. But when i go to the QT Creator and compile my pr
In Qt Creator go in
Tools -> Options -> Build&Run -> Compilers
then add a new gcc compiler.
Then go into
Tools -> Options -> Build&Run -> Kits
and change the compiler in your current kit (usually called "Desktop").
You may need latest versions of Qt Creator with "kits" (available from Qt Creator 2.6).