Hi and welcome to devnet, You don't link to dlls but to lib files but you don't use the file extension. So essentially: LIBS += -lgsl -lgslcblas