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

    Pinned
    1
    18 Votes
    1 Posts
    24k Views
    No one has replied
  • Installation crashes on start up

    Unsolved
    6
    0 Votes
    6 Posts
    154 Views
    SGaistS
    See this Wiki page. There's nothing more to install but yes, starting from the command line is easier.
  • This topic is deleted!

    Unsolved
    1
    0 Votes
    1 Posts
    1 Views
    No one has replied
  • Is QT code.qt.io server down?

    Unsolved
    7
    0 Votes
    7 Posts
    631 Views
    P
    I'm having problem installing aur/qt5-webengine and aur/qt5-websockets because it can't clone the source. https://code.qt.io/qt/qt-webengine.git i tried both with vpn and no vpn. i can ping, can't load in browser and can't clone. Error from yay package manager: -> Cloning kde-qtwebengine git repo... Cloning into bare repository '/home/parsivan/.cache/yay/qt5-webengine/kde-qtwebengine'... fatal: unable to access 'https://code.qt.io/qt/qtwebengine.git/': Failed to connect to code.qt.io port 443 after 134437 ms: Could not connect to server ==> ERROR: Failure while downloading kde-qtwebengine git repo Aborting... -> error making: qt5-webengine-exit status 1 -> Failed to install the following packages. Manual intervention is required: qt5-webengine - exit status 1
  • Cross Compile - Configure command is not working

    Unsolved cross compile
    1
    0 Votes
    1 Posts
    43 Views
    No one has replied
  • Compile qt5.15.2 failed without .git

    Solved
    13
    0 Votes
    13 Posts
    476 Views
    SGaistS
    The reason is that GitHub just zips the content of the repository. The official archives are ready to configure/build for the platform selected (.zip for Windows and tar.gz for unix like).
  • Installing Qt6 on RasperryPi Trixie?

    Unsolved
    10
    0 Votes
    10 Posts
    348 Views
    SGaistS
    Sometimes you have bugs in one architecture and not the others. It might also just be a subtle difference in you settings, etc.
  • 0 Votes
    5 Posts
    156 Views
    N
    @Christian-Ehrlicher Ok, I got it. I will look into the source code and try to fix the warnings.
  • Library problem: libxcb-cursor0 libxcb-cursor-dev

    Unsolved
    5
    0 Votes
    5 Posts
    251 Views
    JKSHJ
    @Mucip said in Library problem: libxcb-cursor0 libxcb-cursor-dev: I applied below code and result. But in this case error message did not appeared?! The installer itself does not need libxcb-cursor. It was trying to warn you that your Qt-based projects might not be able to find it. I don't know why you might get that warning message if you've already installed the libraries. But as @JonB suggests, you might not need libxcb-cursor anyway since your system is using Wayland.
  • Alias for installing MSVC version of Qt via CLI

    Solved command line
    2
    0 Votes
    2 Posts
    121 Views
    jsulmJ
    @akshaybabloo From the page you linked: "To get the Qt essentials package content with, for example, the MSVC 2022 binaries, use the corresponding qt6.10.0-msvc2022-essentials alias package."
  • help my acount to install qt online is blocked help

    Moved Solved
    2
    0 Votes
    2 Posts
    87 Views
    J
    solved i reset my password from qt installer
  • QT online installer v5-15 not available

    Moved Unsolved
    4
    0 Votes
    4 Posts
    201 Views
    JKSHJ
    @new_ said in QT online installer v5-15 not available: qt5.15.16 is not download? No, it is only provided as source code: https://lists.qt-project.org/pipermail/announce/2025-October/000592.html (Note also that Qt 5.15.18 has been released under open-source licenses)
  • Qt6.10 SBOM generation failed after installing the libraries.

    Unsolved
    9
    0 Votes
    9 Posts
    548 Views
    E
    I face the same issue. Did you create an Qt Bug? I skipped the SBOM generation with -DQT_GENERATE_SBOM=OFF
  • 0 Votes
    1 Posts
    72 Views
    No one has replied
  • Project ERROR: Cannot run compiler 'g++'. Output

    Unsolved
    18
    0 Votes
    18 Posts
    21k Views
    SGaistS
    @major_tom3 hi, That's surprising that you have to create that symlink manually. Usually the package manager does that for you on installation.
  • Qt6.10 compilation failing with ui/gl/buildflags.h: No such file or directory

    Unsolved
    3
    1 Votes
    3 Posts
    184 Views
    M
    Encountered this same issue on x86_64 with Qt6.8 (from Conan) with the following settings: [settings] arch=x86_64 compiler=gcc compiler.libcxx=libstdc++11 os=Linux compiler.version=11 compiler.cppstd=23 OpenGL dev package is already installed via: sudo apt-get install build-essential libgl1-mesa-dev
  • [Qt 6.9+]: -kisak-mesa parsing error on configure

    Solved
    2
    0 Votes
    2 Posts
    107 Views
    0
    So, my problem was that Mesa installed from repository and it was fixed by adding -no-sbom in configure
  • deploying from Visual Studio - options to windeployqt

    Unsolved
    4
    0 Votes
    4 Posts
    210 Views
    Christian EhrlicherC
    @JonB said in deploying from Visual Studio - options to windeployqt: He is saying there is an option to windeployqt I was still asleep :) qt_generate_deploy_app_script() takes DEPLOY_TOOL_OPTIONS where you can pass it. If there is an ui element in the VS Addin - don't know, don't use this.
  • Most additional libraries don't appear in maintenance tool in Qt 6.9.0

    Moved Unsolved
    3
    0 Votes
    3 Posts
    184 Views
    GrecKoG
    Because the maintenance tool only show modules for the latest supported releases and preview by default (+ your already installed modules). You need to enable the Archive category to view older module. In my maintenance tool it's in a Category tab on the right, in yours maybe it's in the "Show" combo box.
  • Qt creator can not parse cmake version after update from Qt 6.5.3 to Qt 6.7.2

    Unsolved
    11
    0 Votes
    11 Posts
    4k Views
    S
    I had the same problem when I was trying to debug my app and gdb stopped responding, so I closed QtCreator (version 17.0.2) and apparently instead of properly closing and writing its settings as it usually does, it crashed and botched some file(s). After opening QtCreator again both system CMake (I'm on Linux Mint 22.2) and qt-bundled one were showing "version not parseable". Running qtcreator -temporarycleansettings as was suggested above didn't have this issue. So in my case the issue apparently was caused by ~/.config/QtProject/QtCreator.ini inside which there was a section [%General] DefaultFileEncoding=@ByteArray(UTF-8) DefaultLineTerminator=1 LastPreferencePage=K.CMake.Tools OverrideCodecForLocale=@ByteArray(037) OverrideLanguage=C SortCategories=false After I removed this section and opened QtCreator again, everything was fine. So I guess this incorrect section somehow messed with QtCreator parsing its .ini Also interesting that along with this incorrect section there was also normal correct [General] section, and it had no keys/values like the incorrect one.