I am trying to build blackberry 10 cascades application. When I am deploying the code to my device, I am getting below errors. Can you please help?
make[2]: *** [o.le-v7-g/ApplicationName] Error 1 ApplicationName C/C++ Problem
make[1]: *** [debug] Error 2 ApplicationName C/C++ Problem
make: *** [Device-Debug] Error 2 ApplicationName C/C++ Problem
.pro file looks like this
APP_NAME = ApplicationName
CONFIG += qt warn_on cascades10
include(config.pri)
LIBS += -lbbdata
LIBS += -lbb
Main.cpp file content is below
#include "applicationui.hpp"
#include "sqlconnect.hpp"
#include <bb/cascades/Application>
#include <QLocale>
#include <QTranslator>
#include <Qt/qdeclarativedebug.h>
using namespace bb::cascades;
Q_DECL_EXPORT int main(int argc, char **argv)
{
Application app(argc, argv);
// Create the Application UI object, this is where the main.qml file
// is loaded and the application scene is set.
ApplicationUI appui;
// Enter the application main event loop.
return Application::exec();
}