Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Cannot build a C++ project

I am buidling a C++ project that I got from previous developer. When I try to compile it, I am getting this eror (I am using VS2012 Professional):

 \bin\rcc.exe -name resources resources.qrc -o debug\qrc_resources.cpp
 1>  Moc'ing aboutdialog.h...
 1>  The system cannot find the path specified.
 1>  Moc'ing action.h...
 1>  UIC aboutdialog.ui
 1>  The system cannot find the path specified.
 1>  UIC mainwindow.ui
 1>  The system cannot find the path specified.
 1>  RCC resources.qrc
 1>  The system cannot find the path specified.
 1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V110\Microsoft.CppCommon.targets(172,5): error MSB6006: "cmd.exe" exited with code 3.
 1>Done executing task "CustomBuild" -- FAILED.
 1>Done building target "CustomBuild" in project "sv.vcxproj" -- FAILED.

What is the problem and how can I fix it?

like image 476
mans Avatar asked Nov 04 '22 03:11

mans


1 Answers

The project is using Custom Build Steps that depend on the Qt library and its tools. You need to at least download and install Qt (most likely version 4.8, Qt 5 was just released), and maybe also the Qt add-on that is available for Visual C++.

http://qt-project.org/downloads

like image 129
Daniel Hedberg Avatar answered Nov 13 '22 02:11

Daniel Hedberg