06-26-2012 07:53 PM
Hi all,
Starting devlopment for BB and I started off with a simple hello world app as follows:
#include <bb/cascades/Application>
#include <QtCore/QLocale>
#include <QtCore/QTranslator>
#include <bb/cascades/Label>
#include "app.hpp"
using ::bb::cascades::Application;
int main(int argc, char **argv)
{
QApplication app(argc, argv);
QLabel *label = new QLabel("Hello World!");
label->show();
return app.exec();
}
This is the error I recieve: QFontDatabase: Cannot find font directory /base/usr/lib/qt4/fonts - is Qt installed correctly?
Any ideas?
Solved! Go to Solution.
06-26-2012 08:05 PM
figured it out had to add <env var="QT_QPA_FONTDIR" value="/usr/lib/qt4/lib/fonts"/> to my bar file