You are not logged in.

1

Thursday, December 8th 2011, 9:25am

How to add "Additional Dependencies" (Linker settings) in QtCreator

Hello,

For my project I have a documentation for Visual Studio C++. There it says I need:

  • Include Directories => In QtCreator I do it like this: INCLUDEPATH+=C:\\Folder\\Folder2\\IncludeFolder
  • Linker Settings => LIBS+=C:\\Folder\\Folder2\\LibFolder
  • Additional Dependencies (found under Linker Settings -> Input) => But how do I do this in QtCreator??

Thanks!

2

Thursday, December 8th 2011, 12:31pm

thats LIBS I think.

I tried LIBS += user32.lib and it didnt complain
If you have a problem, CUT and PASTE your code. Do not retype or simplify it. Give a COMPLETE and COMPILABLE example of your problem. Otherwise we are all guessing the problem from a fabrication where relevant details are often missing.

3

Thursday, December 8th 2011, 12:32pm

If you have a problem, CUT and PASTE your code. Do not retype or simplify it. Give a COMPLETE and COMPILABLE example of your problem. Otherwise we are all guessing the problem from a fabrication where relevant details are often missing.

4

Thursday, December 8th 2011, 1:01pm

Sorry, I had been thinking the same as this guy here who asked the question:
http://stackoverflow.com/questions/40664…al-dependencies
So I didn't know that "Additional Dependencies" actually adds the libs and not the "Additional Library Directories"
Thanks!

Used tags

QtCreator