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 50.8k Posts
QtWS25 Last Chance
  • Trouble Building QMultimedia and FFMpeg on Debian x86_64

    Unsolved
    5
    0 Votes
    5 Posts
    406 Views
    M
    @SGaist ; @Christian-Ehrlicher you guys are the best. FFMpeg-6.1.1 links and compiles with QT just fine! Thank you very much again.
  • Qt 6.7.2 can't find OpenGL::GL

    Unsolved
    2
    0 Votes
    2 Posts
    610 Views
    T
    I tried to create a minimal CMake project, which uses OpenGL - it does find it well. This is the output: "-- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/cc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /usr/bin/c++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done CMake Warning (dev) at /usr/share/cmake-3.23/Modules/FindOpenGL.cmake:315 (message): Policy CMP0072 is not set: FindOpenGL prefers GLVND by default when available. Run "cmake --help-policy CMP0072" for policy details. Use the cmake_policy command to set the policy and suppress this warning. FindOpenGL found both a legacy GL library: OPENGL_gl_LIBRARY: /usr/lib/aarch64-linux-gnu/libGL.so and GLVND libraries for OpenGL and GLX: OPENGL_opengl_LIBRARY: /usr/lib/aarch64-linux-gnu/libOpenGL.so OPENGL_glx_LIBRARY: /usr/lib/aarch64-linux-gnu/libGLX.so OpenGL_GL_PREFERENCE has not been set to "GLVND" or "LEGACY", so for compatibility with CMake 3.10 and below the legacy GL library will be used. Call Stack (most recent call first): CMakeLists.txt:14 (find_package) This warning is for project developers. Use -Wno-dev to suppress it. -- Found OpenGL: /usr/lib/aarch64-linux-gnu/libOpenGL.so -- Configuring done -- Generating done" I also tried adding set(OpenGL_GL_PREFERENCE GLVND) and set(OpenGL_GL_PREFERENCE LEGACY)
  • This topic is deleted!

    Unsolved
    1
    0 Votes
    1 Posts
    28 Views
    No one has replied
  • 0 Votes
    4 Posts
    344 Views
    SGaistS
    I haven't use the plugin myself but from my understanding you should have the project already configured for MSBuild and it should be possible to build it from the command line using MSBuild.exe.
  • Qt 5.15.0 Android apk deployment failure

    Solved apk qt 5.15 qt creator gradle
    5
    0 Votes
    5 Posts
    3k Views
    ad1170A
    I had the same issue. In my case, it was a wrong run configuration. (left pane) "Projects" -> "Build & Run" -> "Run" -> "Run" -> "Run configuration:" Make sure the you have selected the right configuration. [image: 50cf3394-cbe9-4c6e-93c5-7a56884a9756.png]
  • Qt Installation issues on windows

    Solved
    12
    0 Votes
    12 Posts
    2k Views
    A
    @Christian-Ehrlicher Tysm! Hv a great day!
  • Static Qt environment error using Qt5.15.0

    Unsolved
    14
    1 Votes
    14 Posts
    4k Views
    J
    I also may have posted this in the wrong thread. I thought I was posting it in one of the many threads reporting an identical error. This thread appears to have been reporting a similar qt build issue. Too many threads with too many qt build issues
  • Qt project failing compilation with no discernible error

    Solved
    11
    0 Votes
    11 Posts
    1k Views
    S
    @Karlovsky120 & @JonB , same error when i compile my project in msvc_2019 compiler(qt creator 13.0.1) with qt version 6.7.1 . I do the some library that needed but also having same error . How to solved ????
  • Installation from this IP address is not allowed

    Moved Unsolved
    9
    0 Votes
    9 Posts
    762 Views
    S
    Open source (under the GPL/LGPL) only means that if someone gives you the binaries they must also provide the source code. There is no obligation to provide anyone with the binaries (or even the source code). Everybody is free to choose to whom they want to give GPL/LGPL software. As @Christian-Ehrlicher already mentioned the Qt source can be found on GitHub. You can even compile a full Qt from that (which is a little more trouble than just using the installer). I assume that you even need to build the docs. Though you can easily access all the docs at docs.qt.io (assuming this is not also blocked for Russia). There used to be tools to download whole webpages (following all links) for offline reading. If these kind of tools still exist you could grab the full docs from their website. BTW, there is no offline installer for the open source version anymore.
  • Getting make errors while compiling in Ubuntu

    Unsolved
    6
    0 Votes
    6 Posts
    555 Views
    G
    update for anyone else this affects: after installing openssl-3.3.1 form source, I also had to add /usr/local/lib64 to the ldconfig search path (sudo ldconfig /usr/local/lib64). This is the default openssl-3.3.1 install location and had not been used by anything else on my Debian 11.3 system
  • lacks python27.dll

    Unsolved
    9
    0 Votes
    9 Posts
    792 Views
    cristian-adamC
    But, if you install https://www.python.org/ftp/python/2.7.18/python-2.7.18.msi then you will get arm-none-eabi-gdb-py.exe starting! [image: fd2fa350-06a1-4bb0-8e41-5df957dd4a35.png]
  • Build Error with Qt 6.7.1 MSVC2019 64bit Kit

    Unsolved
    1
    0 Votes
    1 Posts
    185 Views
    No one has replied
  • 0 Votes
    4 Posts
    570 Views
    cristian-adamC
    If you are using CMake to build your Qt Application, you could think of using cpack. In the cpack generators you have both NSIS and the Qt Installer Framework (IFW), and also WIX. See also Qt's CMake deployment API for more details.
  • How to install sqldriver for Oracle 11gR2 for Qt5.12 in CentOS 7.

    Unsolved
    6
    0 Votes
    6 Posts
    345 Views
    Christian EhrlicherC
    You still don't follow the instructions... You need the source code to compile something.
  • Can't install the stand-alone Qt Designer on Ubuntu 24.04

    Unsolved
    5
    0 Votes
    5 Posts
    3k Views
    SGaistS
    If memory serves well, that's where QtChooser comes into play.
  • This topic is deleted!

    Unsolved
    4
    0 Votes
    4 Posts
    21 Views
  • Qt6 WebEngine in Qt 5.15

    Unsolved
    3
    0 Votes
    3 Posts
    197 Views
    MitsuriouM
    @YordanBonev Hello, did you find anything for this particular subject? The company I am working for is stuck in Qt5.15 for a while, but I need to have a more recent Chromium version. Version 87 mainly lacks a lot of features from modern CSS, for us.
  • Creating a Visual Studio Project of qtbase for QT 5

    Solved
    8
    0 Votes
    8 Posts
    499 Views
    S
    Your original problem most likely stems from the fact that you didn't have MSVC properly set up in your command line. One way is to start the Developer Command Prompt for your Visual Studio version and execute qmake.exe inside that prompt. Another way is to call something like call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Auxiliary\Build\vcvarsall.bat" amd64 on your command line to set up MSVC and after that call qmake.exe.
  • Building QT source stuck in the configure stage

    Unsolved
    9
    0 Votes
    9 Posts
    430 Views
    Christian EhrlicherC
    where make.exe, where sh.exe and where bash.exe willshow you from where it's picked up
  • Error when trying to install on Windows 7

    Solved
    6
    0 Votes
    6 Posts
    754 Views
    D
    Thanks that is working.