Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

Crash of my Rhinoceros plugin with Qt dialog when in edit field was inputted text like this "è or à or ò" (I use method inline std::wstring QString::toStdWString() const)



  • Crash of my Rhinoceros plugin with Qt dialog when in edit field was inputted text like this "è or à or ò" (I use method inline std::wstring QString::toStdWString() const). If I input english symbols - all OK. My plugin was compiled with VS2010 x64 and is being used in Rhinoceros 5 x64.
    Thanks.



  • Hi Igor,

    do you use encodings? for your input text?



  • Now I try to use method QByteArray toUtf8() const Q_REQUIRED_RESULT; and result of dialog work is better. Do you mean this method when said about encoding?


Log in to reply