| Subject: | problem with split() |
|---|---|
| From: | "Pepe Doval" |
| Date: | Sat, 10 Dec 2005 13:47:44 +0100 CET |
Hi,
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?
Thanks.
Pepe.
--
To unsubscribe - send a mail to qt-interest-request@xxxxxxxxxxxxx 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> |
|---|---|---|
| ||
| Previous by Date: | building & using a static library, fernando |
|---|---|
| Next by Date: | Re: building & using a static library, Dimitri |
| Previous by Thread: | building & using a static library, fernando |
| Next by Thread: | Re: problem with split(), Dimitri |
| Indexes: | [Date] [Thread] [Top] [All Lists] |