<div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr">Hello again!<br>I have some news concerning static builds.<br><br><b>Let's start with WINDOWS:</b><br></div><div>Note: Windows 10<br></div><div dir="ltr"><br>I finally manage to build Qt for Windows statically. Even Qt Quick Controls 2 module was successfully built. The problem was (as pointed by <i>Thiago Maicera</i>) the <span style="font-family:courier new,monospace">-qt-[...]</span> bounded libraries. I use the default options and it worked better than I expected.<br>I build Qt for both 32-bit and 64-bit architectures.<br><br>I installed:<br>Strawberry Perl 5.28.1.1<br>Python 2.7.14<br>DirectX SDK as provided by Microsoft<br><br>Strawberry Perl and Python added the appropriate folders to the PATH environment variable: <span style="font-family:courier new,monospace">C:\Strawberry\c\bin</span>, <span style="font-family:courier new,monospace">C:\Strawberry\perl\site\bin</span>, <span style="font-family:courier new,monospace">C:\Strawberry\perl\bin</span>, <span style="font-family:courier new,monospace">C:\Python27\</span> and <span style="font-family:courier new,monospace">C:\Python27\Scripts</span>. For the DirectX SDK, I added the install path and the following folders: <span style="font-family:courier new,monospace">Include</span>, <span style="font-family:courier new,monospace">Libs/x86</span> and <span style="font-family:courier new,monospace">Utilities/bin/x86</span>. Add the x64 folder instead of x86 if you are targeting a 64-bit build.<br><br>The configure command line:<br><span style="font-family:courier new,monospace">$ configure -prefix "X:/somePath/QtStatic" -static -static-runtime -release -opensource -confirm-license -nomake tools -nomake examples -nomake tests -skip qtwebengine -silent</span><br></div><div dir="ltr"><br></div><div dir="ltr">There is no need to patch the <span style="font-family:courier new,monospace">qmake.conf</span> file in your mkspec (as people says) if you pass <span style="font-family:courier new,monospace">-static-runtime</span> command line option to <span style="font-family:courier new,monospace">configure</span>.<br>I use Qt Quick 2 Gallery Example as the test case, and in order to ensure that the resulting application does not have any dependencies with the Qt libraries, I installed a UNIX environment on Windows (by installing <span style="font-family:courier new,monospace">git</span>) and use the <span style="font-family:courier new,monospace">ldd</span> tool.<br>For a 32-bit build, its output was:<br><span style="font-family:courier new,monospace">    ntdll.dll => /c/Windows/SYSTEM32/ntdll.dll (0x7ffc685f0000)<br>    ??? => ??? (0x77400000)<br>    wow64.dll => /c/Windows/System32/wow64.dll (0x7ffc658d0000)<br>    wow64win.dll => /c/Windows/System32/wow64win.dll (0x7ffc68540000)</span><br>Which is OK. No dependencies with Qt libraries.<br>For a 64-bit build, the output is a lot larger, but still it does not depends of Qt libraries:<br><span style="font-family:courier new,monospace">    ntdll.dll => /c/Windows/SYSTEM32/ntdll.dll (0x7ff8ee110000)<br>    KERNEL32.DLL => /c/Windows/System32/KERNEL32.DLL (0x7ff8ec740000)<br>    KERNELBASE.dll => /c/Windows/System32/KERNELBASE.dll (0x7ff8ea360000)<br>    ADVAPI32.dll => /c/Windows/System32/ADVAPI32.dll (0x7ff8ec860000)<br>    msvcrt.dll => /c/Windows/System32/msvcrt.dll (0x7ff8ec570000)<br>    sechost.dll => /c/Windows/System32/sechost.dll (0x7ff8ec4c0000)<br>    RPCRT4.dll => /c/Windows/System32/RPCRT4.dll (0x7ff8ec610000)<br>    GDI32.dll => /c/Windows/System32/GDI32.dll (0x7ff8ec410000)<br>    gdi32full.dll => /c/Windows/System32/gdi32full.dll (0x7ff8ea650000)<br>    msvcp_win.dll => /c/Windows/System32/msvcp_win.dll (0x7ff8ea7f0000)<br>    d3d9.dll => /c/Windows/SYSTEM32/d3d9.dll (0x7ff8caa50000)<br>    ucrtbase.dll => /c/Windows/System32/ucrtbase.dll (0x7ff8ea1e0000)<br>    USER32.dll => /c/Windows/System32/USER32.dll (0x7ff8edf40000)<br>    ??? => ??? (0x30f0000)<br>    win32u.dll => /c/Windows/System32/win32u.dll (0x7ff8ea630000)<br>    ??? => ??? (0x140000)<br>    IMM32.dll => /c/Windows/System32/IMM32.dll (0x7ff8eb6f0000)<br>    SHELL32.dll => /c/Windows/System32/SHELL32.dll (0x7ff8ec910000)<br>    dxva2.dll => /c/Windows/SYSTEM32/dxva2.dll (0x7ff8d0ea0000)<br>    cfgmgr32.dll => /c/Windows/System32/cfgmgr32.dll (0x7ff8ea890000)<br>    combase.dll => /c/Windows/System32/combase.dll (0x7ff8ec0e0000)<br>    shcore.dll => /c/Windows/System32/shcore.dll (0x7ff8eb590000)<br>    bcryptPrimitives.dll => /c/Windows/System32/bcryptPrimitives.dll (0x7ff8ea8e0000)<br>    windows.storage.dll => /c/Windows/System32/windows.storage.dll (0x7ff8eabf0000)<br>    profapi.dll => /c/Windows/System32/profapi.dll (0x7ff8ea190000)<br>    powrprof.dll => /c/Windows/System32/powrprof.dll (0x7ff8ea110000)<br>    EVR.dll => /c/Windows/SYSTEM32/EVR.dll (0x7ff8cb650000)<br>    shlwapi.dll => /c/Windows/System32/shlwapi.dll (0x7ff8ec800000)<br>    bcrypt.dll => /c/Windows/System32/bcrypt.dll (0x7ff8ea600000)<br>    kernel.appcore.dll => /c/Windows/System32/kernel.appcore.dll (0x7ff8ea170000)<br>    cryptsp.dll => /c/Windows/System32/cryptsp.dll (0x7ff8ea340000)<br>    WS2_32.dll => /c/Windows/System32/WS2_32.dll (0x7ff8eb520000)<br>    dwmapi.dll => /c/Windows/SYSTEM32/dwmapi.dll (0x7ff8e8b50000)<br>    ole32.dll => /c/Windows/System32/ole32.dll (0x7ff8eb720000)<br>    CRYPT32.dll => /c/Windows/System32/CRYPT32.dll (0x7ff8ea960000)<br>    OLEAUT32.dll => /c/Windows/System32/OLEAUT32.dll (0x7ff8ebf30000)<br>    MSASN1.dll => /c/Windows/System32/MSASN1.dll (0x7ff8ea1c0000)<br>    IPHLPAPI.DLL => /c/Windows/SYSTEM32/IPHLPAPI.DLL (0x7ff8e96a0000)<br>    MF.dll => /c/Windows/SYSTEM32/MF.dll (0x7ff8c7030000)<br>    NETAPI32.dll => /c/Windows/SYSTEM32/NETAPI32.dll (0x7ff8e3520000)<br>    RTWorkQ.DLL => /c/Windows/SYSTEM32/RTWorkQ.DLL (0x7ff8e26c0000)<br>    USERENV.dll => /c/Windows/SYSTEM32/USERENV.dll (0x7ff8ea010000)<br>    UxTheme.dll => /c/Windows/SYSTEM32/UxTheme.dll (0x7ff8e8720000)<br>    VERSION.dll => /c/Windows/SYSTEM32/VERSION.dll (0x7ff8e43f0000)<br>    WINMM.dll => /c/Windows/SYSTEM32/WINMM.dll (0x7ff8e6ef0000)<br>    WTSAPI32.dll => /c/Windows/SYSTEM32/WTSAPI32.dll (0x7ff8e6d20000)<br>    ODBC32.dll => /c/Windows/SYSTEM32/ODBC32.dll (0x7ff8c6f70000)<br>    WINMMBASE.dll => /c/Windows/SYSTEM32/WINMMBASE.dll (0x7ff8e6ec0000)<br>    ??? => ??? (0x140000)<br>    MFPlat.DLL => /c/Windows/SYSTEM32/MFPlat.DLL (0x7ff8e26f0000)<br>    DPAPI.DLL => /c/Windows/SYSTEM32/DPAPI.DLL (0x7ff8e9540000)<br>    CRYPTBASE.DLL => /c/Windows/SYSTEM32/CRYPTBASE.DLL (0x7ff8e9b70000)<br>    MFCORE.DLL => /c/Windows/SYSTEM32/MFCORE.DLL (0x7ff8b8230000)<br>    NETUTILS.DLL => /c/Windows/SYSTEM32/NETUTILS.DLL (0x7ff8e97b0000)<br>    ksuser.dll => /c/Windows/SYSTEM32/ksuser.dll (0x7ff8e6a50000)<br>    SRVCLI.DLL => /c/Windows/SYSTEM32/SRVCLI.DLL (0x7ff8e34f0000)</span><br><br>I also tested others applications that use Qt Multimedia and Qt Charts: all OK.<br><br><br><b>Now on LINUX:</b><br></div><div>Note: KDE Neon based on Ubuntu 18.04<br></div><div dir="ltr"><br></div><div dir="ltr">I installed the OpenGL dependencies mentioned in Qt Help. I also installed <span style="font-family:courier new,monospace">python</span> and <span style="font-family:courier new,monospace">perl</span>.<br><br>My configure command line (almost the same used on Windows):<br><span style="font-family:courier new,monospace">$ sudo ./configure -prefix "/somePath/Qt5Static" -platform linux-g++-64 -static -release -opensource -confirm-license -nomake tools -nomake examples -nomake tests -skip qtwebengine -silent</span><br><br></div><div>The result is an application that does not have appropriate shaders for QQC2 applications, and the ripple effect (Material Style) is broken (see image bellow):</div><div><div><img src="cid:ii_jvo4u66u1" alt="Screenshot_20190506_153051.png" width="358" height="472"><img src="cid:ii_jvo4u6590" alt="Screenshot_20190506_153155.png" width="358" height="472"></div>The screenshoot shows the application running under the Material Style, but the behavior is present on all styles.</div><div>Also, the cursor shown is no my desktop theme cursor (mine is black, and it turns white and pixelated when I hover the application)<br></div><div><br></div><div>Output from <span style="font-family:courier new,monospace">$ ldd gallery</span>:<br><div style="margin-left:40px"><span style="font-family:courier new,monospace">linux-vdso.so.1 (0x00007ffd5bf54000)</span><br><span style="font-family:courier new,monospace">libwayland-egl.so.1 => /usr/lib/x86_64-linux-gnu/libwayland-egl.so.1 (0x00007fe21417a000)</span><br><span style="font-family:courier new,monospace">libSM.so.6 => /usr/lib/x86_64-linux-gnu/libSM.so.6 (0x00007fe213f72000)</span><br><span style="font-family:courier new,monospace">libICE.so.6 => /usr/lib/x86_64-linux-gnu/libICE.so.6 (0x00007fe213d57000)</span><br><span style="font-family:courier new,monospace">libxcb.so.1 => /usr/lib/x86_64-linux-gnu/libxcb.so.1 (0x00007fe213b2f000)</span><br><span style="font-family:courier new,monospace">libjpeg.so.8 => /usr/lib/x86_64-linux-gnu/libjpeg.so.8 (0x00007fe2138c7000)</span><br><span style="font-family:courier new,monospace">libtiff.so.5 => /usr/lib/x86_64-linux-gnu/libtiff.so.5 (0x00007fe213650000)</span><br><span style="font-family:courier new,monospace">libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007fe21344c000)</span><br><span style="font-family:courier new,monospace">libdrm.so.2 => /usr/lib/x86_64-linux-gnu/libdrm.so.2 (0x00007fe21323b000)</span><br><span style="font-family:courier new,monospace">libEGL.so.1 => /usr/lib/x86_64-linux-gnu/libEGL.so.1 (0x00007fe213027000)</span><br><span style="font-family:courier new,monospace">libfontconfig.so.1 => /usr/lib/x86_64-linux-gnu/libfontconfig.so.1 (0x00007fe212de2000)</span><br><span style="font-family:courier new,monospace">libfreetype.so.6 => /usr/lib/x86_64-linux-gnu/libfreetype.so.6 (0x00007fe212b2e000)</span><br><span style="font-family:courier new,monospace">libdbus-1.so.3 => /lib/x86_64-linux-gnu/libdbus-1.so.3 (0x00007fe2128e1000)</span><br><span style="font-family:courier new,monospace">libwayland-cursor.so.0 => /usr/lib/x86_64-linux-gnu/libwayland-cursor.so.0 (0x00007fe2126d9000)</span><br><span style="font-family:courier new,monospace">libwayland-client.so.0 => /usr/lib/x86_64-linux-gnu/libwayland-client.so.0 (0x00007fe2124ca000)</span><br><span style="font-family:courier new,monospace">libxkbcommon.so.0 => /usr/lib/x86_64-linux-gnu/libxkbcommon.so.0 (0x00007fe21228b000)</span><br><span style="font-family:courier new,monospace">libpng16.so.16 => /usr/lib/x86_64-linux-gnu/libpng16.so.16 (0x00007fe212059000)</span><br><span style="font-family:courier new,monospace">libharfbuzz.so.0 => /usr/lib/x86_64-linux-gnu/libharfbuzz.so.0 (0x00007fe211dbb000)</span><br><span style="font-family:courier new,monospace">libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007fe211b9e000)</span><br><span style="font-family:courier new,monospace">libicui18n.so.60 => /usr/lib/x86_64-linux-gnu/libicui18n.so.60 (0x00007fe2116fd000)</span><br><span style="font-family:courier new,monospace">libicuuc.so.60 => /usr/lib/x86_64-linux-gnu/libicuuc.so.60 (0x00007fe211346000)</span><br><span style="font-family:courier new,monospace">libglib-2.0.so.0 => /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0 (0x00007fe21102f000)</span><br><span style="font-family:courier new,monospace">libGL.so.1 => /usr/lib/x86_64-linux-gnu/libGL.so.1 (0x00007fe210da3000)</span><br><span style="font-family:courier new,monospace">libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007fe210b84000)</span><br><span style="font-family:courier new,monospace">libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007fe2107fb000)</span><br><span style="font-family:courier new,monospace">libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007fe21045d000)</span><br><span style="font-family:courier new,monospace">libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007fe210245000)</span><br><span style="font-family:courier new,monospace">libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007fe20fe54000)</span><br><span style="font-family:courier new,monospace">/lib64/ld-linux-x86-64.so.2 (0x00007fe215e8f000)</span><br><span style="font-family:courier new,monospace">libuuid.so.1 => /lib/x86_64-linux-gnu/libuuid.so.1 (0x00007fe20fc4d000)</span><br><span style="font-family:courier new,monospace">libbsd.so.0 => /lib/x86_64-linux-gnu/libbsd.so.0 (0x00007fe20fa38000)</span><br><span style="font-family:courier new,monospace">libXau.so.6 => /usr/lib/x86_64-linux-gnu/libXau.so.6 (0x00007fe20f834000)</span><br><span style="font-family:courier new,monospace">libXdmcp.so.6 => /usr/lib/x86_64-linux-gnu/libXdmcp.so.6 (0x00007fe20f62e000)</span><br><span style="font-family:courier new,monospace">liblzma.so.5 => /lib/x86_64-linux-gnu/liblzma.so.5 (0x00007fe20f408000)</span><br><span style="font-family:courier new,monospace">libjbig.so.0 => /usr/lib/x86_64-linux-gnu/libjbig.so.0 (0x00007fe20f1fa000)</span><br><span style="font-family:courier new,monospace">libGLdispatch.so.0 => /usr/lib/x86_64-linux-gnu/libGLdispatch.so.0 (0x00007fe20ef44000)</span><br><span style="font-family:courier new,monospace">libexpat.so.1 => /lib/x86_64-linux-gnu/libexpat.so.1 (0x00007fe20ed12000)</span><br><span style="font-family:courier new,monospace">libsystemd.so.0 => /lib/x86_64-linux-gnu/libsystemd.so.0 (0x00007fe20ea8e000)</span><br><span style="font-family:courier new,monospace">libffi.so.6 => /usr/lib/x86_64-linux-gnu/libffi.so.6 (0x00007fe20e886000)</span><br><span style="font-family:courier new,monospace">librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x00007fe20e67e000)</span><br><span style="font-family:courier new,monospace">libgraphite2.so.3 => /usr/lib/x86_64-linux-gnu/libgraphite2.so.3 (0x00007fe20e451000)</span><br><span style="font-family:courier new,monospace">libicudata.so.60 => /usr/lib/x86_64-linux-gnu/libicudata.so.60 (0x00007fe20c8a8000)</span><br><span style="font-family:courier new,monospace">libpcre.so.3 => /lib/x86_64-linux-gnu/libpcre.so.3 (0x00007fe20c636000)</span><br><span style="font-family:courier new,monospace">libGLX.so.0 => /usr/lib/x86_64-linux-gnu/libGLX.so.0 (0x00007fe20c405000)</span><br><span style="font-family:courier new,monospace">liblz4.so.1 => /usr/lib/x86_64-linux-gnu/liblz4.so.1 (0x00007fe20c1e9000)</span><br><span style="font-family:courier new,monospace">libgcrypt.so.20 => /lib/x86_64-linux-gnu/libgcrypt.so.20 (0x00007fe20bece000)</span><br><span style="font-family:courier new,monospace">libX11.so.6 => /usr/lib/x86_64-linux-gnu/libX11.so.6 (0x00007fe20bb96000)</span><br><span style="font-family:courier new,monospace">libgpg-error.so.0 => /lib/x86_64-linux-gnu/libgpg-error.so.0 (0x00007fe20b981000) </span><br></div></div><div><br></div><div>After that, I rebuild Qt using <span style="font-family:courier new,monospace">-qt-[...]</span> options:</div><div><span style="font-family:courier new,monospace">./configure -prefix "/somePath/Qt5Static" -platform linux-g++-64 -static -release -opensource -confirm-license -qt-pcre -qt-zlib -qt-freetype -qt-xcb -qt-libpng -qt-libjpeg -qt-sqlite -nomake tools -nomake examples -nomake tests -skip qtwebengine -silent</span><br></div><div><br></div><div>And the <span style="font-family:courier new,monospace">ldd</span> output:</div><div><span style="font-family:courier new,monospace">        linux-vdso.so.1 (0x00007fff287f4000)<br>        libwayland-egl.so.1 => /usr/lib/x86_64-linux-gnu/libwayland-egl.so.1 (0x00007f520a62d000)<br>        libSM.so.6 => /usr/lib/x86_64-linux-gnu/libSM.so.6 (0x00007f520a425000)<br>        libICE.so.6 => /usr/lib/x86_64-linux-gnu/libICE.so.6 (0x00007f520a20a000)<br>        libxcb.so.1 => /usr/lib/x86_64-linux-gnu/libxcb.so.1 (0x00007f5209fe2000)<br>        libtiff.so.5 => /usr/lib/x86_64-linux-gnu/libtiff.so.5 (0x00007f5209d6b000)<br>        libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f5209b67000)<br>        libdrm.so.2 => /usr/lib/x86_64-linux-gnu/libdrm.so.2 (0x00007f5209956000)<br>        libEGL.so.1 => /usr/lib/x86_64-linux-gnu/libEGL.so.1 (0x00007f5209742000)<br>        libdbus-1.so.3 => /lib/x86_64-linux-gnu/libdbus-1.so.3 (0x00007f52094f5000)<br>        libwayland-cursor.so.0 => /usr/lib/x86_64-linux-gnu/libwayland-cursor.so.0 (0x00007f52092ed000)<br>        libwayland-client.so.0 => /usr/lib/x86_64-linux-gnu/libwayland-client.so.0 (0x00007f52090de000)<br>        libxkbcommon.so.0 => /usr/lib/x86_64-linux-gnu/libxkbcommon.so.0 (0x00007f5208e9f000)<br>        libharfbuzz.so.0 => /usr/lib/x86_64-linux-gnu/libharfbuzz.so.0 (0x00007f5208c01000)<br>        libicui18n.so.60 => /usr/lib/x86_64-linux-gnu/libicui18n.so.60 (0x00007f5208760000)<br>        libicuuc.so.60 => /usr/lib/x86_64-linux-gnu/libicuuc.so.60 (0x00007f52083a9000)<br>        libglib-2.0.so.0 => /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0 (0x00007f5208092000)<br>        libGL.so.1 => /usr/lib/x86_64-linux-gnu/libGL.so.1 (0x00007f5207e06000)<br>        libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f5207be7000)<br>        libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007f520785e000)<br>        libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f52074c0000)<br>        libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007f52072a8000)<br>        libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f5206eb7000)<br>        /lib64/ld-linux-x86-64.so.2 (0x00007f520c463000)<br>        libuuid.so.1 => /lib/x86_64-linux-gnu/libuuid.so.1 (0x00007f5206cb0000)<br>        libbsd.so.0 => /lib/x86_64-linux-gnu/libbsd.so.0 (0x00007f5206a9b000)<br>        libXau.so.6 => /usr/lib/x86_64-linux-gnu/libXau.so.6 (0x00007f5206897000)<br>        libXdmcp.so.6 => /usr/lib/x86_64-linux-gnu/libXdmcp.so.6 (0x00007f5206691000)<br>        liblzma.so.5 => /lib/x86_64-linux-gnu/liblzma.so.5 (0x00007f520646b000)<br>        libjbig.so.0 => /usr/lib/x86_64-linux-gnu/libjbig.so.0 (0x00007f520625d000)<br>        libjpeg.so.8 => /usr/lib/x86_64-linux-gnu/libjpeg.so.8 (0x00007f5205ff5000)<br>        libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007f5205dd8000)<br>        libGLdispatch.so.0 => /usr/lib/x86_64-linux-gnu/libGLdispatch.so.0 (0x00007f5205b22000)<br>        libsystemd.so.0 => /lib/x86_64-linux-gnu/libsystemd.so.0 (0x00007f520589e000)<br>        libffi.so.6 => /usr/lib/x86_64-linux-gnu/libffi.so.6 (0x00007f5205696000)<br>        librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x00007f520548e000)<br>        libfreetype.so.6 => /usr/lib/x86_64-linux-gnu/libfreetype.so.6 (0x00007f52051da000)<br>        libgraphite2.so.3 => /usr/lib/x86_64-linux-gnu/libgraphite2.so.3 (0x00007f5204fad000)<br>        libicudata.so.60 => /usr/lib/x86_64-linux-gnu/libicudata.so.60 (0x00007f5203404000)<br>        libpcre.so.3 => /lib/x86_64-linux-gnu/libpcre.so.3 (0x00007f5203192000)<br>        libGLX.so.0 => /usr/lib/x86_64-linux-gnu/libGLX.so.0 (0x00007f5202f61000)<br>        liblz4.so.1 => /usr/lib/x86_64-linux-gnu/liblz4.so.1 (0x00007f5202d45000)<br>        libgcrypt.so.20 => /lib/x86_64-linux-gnu/libgcrypt.so.20 (0x00007f5202a2a000)<br>        libpng16.so.16 => /usr/lib/x86_64-linux-gnu/libpng16.so.16 (0x00007f52027f8000)<br>        libX11.so.6 => /usr/lib/x86_64-linux-gnu/libX11.so.6 (0x00007f52024c0000)<br>        libgpg-error.so.0 => /lib/x86_64-linux-gnu/libgpg-error.so.0 (0x00007f52022ab000)</span><br></div><div><br></div><div>Observe that the list is slighty shorter (48 vs 46), but it <b>shows the same issues plus missing fonts</b>. I know that the last can be avoided by passing <span style="font-family:courier new,monospace">-fontconfig</span> to <span style="font-family:courier new,monospace">configure</span>.<br></div><div><br></div><div>I am missing something here?</div><div>I installed <span style="font-family:courier new,monospace">gstreamer</span> and the rest of libraries mentioned on the Qt Help Center, and also other libraries (and its respective <span style="font-family:courier new,monospace">-dev</span> packages) that were shown during the dependencies <span style="font-family:arial,sans-serif">checking</span> in <span style="font-family:courier new,monospace">configure</span>, but some of those libraries are linked dinamically.<br></div><div><br></div><div><b>Conclusions:</b></div><div>Building Qt on Windows <i>is clearly documented</i> and <i>works as expected</i>.</div><div>Building Qt for Linux <i>is not clearly documented</i>, for example, most users fail to compile Qt for Linux because they not specify the target mkspec platform (which is no needed under Windows). That should be documented. Also, there are too much dependences in the resulting static executable.<br></div><div><br></div></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">El mar., 30 abr. 2019 a las 2:08, Mitch Curtis (<<a href="mailto:mitch.curtis@qt.io" target="_blank">mitch.curtis@qt.io</a>>) escribió:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">> -----Original Message-----<br>
> From: Simon Hausmann<br>
> Sent: Monday, 29 April 2019 5:58 PM<br>
> To: Mitch Curtis <<a href="mailto:mitch.curtis@qt.io" target="_blank">mitch.curtis@qt.io</a>><br>
> Cc: Thiago Macieira <<a href="mailto:thiago.macieira@intel.com" target="_blank">thiago.macieira@intel.com</a>>; development@qt-<br>
> <a href="http://project.org" rel="noreferrer" target="_blank">project.org</a><br>
> Subject: Re: [Development] Qt Static Package<br>
> <br>
> <br>
> The application is perfectly distributable, but the static libraries are tied to the<br>
> exact compiler binary and therefore not so suitable for sending to other<br>
> people. So it’s all good :)<br>
> <br>
> Simon<br>
<br>
Ah, thank you for clarifying!<br>
<br>
> On 29. Apr 2019, at 17:47, Mitch Curtis <<a href="mailto:mitch.curtis@qt.io" target="_blank">mitch.curtis@qt.io</a>> wrote:<br>
> <br>
> >> -----Original Message-----<br>
> >> From: Development <<a href="mailto:development-bounces@qt-project.org" target="_blank">development-bounces@qt-project.org</a>> On Behalf<br>
> Of<br>
> >> Thiago Macieira<br>
> >> Sent: Monday, 29 April 2019 5:18 PM<br>
> >> To: <a href="mailto:development@qt-project.org" target="_blank">development@qt-project.org</a><br>
> >> Subject: Re: [Development] Qt Static Package<br>
> >><br>
> >>> On Monday, 29 April 2019 00:27:14 PDT Mitch Curtis wrote:<br>
> >>> -static -release -ltcg -opensource -confirm-license -nomake tests<br>
> >>> -nomake examples -silent<br>
> >><br>
> >> -static -ltcg is most definitely not redistributable. That build is<br>
> >> only usable in your exact machine, and only for so long as you don't<br>
> >> perform a system update.<br>
> ><br>
> > That's a pity. It shaved off 8 mb (19%) of my executable's size.<br>
> ><br>
> > Can you explain why it's not redistributable? I thought the whole point of<br>
> link time code generation was for release builds?<br>
> ><br>
> >> --<br>
> >> Thiago Macieira - thiago.macieira (AT) <a href="http://intel.com" rel="noreferrer" target="_blank">intel.com</a>  Software Architect<br>
> >> - Intel System Software Products<br>
> >><br>
> >><br>
> >><br>
> >> _______________________________________________<br>
> >> Development mailing list<br>
> >> <a href="mailto:Development@qt-project.org" target="_blank">Development@qt-project.org</a><br>
> >> <a href="https://lists.qt-project.org/listinfo/development" rel="noreferrer" target="_blank">https://lists.qt-project.org/listinfo/development</a><br>
> > _______________________________________________<br>
> > Development mailing list<br>
> > <a href="mailto:Development@qt-project.org" target="_blank">Development@qt-project.org</a><br>
> > <a href="https://lists.qt-project.org/listinfo/development" rel="noreferrer" target="_blank">https://lists.qt-project.org/listinfo/development</a><br>
_______________________________________________<br>
Development mailing list<br>
<a href="mailto:Development@qt-project.org" target="_blank">Development@qt-project.org</a><br>
<a href="https://lists.qt-project.org/listinfo/development" rel="noreferrer" target="_blank">https://lists.qt-project.org/listinfo/development</a><br>
</blockquote></div></div></div></div>