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.6k Topics 50.2k Posts
  • 18 Votes
    1 Posts
    21k Views
    No one has replied
  • How to ignore vc_redist error 1638?

    Solved
    2
    0 Votes
    2 Posts
    361 Views
    G

    It turns out that the required name is not listed in the documentation. The following gets the expected result:

    installer.setMessageBoxAutomaticAnswer("installationErrorWithCancel", QMessageBox.Ignore);

    I discovered this by inspecting the source and knowing how it works I see that the clue for this is this line in the log:

    installationErrorWithCancel : Installer Error : Error during installation process (com.microsoft.vcredist):
  • Login required for installation

    Unsolved
    10
    2 Votes
    10 Posts
    11k Views
    Q

    Build from source. Manually add qmake.exe path to Qt Versions in Preferences:Kits.

    f4e70df4-bfcc-4da9-8eff-6a39fa758917-image.png

    Enjoy.

  • QT Installer Only Showing QT Insights in "Select Components"

    Unsolved
    2
    0 Votes
    2 Posts
    729 Views
    R

    This seems to have been fixed by changing my mirror to "http://qt.mirror.constant.com" as per a stack exchange post.

  • Packaging for Mac: macOS's tar seems to mess up binaries?!

    Unsolved
    8
    0 Votes
    8 Posts
    491 Views
    SGaistS

    I just realized something: Qt follows the same policies as Apple for backward compatibility. This means the current version of macOS and the two previous. So there might also be that to take into account for your own supported versions of macOS.

    Hence postpone a bit the retiring of Qt 5 for the people using older versions of macOS that you still would like to support.

    It's not unseen to have two versions (sometimes even more) versions of an application to support various flavors of macOS. Think PPC to x86_64 migration and now x86_64 to ARM migration.

  • Qt 5.15.16 - Failed to build without any specific reason

    Unsolved
    3
    0 Votes
    3 Posts
    366 Views
    SGaistS

    Hi,

    You should limit the build to one thread to see exactly where it is failing currently.

    Your full log is not available anymore.

  • 0 Votes
    2 Posts
    426 Views
    I

    Had the same issue.

    Running

    sudo apt install libgl1-mesa-dev

    solved it as suggested by this answer.

  • Macos ARM github deployment fails - need help

    Unsolved
    2
    0 Votes
    2 Posts
    66 Views
    SGaistS

    Hi,

    Did you already check the bug report system ?

    I have a vague memory seeing a thread on the Qt mailing list recently about a similar issue.

  • Building from source 6.8.1

    Unsolved
    3
    0 Votes
    3 Posts
    70 Views
    J

    Switch to vs2022
    dont forget to install atl
    then error on install, the prefix path must not have " " in name (im under windows remember)
    i had to disable webkit and webengine, ill try to reenable webengine after I get qtcreator to build

  • Network error while downloading

    Unsolved
    2
    0 Votes
    2 Posts
    159 Views
    M

    Try using a VPN and check whether you still get this issue.

  • PROBLEM IN DOWNLOADING QT OFFLINE SETUP

    Moved Unsolved
    2
    0 Votes
    2 Posts
    41 Views
    SGaistS

    Hi and welcome to devnet,

    Please turn off your caps lock. Writing all in upper case is considered shouting and rude in written language.

    Since a long time, the offline installer has become a feature only for commercial users.

  • Network error while downloading

    Solved
    28
    0 Votes
    28 Posts
    10k Views
    N

    Cannot be installed on macOS. A silly bug that hasn't been fixed for 1 year

  • 0 Votes
    8 Posts
    170 Views
    M

    The "dd" (line 3.) from soniksaint did the trick.

  • qt creator tesseract ocr problem

    Solved
    7
    0 Votes
    7 Posts
    134 Views
    K

    I found solution, the problem was - I make console app in qt creator with mingw compiler, but tesseract and leptonica was build by vcpkg with msvc compiler. When I try link them to console app then I got this error I post above.

    If I switch mingw in qt creator to msvc then these libs works all right. I also rebuild tesseract and leptonica with mingw and link them to console app also using mingw and it also work just fine.

    So it was my fault, I use another compiler to build app (mingw) and another to build libraries (msvc), but thanks for help, now everything works good and I can keep working on my application.

  • 0 Votes
    13 Posts
    308 Views
    KingWmK

    @SGaist said in Can't load sql drivers when configuring and building Qt 6.8.1 from source on linux/Ubuntu 24.04.1:

    On a side note, stop working as root. There's no need for that for any build activity.

    I have noticed a pattern and clearly I need to change a bad habit. Thank you.

  • Standalone qt app crashes on macos.

    Unsolved
    2
    1 Votes
    2 Posts
    47 Views
    SGaistS

    Hi and welcome to devnet,

    Can you share the exact message you are getting ?
    One path that looks strange is the one from the QtGui framework.

  • 0 Votes
    1 Posts
    42 Views
    No one has replied
  • 0 Votes
    1 Posts
    46 Views
    No one has replied
  • 0 Votes
    4 Posts
    96 Views
    SGaistS

    Which compiler are you using ?

  • Redirected loop detected....can't install. See screenshot

    Unsolved
    4
    0 Votes
    4 Posts
    127 Views
    R

    Finally got it working with this mirror

    .\installer.exe --mirror https://mirrors.ustc.edu.cn/qtproject/