Reputation: 31
Hi I have a VS2010 projekt witch i moved from one machine to another. And on the new machine the QT installation is in a different place.
Now the projekt can´t find the QT headers and libs. When i look in the projekt properties I see that all QT path are set with the makro $(QTDIR) and this path is the path of the old machine. Is there any way to change the value of the makro?
THX for help
Upvotes: 1
Views: 2682
Reputation: 1300
There is such thing as User Macros in VS 2010. It can be defined in Property Sheets. To find it you should open View->Property Manager
panel, and there you'll see your projects and configurations. It will look like this:
In my project, I have a foldernames
property sheet, in QT the name might be different. So you should right-click the property sheet and you'll see User macros
page under Common properties
:
Check there for your QTDIR
macro.
Upvotes: 3
Reputation: 520
I believe QTDIR is system/user variables that you need to define on your Windows. You can take a look at : http://support.microsoft.com/kb/310519 that explain how to set the value.
Or, you can take a look at: http://www.itechtalk.com/thread3595.html
Once you set the variable, you may need to restart visual studio
To check if the variable has been set, type the following in command prompt: echo %QTDIR%
Upvotes: 2