[solved] how to set local fonts
-
bq. 3 errors:
/home/dev6/Desktop/animation-build-desktop-Qt_4_8_1_in_PATH__System__Release/../animation/dialog.cpp:43: error: invalid use of incomplete type 'struct QDebug'
/usr/include/qt4/QtCore/qglobal.h:1764: error: forward declaration of 'struct QDebug'
/usr/include/qt4/QtCore/qglobal.h:1767: warning: inline function 'QDebug qDebug()' used but never defined [enabled by default]
[quote author="p3c0" date="1411717583"]No.. Just use as it is as shown earlier. It will just print a list of fonts available under Tamil Writingsystem.[/quote]
-
#include <QDebug>
-
Starting /home/dev6/Desktop/animation-build-desktop-Qt_4_8_1_in_PATH__System__Release/animation...
"Lohit Tamil"
"TAMu_Kadambri"
"TAMu_Kalyani"
"TAMu_Maduram"
"TSCu_Comic"
"TSCu_Paranar [macromedia]"
"TSCu_Paranar [unknown]"
"TSCu_Times"
/home/dev6/Desktop/animation-build-desktop-Qt_4_8_1_in_PATH__System__Release/animation exited with code 0[quote author="p3c0" date="1411718354"]#include <QDebug>[/quote]
-
Try this:
@
ui->label->setText(QString::fromUtf8("சென்னை"));
@ -
That's fine :)
Please mark the post as solved.
Happy Coding...