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 51.1k Posts
  • Qt 6.4.0 Static Build on OSX fails loading cocoa plugin OSX 12.6

    Unsolved
    1
    0 Votes
    1 Posts
    255 Views
    No one has replied
  • Unable to run `make clean` when trying to package Qt5 for macOS

    Unsolved
    2
    0 Votes
    2 Posts
    235 Views
    SGaistS
    Hi, How did you install GStreamer ? Where is it located ?
  • 6.4 windeployqt deployed app doesn't start, but works under QtCreator

    Unsolved
    7
    0 Votes
    7 Posts
    807 Views
    O
    -multimedia didn't help Ok, I'll stick with manual copy in the build script
  • Issue with macdeployqt and QtQuick3D

    Solved
    3
    0 Votes
    3 Posts
    376 Views
    O
    Thank you for your feedback, My version of Qt is 6.3.2 In the meantime I have found two errors. The first is that I forgot to specify where my qml files were with the -qmldir option. The second one is from using a Mac M1 and Xcode 14. With this combination the macdeployqt command generates an error when calling install_name_tool See: https://bugreports.qt.io/browse/QTBUG-105056 In short, on Mac Intel and with the -qmldir option macdeployqt works perfectly with QtQuick3D :-) Thanks again, it's nice to be supported here.
  • Unknown type name QSslSocket, Qt 5.7.1

    Unsolved
    2
    0 Votes
    2 Posts
    267 Views
    jsulmJ
    @zhangxinyang Did you try a complete rebuild after modifying the pro file (delete build folder, run qmake, build)?
  • Qt 5.12.x offline installer download error

    Solved
    2
    0 Votes
    2 Posts
    2k Views
    JKSHJ
    Hi, and welcome! @jhosephfarukh6 said in Qt 5.12.x offline installer download error: Hello; i just tried to download 5.12.x version of Qt but these links (https://www.qt.io/offline-installers) are broken. Could you help me? See https://download.qt.io/archive/qt/5.12/5.12.12/
  • Installation not responding at 98% in VirtualBox + Ubuntu + Qt6

    Solved
    6
    0 Votes
    6 Posts
    2k Views
    S
    @kkoehne Thank you so much. That works. Also, another solution is to use an earlier version.
  • Online installer stuck Ubuntu 20.04.4 LTS

    Unsolved
    7
    0 Votes
    7 Posts
    1k Views
    G
    @kkoehne yes, you are right, it was VM with only one CPU, increasing CPUs to 6 fix the problem, thank you
  • How to deal with Qt6 minimum Windows version requirements?

    Unsolved
    2
    0 Votes
    2 Posts
    809 Views
    JonBJ
    @tristanleboss Hello and welcome. Assuming what you say is correct (I would not know), it's a bit "ugly" but the only way I see to catch inability to load a required DLL which you are already linked against would be to supply a small "wrapper" program which does these checks before invoking your Qt exeutable.
  • Can't get Qt to work on Ubuntu

    Unsolved
    5
    0 Votes
    5 Posts
    866 Views
    JKSHJ
    @arad2456 said in Can't get Qt to work on Ubuntu: Ubuntu of windows Which version of Windows Subsystem for Linux (WSL) do you have? The original WSL does not support GUIs. You need WSL 2 with Windows 11 for it to work: https://learn.microsoft.com/en-us/windows/wsl/tutorials/gui-apps Since I practically know nothing in Ubuntu and Linux, I would appreciate it a lot if you could explain it in language I could understand. In this case, I suggest you install Ubuntu in a virtual machine (like VirtualBox or VMWare Player) instead of using WSL.
  • Create a Standalone exe Qt6

    Unsolved
    6
    0 Votes
    6 Posts
    1k Views
    R
    For future reference here is what I did to work around. First, based on the documentation I thought qt_generate_deploy_qml_script was supposed to do what winqtdeploy did which is scan the exe and dependencies such as Qtcore.dll, etc. Evidently that is not true - at least based on my experience but if I'm wrong I would appreciate knowing how to use it so it does this. So I really don't know what qt_generate_deploy_qml_script does or it's purpose. I fell back to winqtdeploy and ran it in the directory the exe was in. This worked as it generated the folders and files so I could run my exe as a standalone. At some point I plan to try adding winqtdeply as a command to the CMakeLists.txt to pick up any changes needed.
  • QT Online installer - Cannot retrieve remote tree

    Unsolved
    2
    0 Votes
    2 Posts
    902 Views
    M
    Try running the installer as root.
  • Qt5 on OS X 10.9, - without - Xcode?

    7
    0 Votes
    7 Posts
    6k Views
    T
    You can just follow this article: Qt without XCode - how to use Qt Creator for macOS software development without installing XCode
  • MacOS Update

    Unsolved
    2
    0 Votes
    2 Posts
    320 Views
    hskoglundH
    Hi, perhaps you need to upgrade Xcode as well.
  • Ubuntu 18.04 qtcreator (version 5 - qt5) Launch Issue

    Solved
    9
    0 Votes
    9 Posts
    724 Views
    S
    @JonB ty JonB, for all the help. qtcreator works, and that is the most important. X11 info was great too :) but i guess, laptop needs a nice format soon ububu@uubunut6ty5y:/$ echo "$PATH" /home/ububu/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/usr/local/cuda/bin
  • Build Qt 5.4 from source failed

    Unsolved
    1
    0 Votes
    1 Posts
    253 Views
    No one has replied
  • Error on cross-compiling qtmultimedia

    Unsolved
    3
    0 Votes
    3 Posts
    690 Views
    H
    Hi, I can confirm that the qtmultimedia is giving such parser error during the plugin creation. Just as fabrdidomenico is experiencing with the imx6 target/makespecs I am having exactly the same issue - the only way to complete the build from sources is to disable the multimedia module. Not sure if cmake can be an issue here, I would say that cmake is not responsible at all.
  • QT license file location

    Unsolved
    2
    0 Votes
    2 Posts
    2k Views
    SGaistS
    Hi and welcome to devnet, Since you have a licence, you should contact the Qt Company directly.
  • Qt creator 8.0.1 can't select any kit on Win10

    Solved
    12
    0 Votes
    12 Posts
    2k Views
    C
    It's ok now thank you very much for your help! :)
  • Help to fix my Qt Creator settings

    Solved
    6
    0 Votes
    6 Posts
    544 Views
    C
    Hi, Ok I uninstalled and reinstalled but with the online installer not from the repository, I got a 8.0 version and everything is working fine. Thanks for your help.