Qt World Summit: Register Today!

Having trouble linking QT libraries in Visual Studio 2015

  • Hello there guys,

    I'm trying to set up QT for this OPENGL tutorial I am following but I am having trouble linking QT libraries.

    I have added the lib path into Additional Library Directories as well as specified the libraries I am going to need in Additional Dependencies but I am still getting the "unresolved external symbol" error.

    If anybody is interested, I am following this video https://www.youtube.com/watch?v=cLvxLkgHqQs which was made for Visual Studio 2012 and Qt 4 but I am using VS 2015 and QT 5.6.

    At around 11:10 is where he links the libraries and stops getting the error but I get the error even after linking the libraries and specifying the .lib files in Additional Dependencies.

    Would really appreciate any help.

    Thank you.

  • Moderators

    did you specify an absolute or relative lib path in the project's AdditionalLibraryDirectories property?
    What libs did you add to the project's AdditionalDependencies property?
    And what does the errors exactly say?

Log in to reply