Here's the code, really nothing. Just trying to create DLL and use it

File Name : createDLL.h
#ifndef CREATEDLL_H
#define CREATEDLL_H

#include "createdll_global.h"

class CREATEDLLSHARED_EXPORT CreateDLL
{

public:
CreateDLL();
void Message();
};

#endif // CREATEDLL_H

File Name : createdll_global.h
#ifndef CREATEDLL_GLOBAL_H
#define CREATEDLL_GLOBAL_H

#include <QtCore/qglobal.h>

#if defined(CREATEDLL_LIBRARY)
# define CREATEDLLSHARED_EXPORT Q_DECL_EXPORT
#else
# define CREATEDLLSHARED_EXPORT Q_DECL_IMPORT
#endif

#endif // CREATEDLL_GLOBAL_H

File Name : createdll.cpp
#include "createdll.h"
#include "qDebug.h"


CreateDLL::CreateDLL()
{
}

void CreateDLL::Message()
{
qDebug() << "Hello from inside DLL";
}

Compiled it, just noticed now, exited with error code -1 ?
M:\QtExamples\build-createDLL-Desktop_Qt_5_5_0_MSVC2012_32bit-Debug exited with code -1

DLL File Size = 46KB

For using the DLL file I created a Console Application.
I loaded the header files createdll.h & createll_global.h into the usingDLL project.

Included the LIBS += "DLL File Path i.e. output from the code given"
Compiled and got the error LNK1107 invalid or corrupt file: cannot read at 0x2D0