How to reference QT Library into Visual Studio Test Project ?

Answered How to reference QT Library into Visual Studio Test Project ?

  • 2012年3月1日 上午 04:26
     
     
    Hello All ,
     
    With Visual Studio Test Project , I want to write Unit Test Scripts for QT Library.Hence i want to know how to reference the QT Test Project into Visual Studio Project.
     
    Please let me know if any one else have done this before
     
    Thank you
    • 已移動 Rob Pan 2012年3月5日 上午 03:02 (From:Visual C++ General)
    •  

所有回覆

  • 2012年3月5日 上午 03:01
     
     

    Hi,

    According to your description, I will move your thread to the correct forum for better support. Thanks for your understanding.

    Best Regards,
    Rob


    Rob Pan [MSFT]
    MSDN Community Support | Feedback to us

  • 2012年3月5日 上午 11:55
    版主
     
     已答覆

    Hi Shruthi,

    Depending on the QT library types, if you refer to C++ QT library, Unit Test is not supported in Visual Studio Test project. VC++ test project can only test managed C++ library. As far as I know QT library is a native one.

    Determine how to test your C++ code: http://msdn.microsoft.com/en-us/library/ms243171.aspx

    Please let me know if there's anything unclear, I'll try to assist.


    Forrest Guo | MSDN Community Support | Feedback to us