Important: Please read the Qt Code of Conduct -

Release build in Visual Studio linker error 2005

  • Hey,

    I'm new to Qt using it primarily for GUI creation. I've created a Project including some serial devices and cameras within Visual Studio using the msvc++2015 compiler and the QT visual studio tools 2.3.2. The program is working well using it in debug mode but once I try to build it in release mode there are several linker errors 2005 most of them saying that some Qt classes and their members are already defined in Qt5Bootstrap.lib. Since the differences between release and debug configuration are only the switched off debugging options and changing *d.lib to *.lib of all Qt libraries I reckon that the problem is caused by the lib files.

    It would be nice if someone could help me with that problem.

    Thanks in advance,