You are not logged in.

Dear visitor, welcome to QtForum.org. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

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