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

Native QFileDialog for static build on Linux



  • Hi everyone,
    After pushing some effort to static build on Linux, I have faced the issue with non-native QFileDialog though the same code works fine in dynamic build.
    Qt version is 5.15.2.
    Here is my config:

    ./configure \
    			-prefix /tools/Qt/static \
    			-plugindir /tools/Qt/static/plugins \
    			-opensource \
    			-platform linux-g++-64 \
    			-static \
    			-release \
    			-confirm-license \
    			-openssl  \
    			-openssl-linked \
    			-force-asserts \
    			-no-pch \
    			-xcb -xcb-xlib -I /usr/include/xcb \
    			-qt-zlib \
    			-feature-xcb \
    			-feature-thread \
    			-feature-xkbcommon \
    			-make libs \
    			-nomake examples \
    			-nomake tests \
    			-skip qtdeclarative \
    			-skip qtmultimedia \
    			-skip activeqt \
    			-skip qtdoc \
    			-skip qtconnectivity \
    			-skip wayland \
    			-skip qtscript \
    			-L/tools/Qt/static/usr/lib \
    			-v
    

    Is some feature missing?


  • Lifetime Qt Champion

    Hi and welcome to devnet,

    Which issue ?



  • @SGaist
    Issue is widget-style dialog, not native-looking


  • Lifetime Qt Champion

    What if you just set the prefix and let the installation flow normally ?



  • Actually, I'm ok with it. It's to time consuming to retry


Log in to reply