[Kst] Strange problems...

George Staikos staikos at kde.org
Wed Dec 20 21:13:34 CET 2006

On 20-Dec-06, at 1:33 PM, Brisset, Nicolas wrote:

> I'm asking, just in case someone has a clue. I have two strange  
> problems
> with my experimental kst setup (as described recently, using KDEDIRS).
> 1) The first one is that I can't load datasources from the extra
> directory, the debug log says "can't load kstdata_.*" with missing  
> text
> after the _ character. I doubt this is related to any recent change in
> the kst code, but any hint would be appreciated...

    Not sure about this one...

> 2) The second problem is that the following lines:
>   QFileInfo fi(filename);
>   _metaData.clear();
>   _metaData[QString("Filename")] = fi.fileName();
> result in compilation errors:
> seeb.cpp:44: error: non-lvalue in assignment
> I am pretty sure that this should work, especially as it closely
> resembles what the netCDF datasource does, and there it compiles just
> fine. One hint: the experiment I'm doing is with a datasource built  
> in a
> separate tree, based on the template provided on the website (not
> updated in a long time).

    That looks like an attempt to modify _metaData from a const  
function, or a const mismatch anyway.

George Staikos
KDE Developer				http://www.kde.org/
Staikos Computing Services Inc.		http://www.staikos.net/

More information about the Kst mailing list