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.7k Topics 51.1k Posts
  • MacOS Deployment

    Unsolved
    3
    0 Votes
    3 Posts
    293 Views
    GiridharG
    I've executed the command "export DYLD_PRINT_LIBRARIES=1" and as I can see, if I open the executable from terminal, it loads file from app bundle but if I use the "open" command to run the bundle, it loads file from "/System/Library", is this behaviors correct? Edit: Ok... After some tests with an empty app I found where the problem is. I got a class that make use a new thread for each object to execute a method, setting this thread as "static" have solved the problem. Could it be a problem related to an high amount of thread that are created? How can I solve this?
  • How to organize the dll for two different applications ?

    Solved
    3
    0 Votes
    3 Posts
    281 Views
    R
    Thank you, I didn't notice I had different versions!
  • QtMqtt build

    Solved
    6
    0 Votes
    6 Posts
    1k Views
    SGaistS
    The default branch when you clone Qt is the dev branch which is for Qt 6 currently.
  • qt.qpa.xcb: could not connect to display

    Solved
    23
    0 Votes
    23 Posts
    154k Views
    JonBJ
    @John-M-T Duplicate post of your https://forum.qt.io/topic/134114/error-when-launching-rqt.
  • QML tests on docker fail

    Solved
    2
    0 Votes
    2 Posts
    289 Views
    SGaistS
    Hi, One other possible way is to set the QT_QPA_PLATFORM environment variable.
  • Error: program database manager mismatch...

    Solved
    8
    0 Votes
    8 Posts
    2k Views
    SGaistS
    Hi, Just an educated guess: order of the folders in the PATH environment variable that made the wrong dll found before the correct one.
  • How Do I Use Sidebars in Qt Installer

    Unsolved sidebar installer
    1
    0 Votes
    1 Posts
    293 Views
    No one has replied
  • Qt application fails to start because of missing mf.dll

    Unsolved
    1
    0 Votes
    1 Posts
    565 Views
    No one has replied
  • Project ERROR: Unknown module(s) in QT: charts

    Unsolved
    11
    0 Votes
    11 Posts
    3k Views
    P
    Hi @Grimface, Maintenance Tool exists to make things easy without any need to compile Qt from source. That's the way I've always done it and it should be an easy experience. Can I check which checkbox you ticked? There's one at the top under Additional Libraries at top level [image: 9bc80cf7-d785-4159-982e-253fd32ff8fe.png] and one within Additional Libraries within the Qt build you're installing. [image: de441e04-808c-4159-abea-98e47eb6c2fe.png] I haven't used QtCharts myself, but I use QtMultimedia which is another additional library and I've had no problem installing that by ticking the latter one only.
  • [SOLVED] qt.qpa.plugin: Could not find the Qt platform plugin "xcb" in ""

    Solved
    29
    0 Votes
    29 Posts
    175k Views
    L
    @jsulm I change the name of libxcb.so to libxcb.so1 it still loaded. and get the same error. I remove the libxcb.so file in /home/lizhe/.local/lib/python3.10/site-packages/cv2/qt/plugins. Everything seems works fine now. Thank you. Here is the output: echo $PATH /home/lizhe/Applications/Clash /home/lizhe/Applications/Clion/bin /home/lizhe/OriNote/linuxConfig/CommonScripts /home/lizhe/Applications /home/lizhe/.local/bin/ /home/lizhe/OriNote/wikiScripts /home/lizhe/.yarn/bin/ /home/lizhe/Applications/VSCode/ /home/lizhe/Applications/clion-2021.3.2/bin /home/lizhe/Applications/pycharm-2021.3.1/bin/ /home/lizhe/OriNote/wikiScripts/Utils /home/lizhe/OriNote/wikiScripts /home/lizhe/Applications/Clash /home/lizhe/Applications/Clion/bin /home/lizhe/OriNote/linuxConfig/CommonScripts /home/lizhe/Applications /home/lizhe/.local/bin/ /home/lizhe/OriNote/wikiScripts /home/lizhe/.yarn/bin/ /home/lizhe/Applications/VSCode/ /home/lizhe/Applications/clion-2021.3.2/bin /home/lizhe/Applications/pycharm-2021.3.1/bin/ /home/lizhe/OriNote/wikiScripts/Utils /home/lizhe/OriNote/wikiScripts /usr/local/sbin /usr/local/bin /usr/bin /usr/bin/site_perl /usr/bin/vendor_perl /usr/bin/core_perl /var/lib/snapd/snap/bin
  • application runs in qtcreator but not in normal environment

    Solved
    7
    0 Votes
    7 Posts
    416 Views
    S
    On a fresh windows everything works fine. I think i have to reinstall my Os
  • LNK1104: cannot find .lib-file

    Solved
    6
    0 Votes
    6 Posts
    2k Views
    E
    Ah yes, that's it, it is working now. Thank you all very much for your help! :)
  • 0 Votes
    2 Posts
    184 Views
    R
    After a lot of head scratching I found that if I install from a mirror as documented at https://wiki.qt.io/Online_Installer_4.x#Selecting_a_mirror_for_opensource then the installation worked perfectly well. Is the file on the default server corrupted or something? Anyway, I hope someone finds this useful if they have a similar problem.
  • Build Qt5 on Linux with mingw for Windows with ANGLE support for OpenGL

    Unsolved
    1
    0 Votes
    1 Posts
    887 Views
    No one has replied
  • two windows opening after I deployed an application on windows

    Solved
    5
    0 Votes
    5 Posts
    429 Views
    CollevattiC
    FOUND IT: in CMake set_target_properties I added the line: WIN32_EXECUTABLE true couldn't have found it without knowing it was a terminal window. Thank you.
  • Qt5 cannot find C++ algorithm library and fails.

    2
    0 Votes
    2 Posts
    461 Views
    Christian EhrlicherC
    Ugrade to a recent Qt version or apply this fix: https://code.qt.io/cgit/qt/qtbase.git/commit/src/corelib/text/qanystringview.h?id=813a928c7c3cf98670b6043149880ed5c955efb9 If you do not want to upgrade you should take a look at https://bugreports.qt.io/browse/QTBUG-89977 - there are other fixes for gcc11
  • Downloading server Issues

    Unsolved
    10
    0 Votes
    10 Posts
    750 Views
    jsulmJ
    @MarkOne Try to disable anti virus software
  • How to add a submodule after installing with an offline installer?

    Solved
    3
    0 Votes
    3 Posts
    644 Views
    I
    @sierdzio I guess I was short sighted after a booster shot. I thought the submodules should be in a separate category but they were not. They were in the installer. Thank you for your answer!
  • 0 Votes
    6 Posts
    2k Views
    nguyenduy4321N
    LoL, I already solved it. And this is how I solved the issue. My PATH is clean and nice, however, my cmd's AutoRun is a mess. I tried deleting everything in AutoRun (HKCU\SOFTWARE\Microsoft\Command Processor\AutoRun or HKLM\SOFTWARE\Microsoft\Command Processor\AutoRun) for testing and Qt was able to build fine. My AutoRun is messy because I integrated cmder into cmd but didn't follow the author's guide. I stuffed a long script into AutoRun (without creating a separate 'cmder_shell.bat' file) and it was working fine before I started using Qt. And now I see the above issue I mentioned. Hope my stupid experience helps those who face similar issue to have more solutions. For those who use cmder integrated into cmd please follow the author's guide, don't be like me.
  • Qt Creator Install problem on Windows

    Unsolved
    7
    0 Votes
    7 Posts
    2k Views
    cristian-adamC
    You can also get Qt Creator 6 builds with Qt5 at https://download.qt.io/snapshots/qtcreator_qt5/6.0/ You don't have to get stuck with Qt Creator 5 :)