Look in the property pages for your project (right click on the project in the VS Solution Explorer, select Properties). Expand the Linker section, and on the first page (General), you will see an "Additional Library Directories" property. If you click the "..." button on the right, it will display a dialog where you can enter the paths to the directories that contain non-default libraries. You can use environment variables as part of the path specification (like $(QTDIR)\lib) or relative paths (like ..\..\lib).
If you do this, you do not have to put full path names on each individual library in the Additional Dependencies list.
As you have no doubt noticed, the directory layout for the Qt installation changed dramatically between 4.8 and 5.x. Also be aware that when you deploy your app, things have changed there, too. The Windows dependencies are now in a DLL, and that DLL must be placed in a specific subdirectory relative to your executable and all the other Qt DLLs.
Bookmarks