PDA

View Full Version : qmake and visual studio paths



SiLiZiUMM
11th March 2008, 20:10
Hello,

I am currently using a .pro to generate vcapp/vclib projects. When the vcproj are generated, the Qt paths are hardcoded to my system (eg. C:\Qt\4.3.2\...), and may not fit other developers using the project. Is there a way to tell qmake to replace the path with the "$(QTDIR)" environment variable?

ChristianEhrlicher
12th March 2008, 07:18
No
You can't move around generated files. You can't do this with cmake either because it's not guaranteed that the other system is set up exactly the same way your system is. What's the problem creating the .vcproj on every system? It's just a single qmake call ...