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
  • Unable to build installer framework

    Solved
    4
    0 Votes
    4 Posts
    693 Views
    N
    @dondioci I build the qt installer framework is the same error ?
  • *still* having problems building Qt (static)

    Solved
    22
    0 Votes
    22 Posts
    4k Views
    mzimmersM
    I'm sorry, but it's been too long ago. There have been so many changes in Qt since then, it very well may work now, but my procedure works correctly, so I haven't been motivated to experiment. In fact, I don't think I'm even using github for my Qt source files any longer, but am obtaining them through the Qt maintenance tool. So, there are alternatives to my method.
  • Ubuntu 24.04: CMake couldn't find Qt6LinguistTools

    Unsolved
    3
    0 Votes
    3 Posts
    1k Views
    Grit ClefG
    Oh, yes, I've forgotten that.
  • Failing to build Qt 6.7.3 from source on Slackware 15.0

    Solved
    11
    0 Votes
    11 Posts
    927 Views
    snukS
    @Axel-Spoerl said in Failing to build Qt 6.7.3 from source on Slackware 15.0: I don’t know, the log doesn’t say that. When you try to compile Qt on an unsupported platform, you’re on your own. Slackware is particularly problematic, because it doesn’t resolve dependencies automatically. Since Qt fails compiling the Chromium 3rd party module, you could try whether there is a tutorial how to compile chromium on its own for Slackware and which packages are required for that. It would at least solve this problem. Can’t guarantee, that another problem will occur once QtWebengine works. Well, I was able to build QT6 6.8.2 without QtWebEngine, and the most of my projects working very well, but there is a issue with qt5compat. [ 1%] Generating ../../lib64/qt6/mkspecs/modules/qt_lib_core5compat_private.pri [ 1%] Built target Core5Compat_lib_pri [ 2%] Running syncqt.cpp for module: QtCore5Compat [ 2%] Generating version linker script for target Core5Compat [ 2%] Built target Core5Compat_version_script [ 3%] Built target Core5Compat_sync_headers [ 3%] Built target Core5Compat_autogen_timestamp_deps [ 3%] Automatic MOC for target Core5Compat [ 3%] Built target Core5Compat_autogen [ 4%] Generating prl file for target Core5Compat [ 5%] Generating pc file for target Qt6::Core5Compat [ 5%] Running AUTOMOC file extraction for target Core5Compat [ 5%] Running moc --collect-json for target Core5Compat [ 6%] Building CXX object src/core5/CMakeFiles/Core5Compat.dir/Core5Compat_autogen/mocs_compilation.cpp.o c++: error: unrecognized command-line option ‘-ftrivial-auto-var-init=pattern’ gmake[2]: *** [src/core5/CMakeFiles/Core5Compat.dir/build.make:99: src/core5/CMakeFiles/Core5Compat.dir/Core5Compat_autogen/mocs_compilation.cpp.o] Error 1 gmake[1]: *** [CMakeFiles/Makefile2:1331: src/core5/CMakeFiles/Core5Compat.dir/all] Error 2 gmake: *** [Makefile:146: all] Error 2
  • How to build qtbase-everywhere-src-6.5.4 only on windows using MingW64 ?

    Solved
    6
    0 Votes
    6 Posts
    662 Views
    Christian EhrlicherC
    You can choose how to use the openssl libs: https://doc.qt.io/qt-6/configure-options.html#ssl
  • Where to find silicon MAC Version of open source for QT Designer

    Unsolved
    14
    0 Votes
    14 Posts
    1k Views
    M
    ahhhhhh, now the fog in my head clears up slowly, Thanks!
  • configuring Qt to create android apps

    Unsolved
    7
    0 Votes
    7 Posts
    708 Views
    W
    OK, I'll try now. Thanks.
  • A debug error occurs after packaging and migration

    Unsolved
    6
    0 Votes
    6 Posts
    473 Views
    SGaistS
    Hi, One thing to do is use a tool such as Dependency Walker to ensure you have all the dependencies of your application in place. Which means also checking the dll/plugins of your dependencies.
  • eval to lgpl

    Solved
    5
    0 Votes
    5 Posts
    414 Views
    Q
    I opened a support ticket from my account, and they terminated the license. I was able to install the LGPL version.
  • Qt Installation

    Moved Unsolved
    22
    0 Votes
    22 Posts
    4k Views
    Axel SpoerlA
    Let's take one step back. This is a forum, where volunteers help each other for free. If you have an issue and you communicate with someone, the rule is to provide as much information as possible. Example; I asked if you have other drives on your PC. => "Yes" is the wrong answer. It doesn't help, it just wastes your time and mine. => The right answer is to tell exactly which drives you have. Since we are searching for a file, it may be a good idea that you copy the search command and start searching by yourself. A little co-operation is better than expecting to told every step. To your problem: As said before, you have selected to update Qt Creator. You have not selected a new installation. The installer has found Qt Creator 16.0.0, so it is on your PC. If you don't find it, there is something wrong on your PC that occurred after the installation. Maybe, as said before, a virus scanner has quarantined the executable. But you have to check that yourself with your virus scanner. The problem has nothing to do with Qt.
  • The Android version selection is not active in the trial version installer.

    Unsolved
    2
    0 Votes
    2 Posts
    282 Views
    jsulmJ
    @Kors Try another mirror. See https://wiki.qt.io/Online_Installer_4.x
  • No Qt Design Studio installation found

    Moved Unsolved
    7
    1 Votes
    7 Posts
    1k Views
    D
    Maybe it will help someone else. Personally, adding the "QmlDesigner" extension helped me.
  • QtInstaller and QtMaintainceTool failed in Windows11

    Solved
    15
    0 Votes
    15 Posts
    1k Views
    goldenhawkingG
    MSYS2 Qt is another idea, which provides all-in-one POSIX-like pacman packages , not only Qt 5/6 Included, but also libboost\opencv\gdal\fftw. The only problem is Web Engine does not support mingw64,. in MSYS2 you can fallback to a fresh version of WebKit.
  • 0 Votes
    9 Posts
    694 Views
    Axel SpoerlA
    This issue isn't related to Qt. Contact your internet provider or your network admin to fix it.
  • Deploying or installing Qt Assistant

    Unsolved
    5
    0 Votes
    5 Posts
    476 Views
    PerdrixP
    You mean manually copy assistant .exe from the Qt install dir to the application build directory and then qt deploy - surely there must be a more formal method than that D.
  • qtcreator won't run after update to 6.8.2: xcb error

    Solved
    9
    0 Votes
    9 Posts
    922 Views
    JonBJ
    @Tom-asso As @jsulm says. Do you want to examine why you need to set LD_LIBRARY_PATH, you ought not need to?
  • Not able to install Qt open source mac and Windows

    Unsolved
    2
    0 Votes
    2 Posts
    236 Views
    SGaistS
    Hi and welcome to devnet, Did you already try with a different mirror ?
  • Qt free space requirements

    Unsolved
    2
    0 Votes
    2 Posts
    282 Views
    SGaistS
    Hi and welcome to devnet, Did check for error messages in the kit settings ? As for the size, it depends a lot on what you selected. What do you have currently ? Beside multiple versions of Qt, are you installing multiple architectures ?
  • Failing to macdeployqt

    Unsolved
    13
    0 Votes
    13 Posts
    1k Views
    PerdrixP
    Found the file after quite a bit of digging. include(/Users/amonra/.vs/DSS/out/build/.qt/QtDeploySupport.cmake) include("${CMAKE_CURRENT_LIST_DIR}/DeepSkyStacker-plugins.cmake" OPTIONAL) set(__QT_DEPLOY_I18N_CATALOGS "qtbase") qt_deploy_runtime_dependencies( EXECUTABLE "/Users/amonra/.vs/DSS/out/build/DeepSkyStacker/DeepSkyStacker.app" DEPLOY_TOOL_OPTIONS -hardened-runtime )
  • Using cross-compilation for ARM64 in the Ubuntu 24.04 x86 environment

    Solved
    4
    0 Votes
    4 Posts
    1k Views
    S
    I have already resolved the issue and successfully cross-compiled for arm64 on Ubuntu 24.04 x86 using Qt6.8.2. I will provide my method. The configure command is as follows: ../Src/configure \ -prefix /home/ptc/Qt/6.8.2/arm64 \ -qt-host-path /home/ptc/Qt/6.8.2/gcc_64 \ -platform linux-g++ \ -device linux-aarch64-gnu-g++ \ -device-option CROSS_COMPILE=aarch64-linux-gnu- \ -no-opengl \ -skip qtopcua -skip qtwebengine -skip qtwebview -skip qtserialport -skip qtlocation \ -no-feature-brotli -no-feature-hunspell \ -- -DCMAKE_TOOLCHAIN_FILE=$HOME/Qt/6.8.2/toolchain/arm64-toolchain.cmake Before this, create a new toolchain.cmake file yourself. set(CMAKE_SYSTEM_NAME Linux) set(CMAKE_SYSTEM_PROCESSOR aarch64) set(CMAKE_C_COMPILER "/usr/bin/aarch64-linux-gnu-gcc") set(CMAKE_CXX_COMPILER "/usr/bin/aarch64-linux-gnu-g++") set(CMAKE_LINKER "/usr/bin/aarch64-linux-gnu-ld") set(CMAKE_AR "/usr/bin/aarch64-linux-gnu-ar") set(CMAKE_FIND_ROOT_PATH /usr/aarch64-linux-gnu) set(CMAKE_FIND_ROOT_PATH_MODE_PROGRAM NEVER) set(CMAKE_FIND_ROOT_PATH_MODE_LIBRARY ONLY) set(CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY) set(CMAKE_FIND_ROOT_PATH_MODE_PACKAGE ONLY) Next, you can follow my method to add the arm64-related dependencies on x86. $ sudo dpkg --add-architecture arm64 $ sudo vim /etc/apt/sources.list.d/ubuntu-arm64.sources Types: deb URIs: http://ports.ubuntu.com/ubuntu-ports/ Suites: noble noble-updates noble-security Components: main restricted universe multiverse Architectures: arm64 Signed-By: /usr/share/keyrings/ubuntu-archive-keyring.gpg $ sudo apt update $ sudo apt install -y libudev-dev:arm64 libmtdev-dev:arm64 Finally, execute the configure command.