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
  • 0 Votes
    6 Posts
    153 Views
    M
    @JonB Thanks a lot. @SGaist Thanks a lot. You are completely right. That is CMake issue of generating Ninja build code. I edited build.ninja file with the following terminal command $ sed -Ei 's/-R/-Wl,-R/g' build/build.ninja and compilation succeed. P.S. CMake 4.3.3 executable had been tried but hasn't succeed too. It seems that is CMake's fault, but not configure or anything else. @SGaist, @JonB Where can I report about that error?
  • Problems building 5.6.2 on Raspberry Pi 5 with Raspbian 12 (Debian Bookworm)

    Unsolved
    13
    0 Votes
    13 Posts
    641 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
    6k 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
    328 Views
    SGaistS
    Hi and welcome to devnet, Which version of the Maintenance tool do you have ?
  • Invalid Stylesheet

    Unsolved
    3
    0 Votes
    3 Posts
    474 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
    375 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
    934 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
    425 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
    919 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
    643 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
    3k 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
    294 Views
    No one has replied
  • qDebug() not working.

    Unsolved
    12
    0 Votes
    12 Posts
    6k 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
    4k 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
    1k 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
    2k 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
    2k 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
    668 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
    610 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.