I want to compile a project with Qt in Visual Studio 2010.
I have built all the prerequisite libraries and linked them in project properties.

I have also made the .cpp file from the project.qrc file (rcc) with the command below:

```bash
rcc project.qrc -name project -o qrc_project.cpp

```

Followed the instructions from <http://www.qtcentre.org/archive/index.php/t-3425.html> .

The project.coo file is produced with the following lines:

```cpp
    int QT_MANGLE_NAMESPACE(qInitResources_project)()
    {
        QT_PREPEND_NAMESPACE(qRegisterResourceData)
            (0x01, qt_resource_struct, qt_resource_name, qt_resource_data);
        return 1;
    }

    Q_CONSTRUCTOR_FUNCTION(QT_MANGLE_NAMESPACE(qInitResources_project))

```

I have also included the .cpp file in the project.
Although, I get the error below:

```none
> Error 2611    error LNK2019: unresolved external symbol "int __cdecl
> qInitResources_project(void)" (?qInitResources_project@@YAHXZ)
> referenced in function main   D:\usr\Windows\main.obj project

```

Have I done something wrong with the rcc? Could anyone please help?