qt-interest@trolltech.com
[Top] [All Lists]

Re: problem concerning strings

Subject: Re: problem concerning strings
From: Keith Sabine
Date: Wed, 27 Oct 2004 14:33:32 +0100
Dennig, Christian wrote:

hi there, experts :)

i have a really strange problem concerning strings in qt and i hope you
can give me a hint how to solve it...the little code snippet, which
drives me CRAZY looks like this:

        QString appSettingsFile;
        appSettingsFile.setAscii("ObeAppSettings.xml");       

just that simple example runs on the one computer without any problems
and as expected (the object is allocated and string in brackets gets
assigned to it), on the other one, running in debug mode, i see that the
object is allocated, but after assignement it is empty! how can that
be?? i really hope you can give me a hint...

http://lists.trolltech.com/qt-interest/2003-09/thread00060-0.html

might help. Chances are the autoexp.dat file on the other computer doesn't contain
declarations for Qt types.

- Keith

--
List archive and information: http://lists.trolltech.com/qt-interest/

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