i want to init QStringList through a function,
my code:
why it report "Segmentation fault"? do i misunderstand the class?Qt Code:
QStringList qs; initqstringlist(&qs); the func is: { qs->append("1"); //Segmentation fault qs->append("2"); }To copy to clipboard, switch view to plain text mode
Bookmarks