Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

Android: warning at time of compilation "has unsupported flags DT_FLAGS_1=0x80 (ignoring unsupported flags)". Why?



  • Hello!

    At time of building application for Android appeared this kind of warnings:

    W linker  : Warning: "/data/data/org.qtproject.example/qt-reserved-files/plugins/imageformats/libqgif.so" has unsupported flags DT_FLAGS_1=0x80 (ignoring unsupported flags)
    W linker  : Warning: "/data/data/org.qtproject.example/qt-reserved-files/plugins/imageformats/libqicns.so" has unsupported flags DT_FLAGS_1=0x80 (ignoring unsupported flags)
    W linker  : Warning: "/data/data/org.qtproject.example/qt-reserved-files/plugins/imageformats/libqico.so" has unsupported flags DT_FLAGS_1=0x80 (ignoring unsupported flags)
    W linker  : Warning: "/data/data/org.qtproject.example/qt-reserved-files/plugins/imageformats/libqjpeg.so" has unsupported flags DT_FLAGS_1=0x80 (ignoring unsupported flags)
    W linker  : Warning: "/data/data/org.qtproject.example/qt-reserved-files/plugins/imageformats/libqsvg.so" has unsupported flags DT_FLAGS_1=0x80 (ignoring unsupported flags)
    W linker  : Warning: "/data/data/org.qtproject.example/qt-reserved-files/plugins/imageformats/libqtga.so" has unsupported flags DT_FLAGS_1=0x80 (ignoring unsupported flags)
    W linker  : Warning: "/data/data/org.qtproject.example/qt-reserved-files/plugins/imageformats/libqtiff.so" has unsupported flags DT_FLAGS_1=0x80 (ignoring unsupported flags)
    W linker  : Warning: "/data/data/org.qtproject.example/qt-reserved-files/plugins/imageformats/libqwbmp.so" has unsupported flags DT_FLAGS_1=0x80 (ignoring unsupported flags)
    W linker  : Warning: "/data/data/org.qtproject.example/qt-reserved-files/plugins/imageformats/libqwebp.so" has unsupported flags DT_FLAGS_1=0x80 (ignoring unsupported flags)
    

    The questions:

    • Why it's appearing?
    • How it's critical?
    • Is there way to clear the cause of this warnings?


  • @bogong

    In general I concur that one shall avoid warnings.
    However, the question is if it is important in your case. Those are the plugins for image formats. If you are not using any images it is probably not a problem for you. If you are using images you need to keep in mind.

    Your post is missing details of Qt version, SDK and NDK versions and also the host platform. Those are the factors which might trigger also some warnings. Possibly up- or downgrading may get these warnings away.

    When you are ale to recreate these problems with small sample projects others may help you in checking the behaviour in their environments.



  • @koahnig It's only happening for Android. For iOS and MacOS - everything OK.



  • Not appearing on Qt 5.15.1. Issue closed.


Log in to reply