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.4k Posts
Qt 6.11 is out! See what's new in the release blog
  • Which version of Qt am I using? How do I find out?

    Pinned
    1
    18 Votes
    1 Posts
    25k Views
    No one has replied
  • 0 Votes
    7 Posts
    208 Views
    N
    @Christian-Ehrlicher said in qmake/nmake fails on MacOSX26.4 with Qt 6.11 with error implicitly declaring library function '__yield': As you can see in the bug report it's fixed for 6.11.1 and 6.12 ... which means, according to this page, some time before September 2026. @Christian-Ehrlicher said in qmake/nmake fails on MacOSX26.4 with Qt 6.11 with error implicitly declaring library function '__yield': It's just 5 lines in a header file When reading that same description, I was struggling at which file and which 5 lines to adjust, eventually I solved the issue on my own installation by editing qyieldcpu.h (the very same file and path provided in the compiler message) as follows (my changes are located before comments beginning with FIX): #if __has_builtin(__builtin_arm_yield) // FIX moved from below and replaced elif by if __builtin_arm_yield(); #elif __has_builtin(__yield) // FIX replaced if with elif __yield(); // Generic #elif defined(_YIELD_PROCESSOR) && defined(Q_CC_MSVC) _YIELD_PROCESSOR(); // Generic; MSVC's <atomic> // ... elided a few other unchanged lines here #elif defined(Q_PROCESSOR_X86) __asm__("pause"); // hopefully asm() works in this compiler // FIX moved __has_builtin(__builtin_arm_yield to the top I was able to test successfully on my own machine, yet no clue what this means and implies. I hope this information may be useful for other users in a similar situation. In any case, many thanks for the fast answer and the prompts which helped me address the concern.
  • 0 Votes
    3 Posts
    99 Views
    D
    @cristian-adam said in Introduction to Qt Quick - Setting Up The Project - Add Existing Directories does not work: @Don-Lazov Add Existing Directory ... and Add Existing Files... work only if you right click on a Target (🔨): [image: 9284d85a-8088-4d8e-8328-f6866dcb2c71.png] Thanks, I was selecting the main root but then as you pointed out I need to select the target. Thanks for the assist.
  • 0 Votes
    3 Posts
    92 Views
    D
    @cristian-adam I did not really think that that was the real Qt creator component. That was more of an exaggeration and a bit polemic. Sorry. However, I usually like to understand what a package manager wants to install and why. And as I do not know what "some version used by Qt SDK for the Qt Creator component." means, I asked that question. If that is an internal dependency which I (as far as I remember) did not actively install, it should not be shown to the end user to avoid confused reactions.
  • This topic is deleted!

    Unsolved
    2
    0 Votes
    2 Posts
    79 Views
  • Deploying Linguist with macdeployqt, killed 9 when running

    Unsolved
    6
    0 Votes
    6 Posts
    193 Views
    ThierryLelegardT
    @SGaist Might be a silly question but did you recursively remove the signature of everything in the app bundle ? Yes, I did. As well as many other sorts of tests and hacks, without luck. That being said, an unsigned executable can use a signed dynamic library because it does not break the security structure. The opposite, on the other hand, is false. A signed executable can only call trusted libraries.
  • use gui.setTextItems in Qt installer framework

    Unsolved installer installer error settextitems
    1
    0 Votes
    1 Posts
    60 Views
    No one has replied
  • Debugging MWE of pyside6-deploy with WebEngine

    Solved pyside6-deploy webengine
    4
    0 Votes
    4 Posts
    395 Views
    M
    So not exactly a solution, but pyinstaller on windows is working at this time, although it often breaks with new releases of pyside and different operating systems. Including all the stuff for WebEngine is a chronic problem for things like nuitka and pyinstaller because pyside can change the location of WebEngine stuff and different operating systems need stuff in different places. Code signing is also a chronic problem.
  • Building Qt 6.9.3 from sources with default options using configure.bat

    Unsolved
    7
    0 Votes
    7 Posts
    248 Views
    JKSHJ
    @ODUHO4KA said in Building Qt 6.9.3 from sources with default options using configure.bat: I checked my several Qt installations (from the official installer) and they contain d3dcompiler_47.dll and opengl32sw.dll. So, they were added by the Qt installer. Yes, they were added by the Qt installer, but the installer copied them from external sources. You cannot build them from Qt source code. So, just copy those DLLs from an existing installation. I'm not sure about paths provided in OPENSSL_ROOT_DIR and PostgreSQL_ROOT. What should be there? What exact versions of OpenSSL and PostgreSQL should be there? You need development headers + libraries for OpenSSL and PosgreSQL. Please see the links in my previous post for version numbers.
  • Problem with Qt6 Xdg plugin's RPATH in deployment

    Unsolved
    5
    0 Votes
    5 Posts
    342 Views
    Y
    Hi, LXQt co-maintainer here. I suspect there is something wrong in Qt's CMake files. As discussed at https://github.com/lxqt/libqtxdg/issues/329, RPATH_SET is an undocumented CMake command as mentioned at https://code.qt.io/cgit/qt/qtbase.git/commit/?id=5430fb22439db9fc1ad1df4cbf0319b63346b0a5. Moreover, the fallback patchelf approach (-DQT_DEPLOY_USE_PATCHELF=ON), works without an error. Maybe Qt should always use patchelf.
  • 0 Votes
    5 Posts
    196 Views
    SGaistS
    Accents and spaces are pretty tricky ! Glad you found out and thanks for sharing
  • Error During Cross Compilation

    Unsolved
    1
    0 Votes
    1 Posts
    115 Views
    No one has replied
  • 3 Votes
    5 Posts
    1k Views
    M
    Bumping this thread as well because I've encountered the same issue and haven't found a solution so far.
  • Qt Design Studio Not Available in Maintenance Tool

    Solved
    5
    0 Votes
    5 Posts
    365 Views
    J.HilkJ
    Ok, fair enough the installer is slightly different I'll try it! ooh thats a section here! [image: 1326d4f1-56ff-45e2-9785-a9576e5094cf.png] and if you miss that in your initial selection/installation you don't get the option anymore? Interesting
  • Qt Installer Framework - update remote repo for existing installation

    Unsolved
    6
    0 Votes
    6 Posts
    1k Views
    T
    I'm also currently fighting this issue. I see, that the repository url got changed in the MyAppMaintenance.dat file, but not in the .ini file. I tried to remove the .ini file via scripting during the installation and also found out that I can use the GlobalConfig operation (https://doc.qt.io/qtinstallerframework/operations.html) to clear the field in the .ini file. But when the installer closes or restarts, it overwrites my changes. No solution so far…
  • Assistance on building Qt SDK from source for Ubuntu 22.04 on aarch64

    Unsolved
    7
    0 Votes
    7 Posts
    1k Views
    SGaistS
    You should use only one thread to see exactly what is going wrong. That said, it looks like it happens in the QtWebEngine module. Unless you actually need it, I would recommend leaving it out. It's a massive module that is usually hard to build.
  • build qt6 on arm64 debian10 or Ubuntu 18

    Unsolved
    12
    0 Votes
    12 Posts
    4k Views
    Y
    [image: f9b7c1c0-d732-4c68-8610-aebfee7a10f8.png] use std::function
  • Installation Error

    Unsolved
    12
    0 Votes
    12 Posts
    6k Views
    S
    Did any one got the solution to resolve that error
  • Does the qsb command line tool exist?

    Unsolved
    3
    0 Votes
    3 Posts
    449 Views
    GrecKoG
    qsb is the Qt shader bake cli : https://doc.qt.io/qt-6/qtshadertools-qsb.html It seems to be provided by qt6-shader-baker or qt6-shadertools
  • macdeployqt again

    Unsolved
    5
    0 Votes
    5 Posts
    544 Views
    DuBuD
    @SGaist Yes, it said libwebpmux depends on libsharpyuv but it didn't try to copy that one over. I found out libwebpmux is a dependency of a freerdp3 we use. So it seems macdeployqt either wasn't made for 3rd party libraries or it fails to handle them. It looks like I need to handle those dependencies by myself somehow.