Learn what Felgo offers to help your business succeed. Start your free evaluation today! Felgo for Your Business

Forums

OverviewFelgo Installation › Demo applications runs w/o graphics

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #5062

    Vlad

    Hi

     

    Application built quite ok, but when running, most of the graphics doesnt appears

    in console output I’ve got:

     

    file:///home/vladest/FelgoSDK/Demos/FelgoSDK/CarChallenge-build-desktop-Desktop_Qt_4_8_1_for_GCC__Qt_SDK__Debug/qml/Level.qml:32:5: QML Image: Error decoding: file:///home/vladest/FelgoSDK/Demos/FelgoSDK/CarChallenge-build-desktop-Desktop_Qt_4_8_1_for_GCC__Qt_SDK__Debug/qml/img/playground.jpg: Unsupported image format

    libpng warning: Application was compiled with png.h from libpng-1.2.44

    libpng warning: Application is running with png.c from libpng-1.4.8

    libpng warning: Incompatible libpng version in application and library

    file:///home/vladest/FelgoSDK/Demos/FelgoSDK/CarChallenge-build-desktop-Desktop_Qt_4_8_1_for_GCC__Qt_SDK__Debug/qml/Level.qml:20:5: QML Image: Error decoding: file:///home/vladest/FelgoSDK/Demos/FelgoSDK/CarChallenge-build-desktop-Desktop_Qt_4_8_1_for_GCC__Qt_SDK__Debug/qml/img/asphalt_background.png: Unable to read image data

    libpng warning: Application was compiled with png.h from libpng-1.2.44

    libpng warning: Application is running with png.c from libpng-1.4.8

    libpng warning: Incompatible libpng version in application and library

     

    etc

    by ldd

    I’ve got

    libpng12.so.0 => /lib/x86_64-linux-gnu/libpng12.so.0 (0x00007fc698c28000)

     

    which is weird, because I’ve added to the projectinclude.pri file:

    LIBS += $$THIRDPARTY_LIBRARY_PATH/libpng.a

    which should compile your statically built libpng 1.4

     

    can you help me with this?

     

    Thanks

     

    #5084

    Alex
    Felgo Team

    Hi,

    thanks for pointing this out! Our development team is currently only testing (and officially supporting) 32- or 64-bit Linux Ubuntu 12.04 and 12.10. We however got our demo games (and therefore all other Felgo powered games) running on 13.04 too by adding the following line right after including the third-party libraries in the corresponding project file:

    LIBS += -lpng12 -lz -lfontconfig

    You may need to install additional packages in case the linker fails:

    sudo apt-get install libfontconfig1-dev libpng12-dev

    Please keep us updated if this works out for your development environment too. We will then add 13.04 support to our next stable release.

    Thanks,

    Alex

    #5085

    Vlad

    Thank you, now all works

Viewing 3 posts - 1 through 3 (of 3 total)

RSS feed for this thread

You must be logged in to reply to this topic.

Qt_Technology_Partner_RGB_475 Qt_Service_Partner_RGB_475_padded