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
    25k Views
    No one has replied
  • Patch Application Failure on Yocto Zeus + Qt 5.15 Due to Source Revision Mismatch

    Unsolved
    2
    0 Votes
    2 Posts
    49 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
    145 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
    218 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
    2k 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
    114 Views
    No one has replied
  • qDebug() not working.

    Unsolved
    12
    0 Votes
    12 Posts
    5k 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
    3k 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
    404 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
    720 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
    1k 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
    233 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
    197 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
    397 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
    116 Views
    No one has replied
  • Debugging MWE of pyside6-deploy with WebEngine

    Solved pyside6-deploy webengine
    4
    0 Votes
    4 Posts
    686 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
    597 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.
  • 0 Votes
    5 Posts
    389 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
    200 Views
    No one has replied