it is not working,![]()
it is not working,![]()
The last method is incorrect. You cannot just assign a pointer to char array to a pointer to QString. Why don't use the solution I've suggested earlier? There is no need to make things harder. If you need QString not only to set for a label but for other aims too, just instantiate QString with your array as a parameter:
Qt Code:
char array[] = "Some text";To copy to clipboard, switch view to plain text mode
Last edited by mitro; 6th May 2008 at 16:03.
Bookmarks