# Visual Studio 2010 for Qt, I get an error when compiling, Can you help me!

• ## c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\INCLUDE\yvals.h(21) : warning C4005: '_HAS_TR1' : macro redefinition command-line arguments : see previous definition of '_HAS_TR1'

!http://b1211.hizliresim.com/13/d/fvr4t.png(yvals.h - error)!

• First of all this is a warning, not an error.
Second - are you compiling a program with Qt or Qt itself?
If it's your code than you can try to just #undef _HAS_TR1 however hacky it may be...

## Qt Bin: C:\Qt\4.8.3\bin

environment variables :

Veriable name : QTDIR - Value : C:\Qt\4.8.3
Veriable name : QMAKESPEC - Value : win32-msvc2010
Veriable name : QMAKESPEC - Value : win32-msvc2010
Veriable name : LIB - Value : C:\Qt\4.8.3\lib

Was 6 hours.

## Thanks for the info

the current image =>

• Aww.. the link you gave for Qt is the binary package that is already compiled! don't configure and compile it again. It's already done. Take a look into the bin directory - everything is already there! Just include in your project and use...

• I'm trying to try again, thanks.