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 50.7k Posts
QtWS25 Last Chance
  • How to use the Settings operation

    Unsolved
    2
    0 Votes
    2 Posts
    172 Views
    T
    "method=add" doesn't exist - it looks like the docs are out of date. You probably want "method=set"
  • Qt 5.15.2 online installaton failure due to malware

    Unsolved
    2
    0 Votes
    2 Posts
    184 Views
    JonBJ
    @priyankarr Absolutely no mention or evidence of "malware" here. As with the hundreds of other similar questions about download errors from Qt, start by trying other mirrors.
  • Can't install 5.15

    Moved Unsolved
    9
    0 Votes
    9 Posts
    612 Views
    J
    @Mihaill Are you trying to download from Russia? It seems so and that's why it isn't working; downloads from Russian IPs are blocked.
  • qt.qpa.plugin: Could not find the Qt platform plugin "cocoa" in “"

    Unsolved
    4
    0 Votes
    4 Posts
    7k Views
    S
    my laptop is MacOS Sonoma system with Apple silicon chip M1 after I install PyQt6 and the dependencies, I still get the following error message and can not work at all qt.qpa.plugin: Could not find the Qt platform plugin "cocoa" in "" This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.
  • How to cross compile QtWebEngine

    Unsolved
    2
    0 Votes
    2 Posts
    3k Views
    _
    I am also trying to build a web engine, but with our NDK, we do not have the required dependencies for the web engine, such as dbus, fontconfig, etc. Could you please share the commands or scripts used to compile fontconfig and nss? I tried building fontconfig, but it keeps pointing to another dependency, and this continues. So, any guidance or scripts to streamline this process would be greatly appreciated.
  • This topic is deleted!

    Unsolved
    1
    0 Votes
    1 Posts
    23 Views
    No one has replied
  • Gstreamer qml6glsink issue

    Unsolved
    7
    0 Votes
    7 Posts
    769 Views
    B
    This message (Could not create scene graph context for backend 'opengl') was caused for me by qputenv("QT_QUICK_BACKEND", "opengl"); When I switched to setting this in the environment variables instead, this message went away.
  • link instalation path error

    Unsolved
    10
    0 Votes
    10 Posts
    456 Views
    artwawA
    @iliahero You should see (in "add/remove components" mode) something like this: [image: 73d12f6a-6df7-4018-863a-a07a065c9acf.png] And from i.e. Qt 6.7.2 tree select those components that might be of interest (you'll need either mingw or msvc version of Qt, source code might be useful, additional components as needed - you can always add later).
  • Qt5 -> Qt6 problem: hidden reference to Qt5?

    Solved
    7
    0 Votes
    7 Posts
    708 Views
    Tom assoT
    Thanks everyone. I believe the problem is caused by linking my app with a third-party library that was itself built with Qt5.
  • 0 Votes
    1 Posts
    111 Views
    No one has replied
  • How to compile/link my apps with my Qt 6.7 installation?

    Solved
    7
    0 Votes
    7 Posts
    666 Views
    SGaistS
    Hi, You also have the option to call the qt-cmake wrapper that can be found in the bin folder of your Qt installation.
  • Qt Installer Keeps Stop Working at the Installing Step

    Moved Unsolved
    2
    0 Votes
    2 Posts
    182 Views
    Axel SpoerlA
    Please start the maintenance tool from the command line, and post the output. Looks like you have to select another mirror. Check the documentation of the maintenance tool in the internet and find command line options.
  • How to fix this error

    Unsolved release mod error
    3
    0 Votes
    3 Posts
    380 Views
    Y
    @artwaw thank u so much for trying to help me out, but now after i reopened the app to see the compile output and send it here, i decided to try running it for the last time and see if it works, and it actually worked! thank you so much for you attempt 🙏
  • Compile Errors migrating from qt5.7 to qt6.7.2

    Unsolved
    5
    0 Votes
    5 Posts
    364 Views
    jsulmJ
    You should see which part of your code leads to these errors in the compiler output. Post the whole error messages, so others can check.
  • Can't install Qt 6.7.2 on llinux

    Solved
    7
    0 Votes
    7 Posts
    711 Views
    L
    Worked with http://www.nic.funet.fi/pub/mirrors/download.qt-project.org Thanks.
  • How to apply patch to source files?

    Solved
    5
    0 Votes
    5 Posts
    380 Views
    T
    Solution: If you have git installed, its actually very easy using the git cli. Qt sources don't even need to be added to version control for this. Open Terminal and Go to the Qt module the patch is for. E.g. the recent HTTP related patch is for QtBase, so go to that folder qtbase. Type command "git apply <patch-filename> -v" (-v is just so you can see the output) That's it!
  • Whats going on with QT and Redhat??

    Unsolved
    6
    0 Votes
    6 Posts
    2k Views
    Z
    @SGaist @JonB Finally figured out the correct combo to get me up at going. Redhat 8.10 doesn't throw this error when installing: Error during installation process (qt.qt6.653.gcc_64): Could not find the required QmakeOutputInstallerKey(qt.qt6.653.gcc_64_qmakeoutput) value on the installer object. The ConsumeOutput operation on the valid qmake needs to be called first. And sudo dnf install xcb-util-cursor fixed the xcb issue. Thanks again.
  • QtIFW add arguments to CreateShortcut operation

    Unsolved
    3
    0 Votes
    3 Posts
    430 Views
    P
    Seems that the answer is: component.addOperation("CreateShortcut", "@TargetDir@/My App.exe", "arg1 arg2", "@DesktopDir@/My App.lnk"); I'd tried "arg1", "arg2" but that doesn't work.
  • 0 Votes
    3 Posts
    2k Views
    SeDiS
    Thanks! Your answer was most probably correct, but I've had additional issues that made it impossible to work with android, therefore all that mess. Upgrading Qt Creator and deleting AndroidSDK made it possible to do the Android stuff installation correctly. It finally works :-)
  • Trouble Building QMultimedia and FFMpeg on Debian x86_64

    Unsolved
    5
    0 Votes
    5 Posts
    406 Views
    M
    @SGaist ; @Christian-Ehrlicher you guys are the best. FFMpeg-6.1.1 links and compiles with QT just fine! Thank you very much again.