Cannot compile project with unicode characters in the project path.
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
Re: Cannot compile project with unicode characters in the project path.
use QTextCodec :
Quote:
QApplication app(argc,argv);
app.setFont(QFont("tahoma"));//change tahoma to any appropriate font
QTextCodec::setCodecForCStrings(QTextCodec::codecF orName("UTF-8"));
in case of pyqt4 or pyside add
Quote:
# -*- coding: utf-8 -*-
unicode characters in the project path, the QT project compiles !!??
set the local for your machine correctly and every thing will be ok
Re: Cannot compile project with unicode characters in the project path.
Quote:
Originally Posted by
alrawab
use QTextCodec :
unicode characters in the project path, the QT project compiles !!??
set the local for your machine correctly and every thing will be ok
In fact, it doesn't compile.
MSB6006 resulted.
Thanks
Jack
Re: Cannot compile project with unicode characters in the project path.
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.
1 Attachment(s)
Re: Cannot compile project with unicode characters in the project path.
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