Registered Member
|
Hi all,
I am doing some development in Qt Marble (Qt 4) and there is a problem I can't solve. My objective is to display an image projected on the map. I tried to follow the tutorial here: http://techbase.kde.org/Projects/Marble ... undOverlay, which depicts exactly what I want, but at runtime, I have the following error message: QFileInfo::absolutePath: Constructed with empty filename I have absolutly no clue what's going on, so if any of you had the problem and solved it, I would really appreciate!! I confirm that I used the exact same code as in the tutorial, without any addition to it. Let me know if you still want me to post it here edit: It seems the error happens when the following command is run:
Thanks for your help Cheers, tibo |
Registered Member
|
Hi everyone,
I have the same problem, using Qt4.8 and MarbleWidget 16 on Ubuntu. Is there any chance you already solved the problem Tibo ? Or did you go for another way to project an image onto the map ? The message comes from the following line, after a bounding box and an overlay :
The path is correct. I tried several sizes but I always receive this message : QFileInfo::absolutePath: Constructed with empty filename and no image is being projected. Any idea where to take a look ? Thanks, would help a lot, Marble is a such a great widget ! Adrien |
KDE Developer
|
Can you provide a minimum example? Code + input files. Thanks.
|
Registered Member
|
Yes sure, i simply used the example code, testing the image's filepath. No image is projected on the map :
Here is the output : File exists QFileInfo::absolutePath: Constructed with empty filename The error message comes from this line exactly :
|
KDE Developer
|
Just tested that code with git master and it renders fine (the ground overlay shown atop Germany)
|
Registered users: Bing [Bot], daret, Google [Bot], Sogou [Bot]