Unsolved QMap key (QString) with Space
I have created a QMap as follows:
When i insert "[TP_1::a_33 aa ff]" as key, it is taking only "TP_1::a_33" as key.
Can someone tell me space is not allowed in the key?
Please show some code, especially how you create and insert the key.
QString testname = "[TP_1::a_33 aa ff]";
this code works, at least in Qt 5.6.
Maybe your source file itself has some strange encoding?
Did you compile Qt yourself?
How does the string look like before inserting it into the hash?
@inforathinam How do you know that only the part before blank is inserted?