When there are no unicode characters in the project path, the QT project compiles.
Where there are, it doesn't
Is there a way for the project configuration to adapt to big5/unicode/utf8 etc?
Thanks
Jack
When there are no unicode characters in the project path, the QT project compiles.
Where there are, it doesn't
Is there a way for the project configuration to adapt to big5/unicode/utf8 etc?
Thanks
Jack
use QTextCodec :
in case of pyqt4 or pyside addQApplication app(argc,argv);
app.setFont(QFont("tahoma"));//change tahoma to any appropriate font
QTextCodec::setCodecForCStrings(QTextCodec::codecF orName("UTF-8"));
unicode characters in the project path, the QT project compiles !!??# -*- coding: utf-8 -*-
set the local for your machine correctly and every thing will be ok
Last edited by alrawab; 19th January 2013 at 07:59.
Ask your compiler vendor. If their make utility or compiler cannot handle a valid path for the system it is on this is hardly Qt's fault.
I've put that aside for Visual Studio. There might be something wrong with the language I am using.
But for netbeans and mingw, I am receiving these
Thanks
Jack
Bookmarks