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.8k Posts
QtWS25 Last Chance
  • Which version of Qt am I using? How do I find out?

    Pinned
    1
    18 Votes
    1 Posts
    23k Views
    No one has replied
  • Meaning of "Application" and "Combined Work" of LGPL3

    Unsolved
    2
    0 Votes
    2 Posts
    31 Views
    jsulmJ
    @Wann said in Meaning of "Application" and "Combined Work" of LGPL3: "Application" will mean the executable No, it can be anything using an interface from a library, just like the license states. For example if you write a library which uses Qt.
  • qt6 community version will not download: forbidden error

    Unsolved
    6
    0 Votes
    6 Posts
    62 Views
    jsulmJ
    @mwdarr said in qt6 community version will not download: forbidden error: Also do you have a list of alternate mirrors I do not see one on the site There is a link on that side with a list of the mirrors.
  • No documentation for managing files with pyside6-deploy?

    Unsolved
    3
    0 Votes
    3 Posts
    39 Views
    P
    Right, but aren't there pyside6-deploy specific sections and options that are not documented? Are there any examples out there? Or am I misunderstanding something fundamental and generic about how the pyproject.toml is used? Is this even the preferred way to do this, and if so how would I find out?
  • Unable to install Qt Creator completely

    Unsolved
    5
    0 Votes
    5 Posts
    57 Views
    jsulmJ
    @lunnarwayfarer How many mirrors did you try?
  • New Qt installation, simple QWidget App does not compile

    Solved
    15
    0 Votes
    15 Posts
    158 Views
    aha_1980A
    @Andy314 I agree this is a stupid bug, but as qmake gets lower and lower support I doubt there will be a fix. If you like, you can still report a bug but I don't think it will be high priority.
  • 0 Votes
    13 Posts
    178 Views
    R
    @hskoglund Yes I think that is right, but then I just don't know which library are essential in the creation of the static build for wayland. openat(AT_FDCWD, "/home/username/.conan2/p/b/qt9e43eba220521/p/plugins/platforms/glibc-hwcaps/x86-64-v4/libstdc++.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) openat(AT_FDCWD, "/home/username/.conan2/p/b/qt9e43eba220521/p/plugins/platforms/glibc-hwcaps/x86-64-v3/libstdc++.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) openat(AT_FDCWD, "/home/username/.conan2/p/b/qt9e43eba220521/p/plugins/platforms/glibc-hwcaps/x86-64-v2/libstdc++.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) openat(AT_FDCWD, "/home/username/.conan2/p/b/qt9e43eba220521/p/plugins/platforms/libstdc++.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) openat(AT_FDCWD, "/home/username/.conan2/p/b/qt9e43eba220521/p/plugins/sqldrivers/glibc-hwcaps/x86-64-v4/libstdc++.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) openat(AT_FDCWD, "/home/username/.conan2/p/b/qt9e43eba220521/p/plugins/sqldrivers/glibc-hwcaps/x86-64-v3/libstdc++.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) There are two more lines of sqldrivers missing This is the rest of the output, is there one of the libs that are critical?
  • Crosscompile QT6 for pi4 in full screen (eglfs)

    Unsolved
    4
    0 Votes
    4 Posts
    67 Views
    jsulmJ
    @ben80 said in Crosscompile QT6 for pi4 in full screen (eglfs): Where can i find the config.log? Somewhere in the build folder. Just search for *.log With -h or --help you should get the list of all available parameters.
  • MacOS macdeployqt Running from deployment folder gets SIGABRT

    Unsolved
    5
    0 Votes
    5 Posts
    117 Views
    PerdrixP
    It was a problem with the signing of the application. Now resolved thanks - for the assist
  • How to configure qt when configuring to compile from source to NOT delete test programs

    Unsolved
    2
    0 Votes
    2 Posts
    37 Views
    Christian EhrlicherC
    See cmake help: λ cmake --help | grep debug --debug-trycompile = Do not delete the try_compile build tree. --debug-output = Put cmake in a debug mode. --debug-find = Put cmake find in a debug mode. --debug-find-pkg=<pkg-name>[,...] = Limit cmake debug-find to the --debug-find-var=<var-name>[,...] = Limit cmake debug-find to the
  • Getting macdeployqt to handle multiple binaries in the bundle

    Unsolved
    4
    0 Votes
    4 Posts
    96 Views
    Paul ColbyP
    Hi @Perdrix, I should stop using macdeployqt and windeployqt and use qt_deploy_runtime_dependencies in all cases? If I'm reading your original post correctly, it looks like you're already using qt_deploy_runtime_dependencies() for both macOS and Windows. You can use macdeployqt and windeployqt directly, but qt_deploy_runtime_dependencies() wraps them for you. From the docs: ... when executed on macOS or Windows, the command will use either macdeployqt or windeployqt, ... If that's now the official position I'll go with it. I'm not sure either is considered "the official position" - both seem to be supported, and in my mind, both are good options. Though qt_deploy_runtime_dependencies() was only added in Qt 6.3, so if you want to support older Qt's, then executing {mac,win}deployqt directly is the way to go, otherwise I'd stick with qt_deploy_runtime_dependencies() if/while it meets your needs. Either way, if you stick with qt_deploy_runtime_dependencies(), then try adding an ADDITIONAL_EXECUTABLES parameter; or if you want to use {mac,win}deployqt directly, then just copy all of your executables to a staging area, and run {mac,win}deployqt on all of them. Cheers.
  • qmake has an error on compilation

    Solved
    6
    0 Votes
    6 Posts
    100 Views
    A
    @Christian-Ehrlicher @sierdzio Thanks.Solved! Thank you for your help Best Wishes
  • the app on android does not start

    Unsolved
    3
    0 Votes
    3 Posts
    123 Views
    W
    I've found a solution. It was necessary to set in BIOS for CPU features: Intel Virtualization Technology = Enabled.
  • Qt6 LottieQt Application Won't Launch After Deployment (Windows 10)

    Unsolved
    1
    0 Votes
    1 Posts
    34 Views
    No one has replied
  • Errors while running macdeployqt

    Unsolved
    1
    0 Votes
    1 Posts
    18 Views
    No one has replied
  • 0 Votes
    1 Posts
    22 Views
    No one has replied
  • question abort building qt6.8.3 on visual studio 2022

    Unsolved
    2
    0 Votes
    2 Posts
    40 Views
    hskoglundH
    Hi, probably fails because some the paths are longer than 260 characters, try changing the build directory to something shorter than D:\Workspace\UAV\QGC\qgc_dev-windows\qt-everywhere-src-6.8.3
  • Qt 6 cmake lupdate update_translations hangs forever

    Solved
    8
    0 Votes
    8 Posts
    638 Views
    P
    It seems the issue is resolved in : Fix Version/s: 6.5.7, 6.7.3, 6.8.0 Beta3, 6.9.0 FF
  • Qt Online Installer for Windows does not install Qt and QtCreator

    Unsolved
    14
    0 Votes
    14 Posts
    861 Views
    SGaistS
    @Steve-Purple Hi, That is pretty strange. Are you installing Qt open source ?
  • Mac Command line

    Unsolved
    4
    0 Votes
    4 Posts
    67 Views
    SGaistS
    Yes, you have one single project that has multiple subprojects one of which is your main application that is in a bundle and the other which is the command line tool which you would like to build "unbundled" so you can then copy it into the main application's bundle. For your cli application, there's this example in the Qt Documentation. However, the part for integrating that binary into your bundle I don't currently know. You might be able to use a custom command that does that for you or maybe cmake already provides something.