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
  • 0 Votes
    6 Posts
    12k Views
    M

    This solves any display related issues from within docker containers
    docker run -it --name $CONTAINER_NAME --network host -e DISPLAY -e TERM -e QT_X11_NO_MITSHM=1 $IMAGE_NAME bash

  • 0 Votes
    4 Posts
    303 Views
    Y

    I am seeing similar if not the same issuing using Qt 6.7.3, the missing files are:

    libunwind.dll libc++.dll

    Copying those files from C:\Qt\6.7.3\llvm-mingw_64\bin fixes it.

  • build qt6 on arm64 debian10 or Ubuntu 18

    Unsolved
    11
    0 Votes
    11 Posts
    747 Views
    _

    @Christian-Ehrlicher: With Ubuntu's cross compiler "arm-linux-gnueabi-..." a build was possible, not yet tested on target.
    Thanks!

  • 0 Votes
    6 Posts
    4k Views
    J

    Came across the same issue today with Qt 6.7.2 on macOS Ventura when building my app with GCC 14.2.0 (in C++23 mode). That is, because Qt was built with Apple Clang (14.0.0) which does not set _GLIBCXX_USE_CXX11_ABI=1.

    Inline methods (like QString::toStdString, QVector::toStdVector, etc...) are fine because they are compiled with the same C++ ABI as used in the application.

    That does no longer seems to be the case, because QByteArray::toStdString() is not defined in its header.

    Just for reference, I get the following linker errors:

    Undefined symbols for architecture x86_64: "QByteArray::toStdString[abi:cxx11]() const", referenced from: QString::toStdString[abi:cxx11]() const in main.cpp.o ld: symbol(s) not found for architecture x86_64
  • 0 Votes
    3 Posts
    137 Views
    SGaistS

    Hi,

    In addition to what @Axel-Spoerl wrote: are you using the Windows Subsystem for Linux ?
    Since you mention KStars, they have a Windows build so why not use that one directly ?

  • 0 Votes
    8 Posts
    216 Views
    jsulmJ

    @mdebellis said in Finding a Kit for Basic Tutorial:

    I want to use QT with Python.

    In that case you should use PyQt (https://wiki.python.org/moin/PyQt) or PySide (https://wiki.qt.io/Qt_for_Python).
    The online installer you used is for C++ development.

  • qDebug() not working.

    Unsolved
    11
    0 Votes
    11 Posts
    375 Views
    JonBJ

    @davidwedel
    So it looks like maybe someone was playing with Qt and switched default debugging off and that's how it got released with this file in it, even if no Qt! :) Naughty Fedora people!

  • Cpack deployment error: file RPATH_SET that does not exist

    Unsolved
    2
    1 Votes
    2 Posts
    112 Views
    G

    What did you set to change the output directory of your libs?
    I'm having the same issue, can't change the output directory of the qt_generate_deploy_app_script. When I tried by setting CMAKE_INSTALL_LIBDIR, I get RPATH errors and can't make the package successfully.

  • Jetson Nano. QtWebView error.

    Unsolved
    2
    0 Votes
    2 Posts
    72 Views
    D

    is it there any incompatibility between Jetson Nano Hardware/Sofware and qtWebView? (aarch64+Ubuntu 18.04)

    Thanks for your answers.

  • 0 Votes
    2 Posts
    71 Views
    jsulmJ

    @Scarab said in Static Qt Error: Qt version is not properly installed, please run make install:

    "pass the relocatable flag to configure". I don't know how to do that either, there is no configure field in the Qt versions tab

    "configure" is the command you execute before you build Qt. You need to pass relocatable flag to configure before you actually build Qt.

  • server replied: Forbidden error

    Unsolved
    2
    0 Votes
    2 Posts
    81 Views
    JonBJ

    I think you just have to keep trying different mirrors. Are you claiming every one of them returns Forbidden? That would be different.

  • Failed to load EGL device integration "eglfs_kms_egldevice"

    Unsolved
    2
    0 Votes
    2 Posts
    94 Views
    SGaistS

    Hi and welcome to devnet,

    You should take a look at the content of the tests run by the configure script to see what exactly failed with regard to EGLFS.

    The NVIDIA forum might also contain some hints.

  • Module not found PyQt6

    Unsolved
    5
    0 Votes
    5 Posts
    434 Views
    SGaistS

    Then explicitly call the version of Python you want to use when executing your script.

    As for conda VS venv, it highly depends on your goal.
    You might also want to consider using something like uv that will help you manage your dependencies and environnement.

    Since you are starting fresh, I would recommend testing uv.

  • Cannot run qmake after static building Qt6.8

    Unsolved
    4
    0 Votes
    4 Posts
    153 Views
    SGaistS

    Hi,

    What does ~file qmake6 return ?

  • Fedora 40, update problem.

    Unsolved
    6
    0 Votes
    6 Posts
    343 Views
    D

    dnf -y update this morning.

    Skipped:
    qt5-qtbase-5.15.15-1.fc40.x86_64 qt5-qtwebengine-freeworld-5.15.17-1.fc40.x86_64

  • 0 Votes
    2 Posts
    5k Views
    S

    When configure Qt, did you add the following arguments?
    It seems that the package won't be built unless you explicitly use them.
    -eglfs -qpa wayland-egl -qpa xcb

  • 0 Votes
    5 Posts
    261 Views
    J

    Disabling the precompile headers by using the option "-no-pch" resolved this issue.

  • 0 Votes
    4 Posts
    125 Views
    FalsinSoftF

    Fortunately it seems that this bug has been fixed in Qt version 6.8.0

  • 2 Votes
    17 Posts
    44k Views
    R

    Just comment the line. It worked for me.

  • Within a Jupyter on NVIDIA AI Workbench

    Unsolved
    3
    0 Votes
    3 Posts
    150 Views
    D

    @jsulm SURE I will, thanks a lot...