You are not logged in.

1

Thursday, July 22nd 2010, 5:54pm

specifying the linker

Hello!
I'm trying to use a different linker to the default one. I know I can change the c++ compiler assigning a new value to QMAKE_CXX variable in the .pro file but qtcreator keeps the same linker when it's creating the executable file. What can I do? Thanks in advance!

2

Friday, July 23rd 2010, 8:14am

In qmake.conf there is QMAKE_LINK try to set it.
Fighting fire with fire.
Three can keep a secret if two of them are dead.

3

Friday, July 23rd 2010, 1:12pm

Thank you very much! It's worked perfectly. I've just specified the linker in the .pro file and it goes fine.
I've added the next lines to the .pro file in order to use the compiler and linker I need:

Source code

1
2
QMAKE_CXX = c:/Dev-Cpp/bin/g++
QMAKE_LINK = c:/Dev-Cpp/bin/g++


Thanks once more!

Used tags

c++, linker

Rate this thread