Skip to content

Installation and Deployment

Your Qt just doesn't want to build? Your compiler can't find the libs? Here's where you find comfort and understanding. And help.
9.8k Topics 51.2k Posts
  • CMake windeployqt not deplying .pdb files for executables

    Solved
    3
    0 Votes
    3 Posts
    328 Views
    PerdrixP
    So it won't copy the pdb files from my build dir to the deploy dir - OK understood - though I think it should!
  • Can't notarize Qt frameworks

    Unsolved
    2
    0 Votes
    2 Posts
    219 Views
    SGaistS
    Hi, How are you doing the notarization ?
  • This topic is deleted!

    Unsolved
    1
    0 Votes
    1 Posts
    1 Views
    No one has replied
  • Cannot run Qt Online Installer on Red Hat UBI 9, libxkbcommon-x11.so.0 missing

    Unsolved
    5
    0 Votes
    5 Posts
    687 Views
    JKSHJ
    @ZergedU said in Cannot run Qt Online Installer on Red Hat UBI 9, libxkbcommon-x11.so.0 missing: It looks like Red Hat UBI 9 strips down the AppStream repo from the RHEL version. Notably, the package "libxkbcommon-x11" is missing. Ah... that's a shame. I guess you'll need to resort to a 3rd-party repo then? (Or build it from source)
  • servers

    Unsolved
    2
    0 Votes
    2 Posts
    224 Views
    JKSHJ
    Hi @nazim, and welcome! The service provider was down for several hours: https://www.bleepingcomputer.com/news/technology/massive-heroku-outage-impacts-web-platforms-worldwide/ It is back online now, and you should be able to log in again.
  • cannot install Qt installer tool on Ubuntu 22.04

    Unsolved
    2
    0 Votes
    2 Posts
    311 Views
    JKSHJ
    Hi @montanaviking, open your downloaded file with a text editor. You'll see that curl has saved a HTML document, not an executable. Either use a web browser to download it, or ask curl to follow redirects.
  • MaintanenceTool An internal server error occurred

    Solved
    3
    0 Votes
    3 Posts
    355 Views
    F
    Ah, ok, thx.
  • Problem with adding executable to macOS bundle

    Unsolved
    2
    0 Votes
    2 Posts
    299 Views
    PerdrixP
    I tried this: if(NOT LINUX) set (deploy_tool_options_arg "-verbose=1") if(APPLE) set(deploy_tool_options_arg "${deploy_tool_options_arg} -hardened-runtime -timestamp -no-strip") set(deploy_tool_options_arg "${deploy_tool_options_arg} \"-executable=$<TARGET_BUNDLE_CONTENT_DIR:DeepSkyStacker>/MacOS/DeepSkyStackerCL\"") set(deploy_tool_options_arg "${deploy_tool_options_arg} \"-executable=$<TARGET_BUNDLE_CONTENT_DIR:DeepSkyStacker>/MacOS/uchmviewer\"") set(deploy_tool_options_arg "${deploy_tool_options_arg} \"-codesign=Developer ID Application: David Partridge (VH8AYT3C7Y)\"") and it seems to have worked ... Was that the best way to do it?
  • How to distribute Qt based libraries?

    Unsolved
    1
    0 Votes
    1 Posts
    184 Views
    No one has replied
  • windeployqt6.exe in Qt 6.7.2 does not deploy some gcc libs

    Solved
    5
    0 Votes
    5 Posts
    2k Views
    M
    Same problem here with Qt 6.9.1: libunwind.dll and libc++.dll are missing. I believe it worked previously with Qt 6.8.0. And again, copying those files from C:\Qt\6.9.1\llvm-mingw_64\bin fixes it. Is it broken again or did I make a mistake?
  • 0 Votes
    3 Posts
    6k Views
    N
    @M4Z4 Hi, I'm not 100% sure I follow your launching process, but the error you're getting looks a lot like you are not setting the wayland display export in the same terminal as you run the QT application. Specifically, this part of the error message: Jan 13 11:55:32 sm2s-imx8mp cpx.sh[1628]: qt.core.plugin.factoryloader: Got keys from plugin meta data QList("wayland-egl") Jan 13 11:55:32 sm2s-imx8mp cpx.sh[1628]: qt.core.plugin.factoryloader: checking directory path "/opt/cpx/platforms" ... Jan 13 11:55:32 sm2s-imx8mp cpx.sh[1628]: qt.core.library: "/usr/lib/plugins/platforms/libqwayland-egl.so" loaded library Jan 13 11:55:32 sm2s-imx8mp cpx.sh[1628]: Failed to create wl_display (Connection refused) Jan 13 11:55:32 sm2s-imx8mp cpx.sh[1628]: EGL: Warning: No default display support on wayland Jan 13 11:55:32 sm2s-imx8mp cpx.sh[1628]: qt.qpa.wayland: EGL not available Jan 13 11:55:32 sm2s-imx8mp cpx.sh[1628]: qt.qpa.plugin: Could not load the Qt platform plugin "wayland-egl" in "" even though it was found. The connection to the display screen is refused. It looks like either 1) Your path to the wayland display is wrong (check ls -l ${XDG_RUNTIME_DIR}/${WAYLAND_DISPLAY} before running your QT application) or 2) the user running QT does not have permissions. You should be able to see test applications like weston-flower work as well
  • Tutorial example suddenly stopped compiling

    Unsolved
    5
    0 Votes
    5 Posts
    835 Views
    M
    I reinstalled qt creator, and then i could compile (this also upgraded version from 6.9.0 to 6.9.1). Dont know what happend. I found one more clue. If i made a cmake project and targeted c++11 i could compile, all other combinations of cmake/qmake c++11/14/17 did not work.
  • Cant Download Qt Open Source Version.

    Unsolved
    4
    0 Votes
    4 Posts
    576 Views
    SGaistS
    It's explained here.
  • qt-unified-linux-x64-3.2.3-online.run

    Unsolved
    2
    0 Votes
    2 Posts
    334 Views
    Christian EhrlicherC
    Use a recent installer version.
  • ERROR: ldd outputLine: "libmysqlclient.so.18 => not found" linuxdeployqt

    Unsolved
    2
    0 Votes
    2 Posts
    794 Views
    S
    you were close, the right way to exclude this lib would have been -exclude-libs=libqsqlmysql
  • fatal error LNK1104: cannot open file 'C:\Qt\5.15.2\msvc2019_64\lib.obj

    Unsolved
    4
    0 Votes
    4 Posts
    1k Views
    V
    I hit the same problem when compiling hpp_proto after configuring and generating CS2022 solution. I got fatal error LNK1104: cannot open file '..\vcpkg\installed\x64-windows\debug\lib.obj' the generator had added "..\vcpkg\installed\x64-windows\debug\lib" instead of "..\vcpkg\installed\x64-windows\debug\zlibd.lib" under %AdditionalDependencies% Fixing that solved my issue.
  • Slow download speed

    Moved Unsolved
    33
    1 Votes
    33 Posts
    28k Views
    A
    @User-Name Found the solution , go to this URL: https://download.qt.io/static/mirrorlist/ and copy link ( HTTP) and launch your installer with your installer location --mirror [URL copied ] example for india : & '.\qt-online-installer-windows-x64-4.9.0.exe' --mirror https://mirror.ossplanet.net/qtproject/
  • Questions about multiple related apps on macOS

    Unsolved
    4
    0 Votes
    4 Posts
    615 Views
    SGaistS
    In that case I would likely provide each as an installable option and have the cli provided through both of them. Of you can also create an installer that will setup all three of them independently.
  • No Qt platform plugin could be initialized

    Unsolved
    11
    0 Votes
    11 Posts
    7k Views
    jeremy_kJ
    @Tom_B said in No Qt platform plugin could be initialized: Thank you very much for your comment. I set both varibles to 1 in both sections, User variables and System variables, restated the PC. However, the qt installator threw the same error code and did not start. QT_WIN_DEBUG_CONSOLE expects a value of new or attach. 1 is probably the same as not setting it.
  • boost : No such file or directory

    Solved
    12
    0 Votes
    12 Posts
    2k Views
    A
    idk, i did that on the same configuration as before, and it worked :/ I did not understood why it did not worked (reason why i made this post) Now i don't understand what i did to make it work