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
  • Problem with online Qt installer ?

    Moved Unsolved
    21
    0 Votes
    21 Posts
    4k Views
    M
    Remaining is: how can the installer process silently crash and pull the entire linux "system" (wsl) into the abyss?
  • Downloading qt-enterprise-linux-x64-6.5.6.run

    Unsolved
    8
    0 Votes
    8 Posts
    695 Views
    Christian EhrlicherC
    @Pl45m4 said in Downloading qt-enterprise-linux-x64-6.5.6.run: Is usdp an official Qt Host?! I don't know nor do I care :)
  • Detected locale "C" with character encoding "ANSI_X3.4-1968"

    Solved
    4
    0 Votes
    4 Posts
    5k Views
    jsulmJ
    @turmoiloil said in Detected locale "C" with character encoding "ANSI_X3.4-1968": why am i still getting this error Looks like Qt does not support C.UTF-8. How did you install Qt?
  • QT Installation Error (6.8) on Windows 11

    Moved Unsolved
    2
    0 Votes
    2 Posts
    281 Views
    jsulmJ
    @DelayedNeutronss Try another mirror. See here how to do this: https://wiki.qt.io/Online_Installer_4.x ("Selecting a mirror for opensource")
  • Installing different QT versions from Maintenance tool

    Solved
    6
    0 Votes
    6 Posts
    659 Views
    SGaistS
    You're welcome ! Since you have it working now, please mark the thread as solved using the "Topic Tools" button or the three dotted menu beside the answer you deem correct so that other forum users may know a solution has been found :-)
  • Qt 6.8 Visual Studio 22 VS Addin

    Unsolved
    1
    0 Votes
    1 Posts
    202 Views
    No one has replied
  • Building Qt 6.6.3 from source on WSL Ubuntu 22.04

    Unsolved
    2
    0 Votes
    2 Posts
    240 Views
    N
    Compiler: GCC 11.04
  • Run the application with Debug error with static library

    Unsolved
    11
    0 Votes
    11 Posts
    869 Views
    jsulmJ
    @DQUY05 said in Run the application with Debug error with static library: Is there something wrong with the static library add operation You're not linking the library which contains tesseract::TessBaseAPI. Check the build log for warnings about incompatible library.
  • Linker error in build Qt 5.15 for Windows

    Unsolved
    9
    0 Votes
    9 Posts
    1k Views
    S
    If you still have the old folder where you compiled, it will be a lot faster because make will just skip the things that have already been built. On the other hand, ther might also be some defines which are added, so I'm not entirely sure if this triggers a full rebuild (or should retrigger, but doesn't). You'll only be on the safe side when you do a fresh compile.
  • This topic is deleted!

    Unsolved
    2
    0 Votes
    2 Posts
    13 Views
  • Just installed Qt 6.8 and this happens...

    Unsolved
    3
    0 Votes
    3 Posts
    696 Views
    L
    I found the issue, my brand-new Fedora 41 install didn´t had Mesa and Vulkan developer libraries installed, and Qt generated that totally not-useful error message...
  • Visual Studio 2022 default qt projects refuse to work

    Unsolved
    1
    0 Votes
    1 Posts
    196 Views
    No one has replied
  • 0 Votes
    2 Posts
    368 Views
    hskoglundH
    Hi, using a Qt5 platform plugin for a Qt6 app does not work as you noticed. Also mixing Qt 6.8 and 6.4 is a bad idea. If you're out of disk space for installing Qt 6.8, using the default Qt 6.4.2 that comes with Debian 12 is probably your best bet.
  • Boot2qt for Raspberry pi 4

    Unsolved
    9
    0 Votes
    9 Posts
    989 Views
    S
    @jsulm Oke thanks for all the help
  • Commercial sources for 6.8

    Unsolved
    2
    0 Votes
    2 Posts
    290 Views
    Christian EhrlicherC
    You should ask the Qt Company - this is a user driven forum which has nothing to do with any commercial things.
  • Using static Qt for project with MinGW64

    Unsolved
    7
    0 Votes
    7 Posts
    837 Views
    Christian EhrlicherC
    @Umbrecht said in Using static Qt for project with MinGW64: C:\msys64 Don't mix MinGW and MSys.
  • App crashes because of one translation

    Unsolved
    5
    0 Votes
    5 Posts
    483 Views
    S
    It looks a lot like you are on macOS. By default menu entries will be rearranged to their "proper" position on macOS if they match a specific string. "Einfügen" is certainly such a string. And it is a single menu action and not a submenu. I know there is a switch in Qt to turn it off, but I couldn't find it right away.
  • Failed to create wl_display when starting Qt wayland compositor

    Solved
    2
    0 Votes
    2 Posts
    2k Views
    S
    From what I have found out the fancy compositor can either be run with the eglfs backend not requiring another running wayland display server using another running wayland display server and attaching to it to run on top of it. Note: check what wayland servers are already running and then must create a new one when launching the custom Qt compositor. On the stm32mp1 for example a wayland server 'wayland-0' was started once but is now now working correctly anymore so do not attach to it. We also have a 'wayland-1' server running and a 'wayland-1.lock' in the /home/Weston folder. Therefore you should attach your custom compositor to wayland-1 but not name it wayland-1. Either pass it on the command line when starting ./fancy-compositor --wayland-socket-name 'nested-compositor' Or specify in the QML code WaylandCompositor { id: waylandCompositor socketName: "wayland-nested" And then for running it use the wayland-1 server WAYLAND_DISPLAY=wayland-1
  • Get error in qtdepoly.targets at version 6.6.2 and 6.7

    Unsolved
    4
    0 Votes
    4 Posts
    555 Views
    I
    Also happens in 6.6.3 // Run windeployqt // --> <PropertyGroup> <Cmd><![CDATA["$(QtToolsPath)\windeployqt.exe"]]></Cmd> <Cmd>$(Cmd) --list target</Cmd> <Cmd>$(Cmd) @(Args->'%(Identity)',' ')</Cmd> <Cmd>$(Cmd) @(PosArgs->'%(Identity)',' ')</Cmd> </PropertyGroup> <Message Importance="high" Text="Qt Deploy: $(Cmd)" /> <Exec Command="$(Cmd) > &quot;$(QtDeployLog)&quot;" EnvironmentVariables="$(QtDeployEnv)" /> <!-- /////////////////////////////////////////////////////////////////////////////////////////////// // Read deploy log into QtDeployed list // --> <ReadLinesFromFile File="$(QtDeployLog)"> <Output TaskParameter="Lines" ItemName="QtDeployed" /> </ReadLinesFromFile> <ItemGroup> <QtDeployed Remove="@(QtDeployed)" Condition="!Exists('%(Fullpath)')"/> </ItemGroup> This part in the qtdeploy.targets is the cause. Apparently the first few outputs of windeployqt.exe are lines like this: Adding in plugin type generic for module: Qt6Gui Adding in plugin type iconengines for module: Qt6Gui ... before outputting one .dll/.qm file per line. <ItemGroup> <QtDeployed Remove="@(QtDeployed)" Condition="!Exists('%(Fullpath)')"/> </ItemGroup> Since this part cant resolve these lines to paths, it throws the error. That's the cause, but I'm also not good enough at Visual Studio/Qt magic to work around this. Is there a way to inject a step into this targets file to filter the first few lines? Or just skip that step? Edit: turns out the "--list target" parameter for windeployqt is specifically there to stop those Edit: https://bugreports.qt.io/browse/QTBUG-122257 has been reported and fixed as of 6.8 apparently, so I guess the only fix is going to a newer Qt Version.
  • Building Qt with eglfs and wayland

    Unsolved
    1
    0 Votes
    1 Posts
    334 Views
    No one has replied