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.5k 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
    26k Views
    No one has replied
  • Qt IFW: How to check if we are in maintanance mode

    Unsolved
    1
    0 Votes
    1 Posts
    330 Views
    No one has replied
  • Are CVE patches pre-applied to the sources of older versions as well?

    Solved
    3
    0 Votes
    3 Posts
    706 Views
    JKSHJ
    @Taytoo said in Are CVE patches pre-applied to the sources of older versions as well?: if I download the latest sources of the affected version (e.g. 5.15.19). Would they have the CVE patches applied already? No, the sources of Qt 5.15.19 remain exactly as how they were released back in May 2025 (https://www.qt.io/blog/commercial-lts-qt-5.15.19-released ). You'll need to apply the patches manually or upgrade to a version that already contains the patch.
  • 0 Votes
    9 Posts
    2k Views
    SGaistS
    Then I would check the cmake bug tracker to see if there's something related there.
  • Problems building 5.6.2 on Raspberry Pi 5 with Raspbian 12 (Debian Bookworm)

    Unsolved
    13
    0 Votes
    13 Posts
    4k Views
    R
    I edited socketcanbackend.cpp to include the missing include file (<linux/sockios.h>) and compiling is proceding...
  • Using cross-compilation for ARM64 in the Ubuntu 24.04 x86 environment

    Solved
    5
    0 Votes
    5 Posts
    8k Views
    N
    I want to complete toolchain qt creator cross compile for ARM_64 my host is x86_64 and cross compile for ARM_64 khadas bord.
  • Problem with Qt maintance tool

    Unsolved
    2
    0 Votes
    2 Posts
    1k Views
    SGaistS
    Hi and welcome to devnet, Which version of the Maintenance tool do you have ?
  • Invalid Stylesheet

    Unsolved
    3
    0 Votes
    3 Posts
    1k Views
    D
    I figured it out... Thanks... It was just a syntax problem...
  • Updating existing installation with maintenance tool 3.x

    Unsolved
    2
    0 Votes
    2 Posts
    1k Views
    A
    @flashmozzg Hi, unfortunately you need to do a fresh install. We'll look into improving this particular case.
  • Deployment not working on Ubuntu 24.04

    Unsolved
    6
    0 Votes
    6 Posts
    2k Views
    SGaistS
    That's a generated script in the build folder. It's called automatically for you. If you want to see its content, there are hidden folders in the build folder.
  • Patch Application Failure on Yocto Zeus + Qt 5.15 Due to Source Revision Mismatch

    Unsolved
    2
    0 Votes
    2 Posts
    1k Views
    JonBJ
    @Poornesh said in Patch Application Failure on Yocto Zeus + Qt 5.15 Due to Source Revision Mismatch: Dear Qt Support Team Please be aware this forum is for users of Qt. It is not read by The Qt Company. My limited understanding is that Qt for Yocto is part of "Boot to Qt" (https://doc.qt.io/Boot2Qt/b2qt-customization-requirements.html)? If that is true I believe this means you must have a commercial license for The Qt Company? And if that is so then, although you are welcome to post here and await any user answers which might come, you may have to contact TQtC for your issue?
  • Disclosure of Application Source Code under LGPL v3.0

    Unsolved
    5
    0 Votes
    5 Posts
    2k Views
    JonBJ
    @MSDev said in Disclosure of Application Source Code under LGPL v3.0: So if I do dynamic linking then I don't have to share my source codes right? In addition to what my colleagues have said. Since your code is in PySide/Python rather than C++, how do you propose not to "share your source code" anyway? Unlike the C++ situation your Python files are required at runtime and are perfectly readable to anyone. Unless you do some sort of "obfuscation" or you can force somehow to compile the Python you won't be supplying any "object" files of your own anyway?
  • QtIF does not seem to package shell scripts

    Unsolved
    3
    0 Votes
    3 Posts
    2k Views
    SGaistS
    Hi, Glad you found out and thanks for sharing the solution ! You can close the thread yourself by using the Topic Tools button or the three dotted menu beside the answer you deem correct :-)
  • Installing Qt Automotive Suite : Qt Automotive Suite option not available

    Solved
    10
    0 Votes
    10 Posts
    5k Views
    JKSHJ
    @DinoNZ said in Installing Qt Automotive Suite : Qt Automotive Suite option not available: Is it possible to get an Open Source license for QT Automotive Suite? I'm a private individual not a company so am just looking at the open source trial versions for now. Qt Automotive Suite was based on Qt 5.15. It is no longer being maintained or offered, but its source code is open: https://doc.qt.io/QtAutomotiveSuite/qtas-install.html#build-from-source (it is basically a "bundle" of multiple modules that are relevant to the automotive industry) For a modern automotive solution, see Qt for Android Automotive: https://www.qt.io/blog/qt-for-android-automotive-6.11-released https://doc.qt.io/QtAndroidAutomotive/qtaa-overview.html
  • Cross Compile Qt6.8.3 for Arduino portenta X8

    Unsolved
    1
    0 Votes
    1 Posts
    673 Views
    No one has replied
  • qDebug() not working.

    Unsolved
    12
    0 Votes
    12 Posts
    9k Views
    D
    I've just come across exactly the same thing on Mageia. Has been driving me nuts! My ini file was identical to OP's.
  • install qt6.8.1 opensource in linuxmint 22.1

    Solved
    9
    0 Votes
    9 Posts
    6k Views
    SGaistS
    @udobyk hi and welcome to devnet, Please open a new thread showing the exact errors you are getting. In between, you have the dependencies listed in the Linux chapter of Qt's documentation
  • Cannot build MySQL plugin for Windows in QT6.11

    Unsolved
    4
    0 Votes
    4 Posts
    2k Views
    Christian EhrlicherC
    Looks like a bug, I've reported it here: https://qt-project.atlassian.net/browse/QTBUG-145563
  • Problem with Qt6 Xdg plugin's RPATH in deployment

    Unsolved
    6
    0 Votes
    6 Posts
    3k Views
    K
    The problem is that RPATH_SET can't set a RUNPATH if it doesn't already exist. It will only overwrite an existing value. patchelf, however, will do this. So, as @yan12125 says, QT_DEPLOY_USE_PATCHELF=ON should work.
  • 0 Votes
    7 Posts
    4k 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.