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.5k Topics 50.0k Posts
  • Qt Installer Keeps Stop Working at the Installing Step

    Moved Unsolved
    2
    0 Votes
    2 Posts
    110 Views
    Axel SpoerlA

    Please start the maintenance tool from the command line, and post the output.
    Looks like you have to select another mirror.
    Check the documentation of the maintenance tool in the internet and find command line options.

  • How to fix this error

    Unsolved
    3
    0 Votes
    3 Posts
    162 Views
    Y

    @artwaw thank u so much for trying to help me out, but now after i reopened the app to see the compile output and send it here, i decided to try running it for the last time and see if it works, and it actually worked!
    thank you so much for you attempt 🙏

  • Compile Errors migrating from qt5.7 to qt6.7.2

    Unsolved
    5
    0 Votes
    5 Posts
    219 Views
    jsulmJ

    You should see which part of your code leads to these errors in the compiler output. Post the whole error messages, so others can check.

  • Can't install Qt 6.7.2 on llinux

    Solved
    7
    0 Votes
    7 Posts
    450 Views
    L

    Worked with http://www.nic.funet.fi/pub/mirrors/download.qt-project.org
    Thanks.

  • How to apply patch to source files?

    Solved
    5
    0 Votes
    5 Posts
    210 Views
    T

    Solution: If you have git installed, its actually very easy using the git cli. Qt sources don't even need to be added to version control for this.

    Open Terminal and Go to the Qt module the patch is for. E.g. the recent HTTP related patch is for QtBase, so go to that folder qtbase. Type command "git apply <patch-filename> -v" (-v is just so you can see the output)

    That's it!

  • Whats going on with QT and Redhat??

    Unsolved
    6
    0 Votes
    6 Posts
    660 Views
    Z

    @SGaist @JonB

    Finally figured out the correct combo to get me up at going.

    Redhat 8.10 doesn't throw this error when installing:

    Error during installation process (qt.qt6.653.gcc_64): Could not find the required QmakeOutputInstallerKey(qt.qt6.653.gcc_64_qmakeoutput) value on the installer object. The ConsumeOutput operation on the valid qmake needs to be called first.

    And sudo dnf install xcb-util-cursor fixed the xcb issue.

    Thanks again.

  • QtIFW add arguments to CreateShortcut operation

    Unsolved
    3
    0 Votes
    3 Posts
    327 Views
    P

    Seems that the answer is:

    component.addOperation("CreateShortcut", "@TargetDir@/My App.exe", "arg1 arg2", "@DesktopDir@/My App.lnk");

    I'd tried "arg1", "arg2" but that doesn't work.

  • 0 Votes
    3 Posts
    2k Views
    SeDiS

    Thanks! Your answer was most probably correct, but I've had additional issues that made it impossible to work with android, therefore all that mess. Upgrading Qt Creator and deleting AndroidSDK made it possible to do the Android stuff installation correctly. It finally works :-)

  • Trouble Building QMultimedia and FFMpeg on Debian x86_64

    Unsolved
    5
    0 Votes
    5 Posts
    221 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
    306 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
    183 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.

  • 0 Votes
    5 Posts
    2k 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.

    Qt-project-run-config.png

  • Qt Installation issues on windows

    Solved
    12
    0 Votes
    12 Posts
    936 Views
    A

    @Christian-Ehrlicher Tysm! Hv a great day!

  • Static Qt environment error using Qt5.15.0

    Unsolved
    14
    1 Votes
    14 Posts
    3k 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
    996 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 ????

  • 0 Votes
    5 Posts
    1k Views
    cristian-adamC

    In order to find out if Qt Creator for some reason has some borked settings in "%appdata%\QtProject\qtcreator you can start:

    $ C:\Qt\Tools\QtCreator\bin\qtcreator.exe -temporarycleansettings
  • Installation from this IP address is not allowed

    Moved Unsolved
    9
    0 Votes
    9 Posts
    456 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
    380 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
    438 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!

    arm-none-eabi-gdb-py_works.png