I compiled Qt 5.3 myself and used a --prefix option to set the install directory. (C:\Qt5)
This worked so far using nmake and nmake install.
Since we are sharing that compiled version in our company to other developers and not every
developer got the same directory structure we changed the path in qt.conf to D:\Source\Qt5 for
Everything works excepts for project files that contain "QT +=" qaxcontainer, axserver or uitools. In this case Qt generates
a project file that sets the "AdditionalDependencies" to "C:\Qt5" and "D:\Source\Qt5". After manually
removing that first one, the project is correctly configured.
I tested this also with the modules concurrent, designer, help, multimedia, multimediawidgets, network, opengl, printsupport, qml, quick, sql, sql, testlib, webkit, webkitwidgets, widgets, winextras, xml, xmlpatterns and everything was correct. For these modules only "D:\Source\Qt5" was used. The result of qmake -query only shows the "D:\Source\Qt5" so
I really don't get why project files with "axcontainer", "axserver" and "uitools" are still using the old path also.
You have also the same problem when using the online installer and change during installation the install path to D:\Qt5.