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
  • MaintanenceTool An internal server error occurred

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

    Unsolved
    2
    0 Votes
    2 Posts
    285 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
    176 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
    818 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
    560 Views
    SGaistS
    It's explained here.
  • qt-unified-linux-x64-3.2.3-online.run

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

    Unsolved
    2
    0 Votes
    2 Posts
    786 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
    27k 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
    601 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
    6k 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
  • Install Qtscript on Qt6.9

    Solved
    11
    0 Votes
    11 Posts
    2k Views
    A
    Qt5 was the only solution indeed, but I needed to install some recent library, some that i had missintepreted for Qt6 library. I inherited a mess of several Go of source code on which several peoples during more than 12 year have put their finger without leaving any documentation. And the Qt installer did not help much, sins the base one doesn't allow to have Qt5, you need to have a mirror version to access archives, (i was trying to install Qt5 sins the first post of @jsulm ) To end the topic, if anyone have the same issue as me : Need to use QtScript but only have the most recent Qt and no way to install Qt5 : this post helped me too https://forum.qt.io/topic/160611/installing-qt5-on-the-latest-online-installer/3 (where i just noticed that is was jsulm who gave the answer )
  • Resource file read twice by MSBuild

    Unsolved
    5
    0 Votes
    5 Posts
    698 Views
    K
    Sorry not to reply sooner, I have been away. The project was created by VS over a period of time. THere is no CMake files as said. I guess it's some weird VS bug.
  • #include <QWidget> creates compiler error in qmap.h

    Solved
    7
    0 Votes
    7 Posts
    893 Views
    PedroP
    @Andy314 Marked it as solved for you ;) It was set as a "normal topic", which disables the Solved/Unsolved feature. :)
  • How should one comprehensively install Qt 6 in openSUSE (Leap 15.6)?

    Solved
    4
    0 Votes
    4 Posts
    709 Views
    Christian EhrlicherC
    But that's an openSUSE problem that they renamed the packages from qt-<foo>-devel to something else :)
  • Qt online installer error

    Moved Unsolved
    5
    0 Votes
    5 Posts
    696 Views
    B
    okay got it guys. thanks!
  • QT Creator not starting on raspeberry pi 5

    Unsolved
    8
    0 Votes
    8 Posts
    1k Views
    SGaistS
    Can you explain the link between Qt and accessing low level stuff like the sensors ?