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
  • Conan + CMake + Qt 6.5 deployment issue

    Unsolved conan cmake deploy
    4
    0 Votes
    4 Posts
    1k Views
    K
    @codeform I'm having the same issue. Conan's version of Qt doesn't seem to set the right qt cmake variables. Namely, QT6_IS_SHARED_LIBS_BUILD and QT_DEPLOY_SUPPORT are missing.
  • [QT LTS 6.5.2] - Cmake build does not install include files into prefix path

    Solved
    5
    0 Votes
    5 Posts
    1k Views
    M
    As proposed, I've created a bug ticket https://bugreports.qt.io/browse/QTBUG-116137 Thanks for the support.
  • Designer.app not built when compiling Qt5 for macos x86_64 from arm64 host

    Unsolved
    5
    0 Votes
    5 Posts
    561 Views
    S
    @SGaist Hey thanks for responding! I'm using opensource 5.15.10. From what I gather (and tried), I couldn't build universal binaries (assuming that's what you mean by both archs). I think this works out-of-the-box for Qt6 though.
  • building qt for raspberry pi

    Unsolved
    11
    0 Votes
    11 Posts
    1k Views
    T
    @SGaist well I tried out of source but the error is the same.
  • Qt installation is missing libxcb

    Solved
    15
    0 Votes
    15 Posts
    16k Views
    mzimmersM
    For anyone who may happen to need this information, here are the xcb libraries I needed for Qt 6.5.2: libxcb-icccm4 libxcb-image libxcb-keysyms libxcb-render_util libxcb-xinerama libxcb-xkb plus: libxkbcommon-X11 I ran into problems installing these with apt (it couldn't find the first one), but the Synaptic application @JoeCFD mentioned worked fine. sudo apt install synaptic Thanks to everyone for the help.
  • Cant select any Kit QT 5.15.2 ( MSVC 2019, 64b)

    Moved Solved
    12
    0 Votes
    12 Posts
    3k Views
    JonBJ
    @Skyhi99 @Christian-Ehrlicher cannot help you if a connection is closed for the Qt download! Either Retry, find an alternative mirror, or try again later.
  • Wrong version of OpenSSL used when deploying application

    Solved
    7
    0 Votes
    7 Posts
    2k Views
    kkoehneK
    @rctm When openssl is loaded at runtime, Qt does not use ld. Instead, it checks out directories in LD_LIBRARY_PATH, and some default locations (/lib, /usr/lib , /usr/local/lib , as well the lib32 and lib64variants: https://codebrowser.dev/qt5/qtbase/src/network/ssl/qsslsocket_openssl_symbols.cpp.html#_ZL15libraryPathListv So augmenting /etc/ld.so.conf won't make a difference.
  • Qt installation problem (Parallels, Windows 11)

    Unsolved
    1
    0 Votes
    1 Posts
    205 Views
    No one has replied
  • Unable to find dependent libraries of xxx.pro :DOS header check failed.

    Unsolved
    2
    0 Votes
    2 Posts
    649 Views
    JonBJ
    @durongze Your referenced link to Windeployqt fails is about "path not found". However, DOS header check failed looks different to me. It would imply to me that it is looking at one of the files/libraries you are trying to package (to find its dependencies), expecting it to be something executable, but finding it is not. Like a wrong file type, or a zipped file or something? I would take everything (every file to be packaged) out of it that you can, test, and then start adding the files back in to see if one of them causes the problem?
  • Build & install multiple qt versions efficiently out of sources

    Unsolved
    6
    0 Votes
    6 Posts
    869 Views
    JonBJ
    @SimonSchroeder I am surprised! If the issue is the speed at which output is produced, and has to be scrolled in a console window, I would have thought no matter how voluminous the time would be miniscule in comparison to the time required to compile Qt! Not doubting your finding, but inexplicable to me :)
  • Boot to Qt not showing in installer

    Unsolved
    4
    0 Votes
    4 Posts
    735 Views
    SGaistS
    Hi, The C in the green rectangle on the right at the top of the page is for Commercial.
  • 0 Votes
    7 Posts
    3k Views
    Axel SpoerlA
    @SuDeEpT For your info, i am launching GUI application through putty session, is that reason x server not starting automatically. That's important information, to be mentioned at the beginning rather than at the end...
  • Blocked installing GT6.5 on ubuntu 22.04 due to old QT5

    Unsolved
    2
    0 Votes
    2 Posts
    537 Views
    jsulmJ
    @BobT said in Blocked installing GT6.5 on ubuntu 22.04 due to old QT5: I have attempted to install QT6.5 How? Using online installer? When calling qmake try to use absolute path to make sure you're calling the one from Qt6.5
  • Running .exe file in ubuntu

    Solved
    13
    0 Votes
    13 Posts
    31k Views
    JonBJ
    @Vijaykarthikeyan said in Running .exe file in ubuntu: @JonB So,You are concluding that single compile file would not support both the environments. We have to compile individually for the platforms. Isn't it? Absolutely. Qt (which is just a set of C++ libraries) has never said it would produce a single executable which would run cross-platform. That is not possible. What it promises/allows is source code which can be cross-platform. You still have to compile the common source code separately to target one platform versus another. Unless you are going to pursue the second or third bullet point suggestions in my previous response you will want to do the first, which means separate compilation by you for each platform and you deliver just the appropriate one to each end user. And although cross compilation (you only develop on one of Windows or Linux and on that machine you do one native compilation to target the same OS and a different cross compilation to generate code for the other) may be possible it is simplest/you are likely to want the two platforms yourself and compile your application under each one separately.
  • Failed call: "QT_INSTALL_PREFIX"

    Unsolved
    5
    0 Votes
    5 Posts
    4k Views
    SGaistS
    You can't mix two different Qt major versions. From the looks of it, you did not point CMake to your custom Qt installation. Check CMAKE_PREFIX_PATH.
  • Qt online installer crush at 0%

    Moved Unsolved
    2
    0 Votes
    2 Posts
    303 Views
    kkoehneK
    @thinkingfl said in Qt online installer crush at 0%: Qt online installer crush at 0% without providing any error message. And I can not find any log file generated by the Qt installer. Any ideal on how to fix this problem? Things I have tried: Restart system, Redownloader the installer, Close the firewall. None of them works. Start the installer from the command line , with --verbose argument. What is the last output?
  • Installation folder missing options

    Moved Unsolved
    1
    0 Votes
    1 Posts
    142 Views
    No one has replied
  • QT5.15.2编译安装出现是的错误

    Unsolved
    10
    0 Votes
    10 Posts
    2k Views
    Q
    @JoeCFD said in QT5.15.2编译安装出现是的错误: CC=/usr/lib/gcc CXX=/usr/lib/g+ What do you mean/ Modify the makefile after configuring CC=/usr/lib/gcc CXX=/usr/lib/g+
  • Cannot build Q - error in qtlocation

    Unsolved
    5
    0 Votes
    5 Posts
    1k Views
    semlanikS
    @andro could you please share the compiler line too? It sounds like either the compiler issue or exceptions flag is missing.
  • Qt cross compile for Rasperry by not working for cmake project

    Unsolved
    1
    0 Votes
    1 Posts
    217 Views
    No one has replied