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
  • 0 Votes
    9 Posts
    7k Views
    G
    @MGhsw Hi I have the same problem. It's quite a long time but can you remember what you did to solve this, I can't find the solution in QTCREATORBUG-20829
  • Segmentation fault when running online installer

    Solved
    6
    0 Votes
    6 Posts
    1k Views
    hskoglundH
    Hi, yeah this shows that it's not only in Windows you'll experience "DLL hell". How to possibly detect it: in your ldd almost all of the .dll/.so files are located in the /lib/x86_64-linux-gnu directory except ld-linux-x86-64.so.2 and libxkbcommon.so.0. Perhaps you've installed some other package that as a bonus installs a (bad?) version of libxkbcommon.so.0 in /usr/local/lib.
  • How to install qt 5.15 from qt 5.12?

    Unsolved
    7
    0 Votes
    7 Posts
    750 Views
    Z
    Ok I resolve it sorry. Good Afternoon.
  • Qt Creator reinstall?

    Solved
    5
    0 Votes
    5 Posts
    2k Views
    T
    @J-Hilk said in Qt Creator reinstall?: @sierdzio said in Qt Creator reinstall?: he maintenance tool does not allow to uninstall Qt Creator, you have to uninstall everything (all Qt versions, tools and creator). You're technically correct, which is the best kind of correct! But I don't like to be forced in to boxes, so let me reshare how to circumvent this issue: https://forum.qt.io/topic/80086/qt-creator-4-3-0-stability/13 It worked! Sharing your solution here: Open commandprompt -> cd to Qt Installation folder MaintenanceTool.exe --no-force-installations I first unselected it, and went ahead with uninstall. Again got a bunch of errors about missing scripts/files. Exited the installer. Ran Qt Maintenance Tool again (using same method), this time selected Qt Creator and the Qt sources I wanted. Everything installed fine, No errors at Qt Creator startup, all Kits are showing up properly in Qt Creator as well.
  • Compiling Qt 6.2.3 on Ubuntu (either arm64 or x86_64)

    Solved
    5
    0 Votes
    5 Posts
    1k Views
    B
    @Paul-Colby That worked! :) Thanks a bunch!
  • Building Qt 5 from Git to get PySide2 (QtQuick 2.15) for Nvidia Jetson Arm64

    Solved
    3
    0 Votes
    3 Posts
    747 Views
    SGaistS
    Hi and welcome to devnet, Glad you could build it but your solution sounds wrong. Adding these changes to your bashrc means that everything you start from the command line will be influenced by them. A more long term approach (and usually recommended when using python) would be to create a virtual environment for your project so you can have everything stored in one place.
  • Linux online installer fails: Network Error, ssl cert problem

    Solved
    11
    1 Votes
    11 Posts
    3k Views
    P
    Hi @poncho524 , I got the same error but running this command does not resolve this issue . [2483] Warning: LicenseManager: Ssl error: "The root certificate of the certificate chain is self-signed, and untrusted" [6501] Warning: Network error: [ QNetworkReply::InternalServerError ] "Failed to connect to server. Check your network connection and try again." [6501] Warning: Failed to connect to server. Check your network connection and try again. what could be the problem ? any other solution ?
  • QML file without Design

    Unsolved
    4
    0 Votes
    4 Posts
    595 Views
    D
    I still have a problem. In Qt6 an QML Designer everything is ok. But I must use Qt5 to my application, so when I created project in Qt5 and open Designer: I do not see my window in designer. three windows are open with setting according with main.qml What can be wrong ?
  • 0 Votes
    3 Posts
    259 Views
    H
    @SGaist it is right, when I add '--xcb' in ./ configure, it works
  • Qt 6.4.0 offline installer for Windows incomplete

    Moved Unsolved
    4
    0 Votes
    4 Posts
    619 Views
    M
    FYI: the release team fixed this issue and the installer is now complete with all its components.
  • Where is the source file of the QModbusDevice doc?

    Solved
    7
    0 Votes
    7 Posts
    533 Views
    SGaistS
    You're welcome. Note that GitHub is a mirror of the official sources.
  • CMake: Detect platform MacOS. How?

    Solved
    2
    0 Votes
    2 Posts
    2k Views
    B
    Solution found. Issue closed. There need to be added in CMake file something like this: if(IOS) if(${CMAKE_OSX_SYSROOT} MATCHES "iphonesimulator") if (${CMAKE_OSX_ARCHITECTURES} MATCHES "arm64") message("-- iOS Build for simulator arm64") elseif(${CMAKE_OSX_ARCHITECTURES} MATCHES "x86_64") message("-- iOS Build for simulator x86_64") endif() elseif(${CMAKE_OSX_SYSROOT} MATCHES "iphoneos") message("-- iOS Build for iphone") else() message(FATAL_ERROR"-- iOS undefined build") endif() elseif(ANDROID) if(${ANDROID_ABI} STREQUAL "x86_64") message("-- Android Build for x86_64") elseif(${ANDROID_ABI} STREQUAL "x86") message("-- Android Build for x86") elseif(${ANDROID_ABI} STREQUAL "armeabi-v7a") message("-- Android Build for armeabi-v7a") elseif(${ANDROID_ABI} STREQUAL "arm64-v8a") message("-- Android Build for arm64-v8a") else() message(FATAL_ERROR "-- Android undefined build") endif() elseif(${CMAKE_OSX_SYSROOT} MATCHES "\/MacOSX.platform\/Developer\/SDKs") message("-- MacOS Build") else() message(FATAL_ERROR "-- Undefined build") endif() or use this: if(IOS) if(${CMAKE_OSX_SYSROOT} MATCHES "iphonesimulator") if (${CMAKE_OSX_ARCHITECTURES} MATCHES "arm64") message("-- iOS Build for simulator arm64") elseif(${CMAKE_OSX_ARCHITECTURES} MATCHES "x86_64") message("-- iOS Build for simulator x86_64") endif() elseif(${CMAKE_OSX_SYSROOT} MATCHES "iphoneos") message("-- iOS Build for iphone") else() message(FATAL_ERROR"-- iOS undefined build") endif() elseif(ANDROID) if(${ANDROID_ABI} STREQUAL "x86_64") message("-- Android Build for x86_64") elseif(${ANDROID_ABI} STREQUAL "x86") message("-- Android Build for x86") elseif(${ANDROID_ABI} STREQUAL "armeabi-v7a") message("-- Android Build for armeabi-v7a") elseif(${ANDROID_ABI} STREQUAL "arm64-v8a") message("-- Android Build for arm64-v8a") else() message(FATAL_ERROR "-- Android undefined build") endif() elseif(APPLE) if(${CMAKE_SYSTEM_PROCESSOR} STREQUAL "x86_64") message("-- MacOS Build for x86_64") elseif(${CMAKE_SYSTEM_PROCESSOR} STREQUAL "arm64") message("-- MacOS Build for arm64") else() message(FATAL_ERROR "-- MacOS undefined build") endif() else() message(FATAL_ERROR "-- Undefined build") endif()
  • Compiling Qt6 fails

    Solved
    3
    0 Votes
    3 Posts
    789 Views
    C
    @jsulm I see, I'll try limiting it to 6 cores now
  • Error running app in Linux (static bulid)

    Unsolved
    9
    0 Votes
    9 Posts
    1k Views
    M
    This looks to be a regression. I found a similar post on this forum (can't find it now; if I do, I will link it). The solution was to update Qt. Essentially the "./configure" application had a bug in which it would not properly build a static version of Qt. This individual was on 5.12.x, and updating to 5.12.x+1 resolved their issue. For me, I updated to Qt 6.3.2 and the issue was gone. It is possible this was fixed in 5.15.3, 5.15.4, 5.15.5 or 5.15.6, but I didn't want to spend any more time on it. Hope this helps someone.
  • This topic is deleted!

    Unsolved
    3
    0 Votes
    3 Posts
    100 Views
  • "pip install pyqt5" gives tons of errors. Why?

    Unsolved
    8
    0 Votes
    8 Posts
    19k Views
    R
    the same problem I found any solution Python 3.7
  • This topic is deleted!

    Unsolved
    1
    0 Votes
    1 Posts
    6 Views
    No one has replied
  • Cant install qt on centos9

    Unsolved centos9
    3
    0 Votes
    3 Posts
    1k Views
    L
    On Rocky9, at least, which is a RedHat 9 clone, the libxcb-icccm.so.4 is available in the xcb-util-wm package, sudo yum install xcb-util-wm.
  • single bundle (.aab file) with builds for multiple architectures

    Unsolved
    10
    0 Votes
    10 Posts
    2k Views
    H
    @morte said in single bundle (.aab file) with builds for multiple architectures: multi-arch Android AAB Multi ABIs are back https://www.qt.io/blog/android-multi-abi-builds-are-back
  • Install QT Creator 4.7.4 on ubuntu 20.04

    Unsolved
    2
    0 Votes
    2 Posts
    733 Views
    JonBJ
    @capitangazzella Before you bother to do this, have you tried the Qt Creator released with Ubuntu 20.04? I think that's 4.x. It's just a sudo apt install qtcreator command to install! The exact version of Qt Creator --- unlike Qt itself --- is often not so vital. Meanwhile I don't know how you installed Qt itself on your 20.04. Did you build anything? I never have done so, I take the Qt & Creator versions which come with each Ubuntu release and they have been fine. Unless you want the very latest versions, which it does not sound like you do.