[email protected]
[Top] [All Lists]

problem with split()

Subject: problem with split()
From: "Pepe Doval"
Date: Sat, 10 Dec 2005 13:47:44 +0100 CET
I get a segmentation fault when running this code:

QString _path = QString(path);
QStringList _path_list = _path.split(":", QString::SkipEmptyParts);

where path is a (char *) declared as:

char *path = getenv("PATH");

so that it contains the $PATH of my Linux session.

Any idea?


To unsubscribe - send a mail to [email protected] with 
"unsubscribe" in the subject or the body.
List archive and information: http://lists.trolltech.com/qt-interest/

<Prev in Thread] Current Thread [Next in Thread>